on 05-21-2008 2:18 PM
Hi,
I have created a check box Group
texts = Mydata.Interest.Interests
Mydata is a node , Interests is of type Simple type Interests.
It has 3 enumerations.
But when i run, I am able to see only one check box with out any text.
Where am i going wrong?
Regards,
lavanya
Hi,
You can use the following code.
String[] monthNames = new String []
{
"January", "February", "March", "April",
};
List Year = new ArrayList();
for (int i = 0; i < monthNames.length; ++i)
{
IPrivateWebdyn_tableView.IYearElement month = wdContext.createYearElement();
month.setAtt1(monthNames<i>);
Year.add(month);
}
wdContext.nodeYear().bind(Year);
Bind the Checkbox group element to the node attribute.
Thanks,
Madhavi A.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
if u r using string type attribute then use this code in init method
here abc is attribute name and ad is node name.
for (int i = 0; i < 5; ++i)
{
IPrivateCreateXmlView.IAdElement ele = wdContext.nodeAd().createAdElement();
wdContext.nodeAd().addElement(ele);
ele.setAbc("Name " + i);
}
Regards
Trilochan
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.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.