Hello,

I have a problem with html:select preselection?
I have a value in my request (select_CMP) when I going to my JSP page and I
want to preselect an element of my options list. I use this code to produce
my select.

<html:select property="select_CMP" onchange="choixSelectCMP(this)">
   <html:options collection="CMP" labelProperty="CMP_LIB"
property="CMP_ID"/>
</html:select>

CMP is an ArrayList stored in the request.

Thanks in advance


Yann VERLYNDE
Ingénieur d'Etudes
Oxade Ingénierie
13, Place Kossuth
75009 PARIS

Tel  : 01 42 82 99 38
Fax : 01 42 82 99 35
www.oxade.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to