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:21:04 GMT
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
> 
> 


Mime
View raw message