Hello, this is my first post.
I am new to groovy/grails and am trying to create a select box to toggle the locale.
My problem is basically I have a class called LocaleChangeFromURI with a function called localeChange. I want to have localeChange called whenever this select box is changed. My gsp is:
HTML Code:<g:form action="localeChange"> <g:select name="languageSelect" from="${['English', 'Espanol', 'Francais', 'Deutsch']}"/> <g:actionSubmit action="submit" value="${message(code: 'default.button.go')}" /> </g:form>
But this doesent work because I havent specified the LocaleChangeFromURI class. But how do I?
Any help would be great, thanks!


Reply With Quote
