So your form bean associated with the action has a proper getter and setter for the 
"selectCMP" attribute?  Their signatures would be like "String getSelectCMP()" and 
"void setSelectCMP(String cmp)".  It might be worth setting a breakpoint in those two 
methods, or adding print statements to them, to see whether they get there, and what 
values are being gotten/set into them.

> -----Original Message-----
> From: Yann Verlynde [mailto:[EMAIL PROTECTED]]
> 
> Process: When the user select a value on the combo select, 
> the page refresh
> and fill a new select tag by a content which depend on the 
> value selected by
> the user.  The second select tag is well filled but the first 
> is not pre
> select on the value clicked by the user.
> 
> I don't understand why my select tag doesn't pre-select the 
> good value. My
> form class is in session scope and when I test my value it 
> seems that it has
> the good value.
> Does anyone can help me please?
> 
> <%=request.getParameter("selectCMP")%>
> <html:select property="selectCMP" onchange="choix(this)">
>   <logic:notPresent name="selectCMP" scope="request">
>     <html:option value="0">Choisissez votre Cadre Emploi</html:option>
>   </logic:notPresent>
>   <html:options collection="CMP" labelProperty="CMP_LIB" 
> property="CMP_ID"/>
> </html:select>

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

Reply via email to