Hi,
Yariel Ramos Moreno schrieb:
Hi everybody:
How can I set the selected value to <html:select>???
If you use the <html:option> you can use the value attribute for this.
My problem is that I have a <html:select> field in my site (using struts-tiles)
that remains functional in every page of it. When I submit the form that contains it
(in it's tile), the selected value is loaded from the ActionForm very well. But when
I go to another place without submit the combo's form, the selected value is changed
to the first of its elements.
Your problem description is very confusing. It's always a good idea to
send the code where you have the problem to get a solution for it.
How do I set its selected value getting it from session???
Use the name attribute of the select tag and set this to the name of the
bean with the value in the session.
Thanks and regards!!!
__________________________________________
XIII Convención Científica de Ingeniería y Arquitectura
28/noviembre al 1/diciembre de 2006
Cujae, Ciudad de la Habana, Cuba
http://www.cujae.edu.cu/eventos/convencion
Hope it helps you.
regards
Juergen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]