Hello,

I have a JSP page with a <select> element. According to the user selection, a bean is filled with apropiate data, and should be displayed in a jps page.

My jsp page looks like:
<html:form ...>
<html:select name="choose" property="entry" style="width:100%;">
        <html:options collection="entries" property="id"
        labelProperty="name"/>
</html:select>
<html:submit>
        <bean:message key="button.view"/>
</html:submit>
</html:form>

<logic:iterate id="item" name="entries">
<tr class="row">
        <td nowrap><bean:write name="item" property="title"/></td>
        <td nowrap><bean:write name="item" property="name"/></td>
...


When I select an entry from the select and press the button, the action is called and I can update my entries collection. But when I forward to the success page, the combo still have the original value, and the list is not updated.


Has any body a hint or some sample code?

Sincerly
Samuel

---  andinasoft SA - Software y Consulting  ---
Mariano Aguilera 276 y Almagro - Quito, Ecuador
Tel. +593 2 290 55 18 ---- Cel. +593 9 946 4046
---------  http://www.andinasoft.com  ---------

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



Reply via email to