tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Moore (JIRA)" <...@tapestry.apache.org>
Subject [jira] Updated: (TAPESTRY-1406) read-only properties passed to subcomponents cause ognl/javassit errors.
Date Thu, 05 Apr 2007 21:08:32 GMT

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

Patrick Moore updated TAPESTRY-1406:
------------------------------------

    Attachment: errors.txt

exception stack + screen reported exception.

> 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
>         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