on 09-09-2014 2:56 PM
Hi,
I have two boolean fields in my node: release_actif and release_admin.
I connected these to my table. In the result of the webservice, they are all false.
But when I show them in my table, they are all marked as true.
Am I doing something wrong? And do I make a radiobuttongroup to avoid people can select more than one value.
Here a few screenshots of my configuration:
Hi Tim
I think it is better to use checkbox in your case and not radio button.
It is easier to bind and nore suitable for booleans
Regards
Shai.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi tim ,
by default the value of a boolean value is always false , so when you have binded this to the table with radiobutton ,
then intially when the table loads if the webservice result is false it will be unselected and if it is true it will be selected and if no value is coming from the ws , then default is false hence it will be unselected.
now in your case can you loop the ws result and print the values of the two boolean attr ,
i guess it might be coming as true so all the rows shows selected .
here in table colum you have option to insert only radio button and radio button group by key or index cannot be inserted . which version of NWDS are you using ?
Regards
Govardan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.