Thank you Greg!

2011/2/6 Greg Brown <gk_brown@verizon.net>
All property binding-related features were added in 2.0. In previous versions, callers needed to explicitly register event handlers to respond to property changes.

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

Greg, could you confirm an information to me, please? All the support for Property Binding (defined programmatically and/or using ${} sintax) is available since version 2.0, or just the ${} is available since the last version?

Thanks in advance!

2011/2/6 Greg Brown <gk_brown@verizon.net>
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






--
Luiz Gustavo S. de Souza

http://luizgustavoss.wordpress.com






--
Luiz Gustavo S. de Souza

http://luizgustavoss.wordpress.com