tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Andreou (JIRA)" <...@tapestry.apache.org>
Subject [jira] Resolved: (TAPESTRY-1406) read-only properties passed to subcomponents cause ognl/javassit errors.
Date Fri, 06 Apr 2007 14:52:32 GMT

     [ https://issues.apache.org/jira/browse/TAPESTRY-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Andreou resolved TAPESTRY-1406.
---------------------------------------

    Resolution: Invalid
      Assignee: Andreas Andreou

Actually, the property name corresponding to isAValue() is AValue and not aValue.

There was a similar discussion at http://issues.apache.org/jira/browse/TAPESTRY-1239 .

> read-only properties passed to subcomponents cause ognl/javassit errors.
> ------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1406
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1406
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.1.2
>         Environment: latest snap
>            Reporter: Patrick Moore
>         Assigned To: Andreas Andreou
>         Attachments: errors.txt
>
>
> 1. Create a component that has a boolean method "isAValue()"
> 2. Try to pass the result of that method to a subcomponent like thus:
>     @Component(type="messages/BroadcastMessageEntry",
>             bindings = {
>                 "aValue=aValue"})
>     public abstract BroadcastMessageEntry getMessageEntry();
> This will fail (see attached file for exception):
> If the binding is changed to thus:
>     @Component(type="messages/BroadcastMessageEntry",
>             bindings = {
>                 "aValue=isAValue()"})
>     public abstract BroadcastMessageEntry getMessageEntry();
> It will work.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message