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] Created: (TAPESTRY-1406) read-only properties passed to subcomponents cause ognl/javassit errors.
Date Thu, 05 Apr 2007 21:06:32 GMT
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


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