grails set bean value from radio button

Posted by Jeff Storey on Stack Overflow See other posts from Stack Overflow or by Jeff Storey
Published on 2010-05-03T03:03:47Z Indexed on 2010/05/03 3:08 UTC
Read the original article Hit count: 306

Filed under:
|
|

I'm somewhat new to grails (not groovy though) and I'm working on a sample CRUD application. The issue I'm trying to solve is how to set a property on a bean based on a radio button before I update it in the database. Is the Form Helper http://www.grails.org/plugin/form-helper plugin the way to go? Will the bean have its value set regardless of if the button is actually clicked by the user or if it is left at its default value?

thanks, Jeff

© Stack Overflow or respective owner

Related posts about grails

Related posts about crud