Announcement Announcement Module
No announcement yet.
Confused about actions Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Confused about actions

    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')}" />

    But this doesent work because I havent specified the LocaleChangeFromURI class. But how do I?

    Any help would be great, thanks!

  • #2
    Try the User mailing list at - there are a log more users there than on this forum.