on 01-21-2008 9:19 AM
Can anybody please guide me for runtime binding of checked property of checkbox group ?
I have a group of checkbox. I want to set checked property of that checkbox at runtime with the help of context variable . can any body give me proper code snippest for the same ?
There is no property named "checked".
Bind the "texts" property to a context attribute inside a node (cardinality 0:N, selection 0:N). Node elements will represent the check boxes, a check box is selected if the corresponding element is (multi-)selected in the node.
See also Javadoc:
The CheckBoxGroup UI element represents a multiple selection visualized as a group of checkboxes.
Data binding:
The property texts must be bound to an attribute Text living in a context node Values of cardinality 0..n and selection 0..n. The attribute Text must have a simple type like String.
The number of checkboxes is the size of node Values. The displayed texts are the values of attribute Text and the selection is the (multiple) selection of node Values. The check boxes are arranged into rows, the size of each row is limited by property colCount.
Events:
If a checkbox is toggled, the event onToggle is triggered. Event parameter checked contains the new state of the checkbox, property index contains the index of the toggled checkbox.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manish
This example will help http://help.sap.com/saphelp_nw70/helpdata/en/95/93fe1e71a2e44691b1f041e67f71aa/content.htm
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.