You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Robert Zeigler (Commented) (JIRA)" <ji...@apache.org> on 2012/02/06 18:53:59 UTC
[jira] [Commented] (TAP5-1839) Map property expression wrong
parsing
[ https://issues.apache.org/jira/browse/TAP5-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201427#comment-13201427 ]
Robert Zeigler commented on TAP5-1839:
--------------------------------------
You could also do something like:
{true: label('true'), false: label('false')}
With a method:
public String label(String key) {
return messages.get(key);
}
> Map property expression wrong parsing
> -------------------------------------
>
> Key: TAP5-1839
> URL: https://issues.apache.org/jira/browse/TAP5-1839
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Mihail Slobodyanuk
> Assignee: Robert Zeigler
>
> If define SelectModel as "model={true:${message:true}, false:${message:false}}" then this expression parsed as String, but not as map.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira