Hi Jiujing,

On 26/03/2010 02:58 AM, Jiujing Gu wrote:
Hello,

I'm following the user guide.  When I tried the control listener type 1
example in Chapter 1.2, I got an error message. Please let me know
what did I do wrong.


Older versions of Click used public fields for autobinding. Click 2.1.0 introduced the @Bindable annotation but for backwards compatibility only binds public fields by default. To use @Bindable you need to configure Click's click.xml as follows:

<click-app>
  <pages package="examples.page" autobinding="annotation"/>
</click-app

I'll update the user-guide to reflect this.

kind regards

bob

Reply via email to