Re: [S2] how to get the value of form select

2008-01-06 Thread carmi_cd
how should i get its value..i'm really new to this please help me.. should it be this way.. List selectedmod = getSelectedModules(); System.out.print(Selected +selectedmod.get(0)); thanks again xniit2003 wrote: It should be a list. I guess your selectedModules in the name attribute is

[S2] how to get the value of form select

2008-01-04 Thread carmi_cd
i have a form select..my problem is how to i get the selected values of the form select.. what is its data type..is it ArrayList? here is my code.. s:select name=selectedModules value=%{edituser.modules.{moduleId}} list=modules

how to get the value of form select

2008-01-04 Thread carmi_cd
i have a form select..my problem is how to i get the selected values of the form select.. what is its data type..is it ArrayList? here is my code.. s:select name=selectedModules value=%{edituser.modules.{moduleId}} list=modules

Re: [S2] how to get the value of form select

2008-01-04 Thread Arpan Debroy
It should be a list. I guess your selectedModules in the name attribute is also a list and the values of selected items will be populated into it. If you wouldn't write multiple=true, the return data type would be String. On Jan 4, 2008 3:14 PM, carmi_cd [EMAIL PROTECTED] wrote: i have a form