Return-Path: Delivered-To: apmail-pivot-user-archive@www.apache.org Received: (qmail 34893 invoked from network); 6 Feb 2011 18:21:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Feb 2011 18:21:34 -0000 Received: (qmail 74266 invoked by uid 500); 6 Feb 2011 18:21:34 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 74257 invoked by uid 500); 6 Feb 2011 18:21:33 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 74249 invoked by uid 99); 6 Feb 2011 18:21:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Feb 2011 18:21:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gk_brown@verizon.net designates 206.46.173.9 as permitted sender) Received: from [206.46.173.9] (HELO vms173009pub.verizon.net) (206.46.173.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Feb 2011 18:21:25 +0000 Received: from [172.17.74.163] ([unknown] [64.211.20.2]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LG700149KAK5I40@vms173009.mailsrvcs.net> for user@pivot.apache.org; Sun, 06 Feb 2011 12:21:05 -0600 (CST) From: Greg Brown MIME-version: 1.0 (Apple Message framework v1082) Content-type: multipart/alternative; boundary=Apple-Mail-2-881684816 Subject: Re: dynamic binding Date: Sun, 06 Feb 2011 10:21:04 -0800 In-reply-to: To: user@pivot.apache.org References: <99755EA3-0F73-47C1-9970-DE0DD518A742@verizon.net> Message-id: <8F3739CF-07E2-4477-B82D-0529C543CA5C@verizon.net> X-Mailer: Apple Mail (2.1082) --Apple-Mail-2-881684816 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Right now the tutorial is the best source of information. On Feb 6, 2011, at 10:15 AM, Luiz Gustavo wrote: > Hi Greg, thanks for the answer. > Where can I find more examples of dynamic binding using the ${} = sintax? >=20 >=20 >=20 > 2011/2/6 Greg Brown > The "selected" property doesn't currently fire change events, so you = can't bind to it. You can bind to the "state" property though, and use a = mapping function to convert it to a boolean. >=20 > On Feb 6, 2011, at 9:59 AM, Luiz Gustavo wrote: >=20 >> Hi! >>=20 >> I'm trying to use the following code, based on the dynamic binding = capability, but I'm getting an error: >>=20 >> >> >>=20 >> Error: >>=20 >> java.lang.IllegalArgumentException: "selected" is not a notifying = property. >>=20 >>=20 >> Can dynamic binding be apllyed to this case? If so, why am I getting = such error? >>=20 >> Luiz Gustavo S. de Souza >>=20 >> http://luizgustavoss.wordpress.com >>=20 >>=20 >=20 >=20 >=20 >=20 > --=20 > Luiz Gustavo S. de Souza >=20 > http://luizgustavoss.wordpress.com >=20 >=20 --Apple-Mail-2-881684816 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii Right now the tutorial is the best source of information.

On Feb 6, 2011, at 10:15 AM, Luiz Gustavo wrote:

Hi Greg, thanks for the answer.
Where can I find more examples of dynamic binding using the ${} sintax?



2011/2/6 Greg Brown <gk_brown@verizon.net>
The "selected" property doesn't currently fire change events, so you can't bind to it. You can bind to the "state" property though, and use a mapping function to convert it to a boolean.

On Feb 6, 2011, at 9:59 AM, Luiz Gustavo wrote:

Hi!

I'm trying to use the following code, based on the dynamic binding capability, but I'm getting an error:

<Checkbox buttonData="%lblConciliado" bxml:id="conciliado"/>
<ImageView bxml:id="conciliadoImg" image="@conciliado.png" visible="${conciliado.selected}"/>

Error:

java.lang.IllegalArgumentException: "selected" is not a notifying property.


Can dynamic binding be apllyed to this case? If so, why am I getting such error?

Luiz Gustavo S. de Souza

http://luizgustavoss.wordpress.com






--
Luiz Gustavo S. de Souza

http://luizgustavoss.wordpress.com



--Apple-Mail-2-881684816--