> Thanks for your reply, but (“selected” is not a notifying property)

Ah. That would be a problem then.  :-)  It probably should be a notifying 
property, but in the meantime, you can use a mapping function as shown in the 
property binding example (you can write a function that maps the checkbox state 
to a boolean):

http://pivot.apache.org/tutorials/property-binding.html

> I want to know 2 things
>  
> 1.       Is there any link you can provide where I can go through the 
> properties or functions for controls like Buttons, radioButtons, checkbox 
> etc. I looked at the source code , but I could not figure out what properties 
> are supported for the controls

Pivot properties are just regular bean properties with getters and setters, so 
you can see what is supported by looking at the Javadoc:

http://pivot.apache.org/2.0/docs/api/

> 2.       In our use case, we need to have controls enabled and disabled 
> depending on another control in the same screen.
> To give you an example, if one radio button ‘one’ is selected the Next button 
> should be disabled, if ‘two’ is selected the Next button should be enabled 
> and ‘back’ should be diabled.
> I need to perform similar enabling and disabling depending on checkboxes, 
> textbox etc.

You can do this using property binding or you can do it in code by attaching 
listeners to the buttons directly.

G

Reply via email to