Revision history [back]

click to hide/show revision 1
initial version

answered 2010-11-04 09:27:20 +0800

Konsumierer gravatar image Konsumierer

Was that a joke? ;-)

I want to show the Label depending on the check-state of the Checkbox. I know of course that the visible attribute has to be boolean. What i want to know is: is there a way to automatically update this boolean value through binding, so that when the checked attribute of the Checkbox changes, the visible attribute of the Label updates automatically, without writing any code. I want it more or less to look like this, how it is possible in other GUI Frameworks:

<checkbox id="chkTiming" label="show?" />

<label value="is shown" visible="@{chkTiming.checked}" />
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More