pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: dynamic binding
Date Sun, 06 Feb 2011 18:03:32 GMT
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
> 
> 


Mime
View raw message