Results 1 to 1 of 1

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

  1. #1
    Join Date
    Jun 2012
    Posts
    1

    Default 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 at 09:44 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •