tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-1495) tapestry expressions should support a map creation
Date Sat, 02 Apr 2011 15:50:05 GMT

    [ https://issues.apache.org/jira/browse/TAP5-1495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015040#comment-13015040
] 

Howard M. Lewis Ship commented on TAP5-1495:
--------------------------------------------

That's not the syntax I'd prefer, as it won't work well inside an XML document such as a Tapestry
template:  Maybe something more like JSON syntax.

{ 'a': b, 'c': d}

> 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

Mime
View raw message