Thanks a lot Mark,
It works like this

Best Regards
Elyes

2008/12/10 Mark Shifman <[EMAIL PROTECTED]>

> Try using html:options instead of optionsCollection.
>
> elyes sallem wrote:
> > Hello,
> > i have a html:select in a html:form
> > this select is build from a List<String> valLis, defined in an actionForm
> > i used the html:select in a list of object , it work
> > but now it is a list of string, so i have not value and label
> > i need just to recuperate the value and set the list of string
> > what must i add as attribute to html:optionCollection,
> > here is html:select
> > <nested:select property="selectedVal" >
> > <html:optionsCollection property="valList" name="intaffForm" />
> > </nested:select>
> >
> > Regards
> > Elyes.
> >
>
>
> --
>  Mark Shifman MD. Ph.D.
>  Yale Center for Medical Informatics
>  Phone (203)737-5219
>  [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Elyes.

Reply via email to