[
https://issues.apache.org/jira/browse/TAPESTRY-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship closed TAPESTRY-1265.
------------------------------------------
Resolution: Fixed
> Using Map as model for a Select, unexpected results
> ---------------------------------------------------
>
> Key: TAPESTRY-1265
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1265
> Project: Tapestry
> Issue Type: Bug
> Affects Versions: 5.0
> Reporter: Daniel Gredler
> Assigned To: Howard M. Lewis Ship
> Fix For: 5.0
>
> Attachments: map-to-select-model.patch
>
>
> I'm not sure if using Maps is supported for the model of a Select component,
> but when I use this Map:
> Map map = new TreeMap();
> map.put("id_a", "value_a");
> map.put("id_b", "value_b");
> map.put("id_c", "value_c");
> return map;
> I get this HTML (notice the two extraneous squiggly brackets):
> <select id="jurisdiction" name="jurisdiction"><option
> value="{id_a">value_a<option value="id_b">value_b<option
> value="id_c">value_c}</select>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]