tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Zeigler (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-1839) Map property expression wrong parsing
Date Mon, 06 Feb 2012 17:53:59 GMT

    [ 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

        

Mime
View raw message