Jul 8th, 2012, 05:15 AM
customize web view for integer field
Hi roo users !
Just making my first steps with roo and the MVC scaffolding. (jspx tags)
I am working on a simple asessment form and my entity needs to store an integer value but in the
UI this should be presented as a dropdown list where initially nothing is selected. So the model looks
something like this:
- please select
value : 1 should be displayed as "first option"
value : 2 should be displayed as "second option"
The example from the spring reference documentation "126.96.36.199 The options tag" looks good to me but
I am confused about the difference between "select" and "form:select" tags. The tags in the auto generated
jspx files use other tags <field:select> which do not support nested option elements as shown in the spring docs.
Can anyone provide me with an example that would work with my scenario ?
Tags for this Thread