Return-Path: Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: (qmail 18042 invoked from network); 6 Apr 2007 14:52:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Apr 2007 14:52:56 -0000 Received: (qmail 28767 invoked by uid 500); 6 Apr 2007 14:53:00 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 28757 invoked by uid 500); 6 Apr 2007 14:53:00 -0000 Mailing-List: contact dev-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tapestry development" Delivered-To: mailing list dev@tapestry.apache.org Received: (qmail 28748 invoked by uid 500); 6 Apr 2007 14:53:00 -0000 Delivered-To: apmail-jakarta-tapestry-dev@jakarta.apache.org Received: (qmail 28745 invoked by uid 99); 6 Apr 2007 14:53:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 07:53:00 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 07:52:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7142F714066 for ; Fri, 6 Apr 2007 07:52:32 -0700 (PDT) Message-ID: <5712770.1175871152424.JavaMail.jira@brutus> Date: Fri, 6 Apr 2007 07:52:32 -0700 (PDT) From: "Andreas Andreou (JIRA)" To: tapestry-dev@jakarta.apache.org Subject: [jira] Resolved: (TAPESTRY-1406) read-only properties passed to subcomponents cause ognl/javassit errors. In-Reply-To: <9781609.1175807192242.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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