Hi all :)
First, thanks a lot to Jason for answering the previous question (checkbox grouping) so fast. Really helpful! :)
Now I'm creating one more component, a select box for gender, which should render something like this:
Gender: [Choose one... ][v]
In my Velocity template, I tried:
#tag(Select
"label=gender" "name=gender" "value=gender"
"listKey={' ', 'M', 'F'}"
"listValue={'Choose one...', 'Male, 'Female'}"
)
But, so far, no-no. I'm almost certain there's something wrong with the OGNL expressions, but reading the OGNL user's guide I couldn't find any evidence proving it. Any ideas? :)
[]'s
-cv
