on 03-03-2009 10:10 AM
HI
I have a checkbox group and by simple types iam able to bind text to it,actually i haven taken 3 checkboxes in group but when i binded that attribut to check box group and deploy it and run ,iam able to see only one check box,why is that happening,can you please solve it..
Thanks Rahul
Hi Rahul,
Why dont you create a simple type with multiple values in the enumeration. If you do so then you will automatically get multiple check boxes as soon as you bind the checkbox group with that simple type.
Please note that: You must bind the Checkbox group with the attribute which is under some node whose selection cardinality is 0:n or 1:n. Otherwise it will not allow you to bind the attribute.
I hope this helps you! If you need any further information please lett me know.
Thanks and Regards,
Pravesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Armin,
What do you mean by "value set of a DDIC type for its data binding.". Just try and bind any attribute which is under a context OR a context node whose selection cardinality is lets say 0:1 OR 1:1. it will never allow to bind any attribute which is under such a node.
I have tried this and therefore mentioned the same thing in the post. Kindly let me know what is wrong in this?
Thanks and Regards
Pravesh
Probably you mean RadioButtonGroupByKey. Here we are talking about CheckBoxGroup.
A CheckBoxGroup takes the selections from the multi-selection of a context node and the texts from an attribute inside this node.
A *ByKey UI element takes its values from the value set of a DDIC (data dictionary) type.
Armin
NOT FULLLY SOLVED
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
1. Take one checkBoxGroup .
2. Create one SimpleType and put its values in enumeration.
3. Bind simpleType to Context attribute further checkboxValue property to context
4. Write at WdDoinit : wdContext.currentContextElement().setAa("abc "); for default selection
4. Through Action compare if(text.equals("")) like this
Hope it help you
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
1. Take one checkBoxGroup .
2. Create one SimpleType and put its values in enumeration.
3. Bind simpleType to Context attribute further checkboxValue property to context
4. Write at WdDoinit : wdContext.currentContextElement().setAa("abc "); for default selection
4. Through Action compare if(text.equals("")) like this
Hope it help you
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Dont use check box by group. Instead create 3 individual check boxes.
Create 3 attributes of type boolean and bind to it. Use labels to bind text to the check box.
Jithin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
1. Take one checkBoxGroup .
2. Create one SimpleType and put its values in enumeration.
3. Bind simpleType to Context attribute further checkboxValue property to context
4. Write at WdDoinit : wdContext.currentContextElement().setAa("abc "); for default selection
4. Through Action compare if(text.equals("")) like this
Hope it help you
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.