[
https://issues.apache.org/jira/browse/TAP5-1495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014998#comment-13014998
]
Igor Drobiazko commented on TAP5-1495:
--------------------------------------
What is actually the use case?
Currently there is a coercion String->SelectModel:
<t:select value="paymentType" model="literal:cc=Credit Card,bt=Bank Transfer,
ca=Cash,pp=PayPal"/>
Maybe we could provide same for String -> Map
> tapestry expressions should support a map creation
> --------------------------------------------------
>
> Key: TAP5-1495
> URL: https://issues.apache.org/jira/browse/TAP5-1495
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Robert Zeigler
> Assignee: Robert Zeigler
>
> Currently, tapestry expressions support property access, method calls, null
> checks (?.), and quick list creation (['a',b,...]), but there is no support
> for map creation.
> It would be nice to be able to write:
> {a=>b,c=>d}
> to quickly and easily create maps.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira