pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandro Martini <sandro.mart...@gmail.com>
Subject Re: Is that a way to check or uncheck a checkbox using data binding?
Date Mon, 24 Sep 2012 15:50:42 GMT
Hi,
(just to be sure) have you looked at this:
http://pivot.apache.org/tutorials/data-binding.html
and
http://pivot.apache.org/tutorials/property-binding.html
?

Ok, there isn't a checkbox example in both ... I'll try to add a
sample for this later.
Anyway, for example, try to add a boolean property in the bean backing the form.

And look at Button method:
    public State getState() {
to get the state (checked/unchecked) of the button ...

Sorry but at the moment I haven't more time ... tell me something.


Bye

Mime
View raw message