You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Yann Verlynde <yv...@oxade.com> on 2002/11/22 15:03:57 UTC
How pre-select an ?
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>