A friendly place for Java greenhorns!
Java
Ranch
»
JavaRanch Saloon
Search
|
FAQ
|
Recent Topics
|
Hot Topics
Register
/
Login
Java
Ranch
»
Forums
»
Application Frameworks
»
Other Application Frameworks
Author
[Grails] Why I'm getting this behavior with check box?
John Todd
Ranch Hand
Joined: Nov 08, 2003
Messages: 2005
posted
Jan 31, 2010 02:34:10
Hey,
I have a boolean property in a domain class.
I create this line in create.gsp
<g:checkBox id="billable" name="billable" value="${fieldValue(bean: maintenanceInstance, field: 'billable')}"/>
I checked the check box and submit the form, but I got this validation message (defined by me):
maintenance.billable.nullable=Billable should holds a number
Why I'm getting this?
Thanks for help and time.
Java
Ranch
»
Forums
»
Application Frameworks
»
Other Application Frameworks
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter