on 05-19-2005 10:41 AM
Hallo everybody
I have a context node with a few elements and UIelemets according to this context nodes elements (every node element has corresponding UIelement e.g. checkbox). I would like to bind the UIelement property with the property of corresponding node element.
Is that possible? When yes why can I that make?
Regards Bogdan
Message was edited by: Bogdan Rokosa
Hello Bodgan,
When you do a UI Binding, this is automatically done.
Regards,
Shubham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Armin
I know that I can binding to node element in design time:) but I hoped that ist that possible in run time:(
I would like show the user list (not in the table) with checkbox corresponding to the users. The list ist created dynamically, so i would like to bind the check property with an attribute of user. I have find one solution - during create the list i create dynamically a property in temporary node (for every created checkbox) und bind the check property with this created property. Uff that is a little embroiled description - sorry. That solution works, but is possibly better solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you want to achive the following?
You create a list of users, stored as node elements of a node with cardinality 0:N, right?
Now you want to have for each user a checkbox. When a checkbox is toggled, you want to change an attribute of the corresponding user.
One solution would be using a table with a CheckBox as table cell editor. Bind the CheckBox.onToggle event to an action. In the action handler, you can determine the node element (user) corresponding to the check box and the new state of the check box. This information may be used to change the user data accordingly.
The connection between the event parameter ("checked"), node element and action handler parameters may be defined using parameter mapping.
If you do not want to use a table, you could dynamically create checkboxes (in method wdDoModifyView()), but I would not suggest this.
Armin
Hi
I Think u have to give a value Attribute to the Checked Property of the Check Box Ui Elemnt and change it according to the Situation.
i.e make them check and unCheck.
The Value Attribute shuld be of typew boolean
With Wishes
Krishna kanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.