You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Patrick Moore (JIRA)" <de...@tapestry.apache.org> on 2007/04/05 23:08:32 UTC
[jira] Updated: (TAPESTRY-1406) read-only properties passed to
subcomponents cause ognl/javassit errors.
[ 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