Announcement Announcement Module
Collapse
No announcement yet.
Is it possible to pass HashMap to jspx's field:select? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is it possible to pass HashMap to jspx's field:select?

    I'd like to generate something like below using "field:select" and LinkedHashMap where map's key will be select's value (i.e. AL, etc) and map's value will be the select's label (i.e. Alabama, etc):

    <select name="state">
    <option value="">Select Sate</option>
    <option value="AL">Alabama</option>
    <option value="AK">Alaska</option>
    .
    .
    .
    </select>

    It seems easy and common but I'm unable to see example in the Roo's documentation.

    Thanks
    Last edited by SgtJoker; Jun 8th, 2012, 10:44 AM.
Working...
X