on 10-31-2007 5:14 AM
Hi experts
In my first view i take one check box group with 6 checkboxes of 6 diff sports.
I want to display the selected checkboxes into 2nd screen.
plz give me suggestion
Hi Gurram,
Solution is based on the checkbox UI element and not on checkbox group UI element. It depends on you what is the requirement
You can make a node with 6 attributes of boolean types for 6 different sports. Create these attributes in the context of your component controller and map this node to both the views. And then map your checkboxes with these attributes.
In the first view (screen) you can set these attributes to true when the chexboxes are selected. And then in the 2nd view you can check the attributes, if the attribute is true, then you can create a checkbox dynamically with the label of the sport to which the attribute corresponds.
Hope this will solve your problem.
thanks & regards,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
for(int i=0; i<wdContext.node<nodename>().size();i++)
{
if(wdContext.nodeTab().isMultiSelected(i))
{
wdComponentAPI.getMessageManager().reportSuccess("element"i"selected");
}
else
{
wdComponentAPI.getMessageManager().reportSuccess("element"i"is not selected");
}
}
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.