You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Heligon Sandra <sa...@thomson.net> on 2004/04/28 11:13:48 UTC

Dependent Drop-Down Combo Box Lists and html:select

I have an application that uses dependent combo box lists, 
ie, by selecting one item in a combo box, then the contents of the next one
will be decided
(after a request to the Web Server).
I tried a lot of solutions but any does not work.
I don't know why but if I use <html:select onchange = > the sate of my page
is not saved.

Has someone a whole example of Struts dependent drop-down combo box ?

Is it possible to use basic JSP / html tags to solve the problem ?

Thanks a lot in advance.

Sandra



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Dependent Drop-Down Combo Box Lists and html:select

Posted by Ivan <iv...@interd4u.com>.
What i do is to generate the dependent combo box lists dinamically with
javascript (reseting and adding Option objects to the target SELECT ).
OnChange event is not problematic, it is works well.

----- Original Message ----- 
From: "Heligon Sandra" <sa...@thomson.net>
To: <us...@struts.apache.org>
Sent: Wednesday, April 28, 2004 11:13 AM
Subject: Dependent Drop-Down Combo Box Lists and html:select


>
> I have an application that uses dependent combo box lists,
> ie, by selecting one item in a combo box, then the contents of the next
one
> will be decided
> (after a request to the Web Server).
> I tried a lot of solutions but any does not work.
> I don't know why but if I use <html:select onchange = > the sate of my
page
> is not saved.
>
> Has someone a whole example of Struts dependent drop-down combo box ?
>
> Is it possible to use basic JSP / html tags to solve the problem ?
>
> Thanks a lot in advance.
>
> Sandra
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Dependent Drop-Down Combo Box Lists and html:select

Posted by Guillermo Meyer <gm...@interbanking.com.ar>.
There is a solutiion of Dependant drop down combos in
http://providers.sourceforge.net/

There is a taglib called ComboSelect. This tag uses Struts and generates
JavaScript. You also have to use SelectTag that comes with this package
but this tag extends Strut's one, so it has all it's features plus a
functionality of doing matches, while "typing" on the select, options
appears (like in windows apps).

If you have further questions about using this tag, please let me know.

Cheers.
Guillermo.

-----Original Message-----
From: Heligon Sandra [mailto:sandra.heligon@thomson.net] 
Sent: MiƩrcoles, 28 de Abril de 2004 06:14 a.m.
To: 'user@struts.apache.org'
Subject: Dependent Drop-Down Combo Box Lists and html:select



I have an application that uses dependent combo box lists, 
ie, by selecting one item in a combo box, then the contents of the next
one will be decided (after a request to the Web Server). I tried a lot
of solutions but any does not work. I don't know why but if I use
<html:select onchange = > the sate of my page is not saved.

Has someone a whole example of Struts dependent drop-down combo box ?

Is it possible to use basic JSP / html tags to solve the problem ?

Thanks a lot in advance.

Sandra



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

NOTA DE CONFIDENCIALIDAD
Este mensaje (y sus anexos) es confidencial, esta dirigido exclusivamente a las personas direccionadas en el mail y puede contener informacion (i)de propiedad exclusiva de Interbanking S.A. o (ii) amparada por el secreto profesional. Cualquier opinion en el contenido, es exclusiva de su autor y no representa necesariamente la opinion de Interbanking S.A. El acceso no autorizado, uso, reproduccion, o divulgacion esta prohibido. Interbanking S.A no asumira responsabilidad ni obligacion legal alguna por cualquier informacion incorrecta o alterada contenida en este mensaje. Si usted ha recibido este mensaje por error, le rogamos tenga la amabilidad de destruirlo inmediatamente junto con todas las copias del mismo, notificando al remitente. No debera utilizar, revelar, distribuir, imprimir o copiar este mensaje ni ninguna de sus partes si usted no es el destinatario. Muchas gracias.



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org