struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <>
Subject Re: How to dinamically load a <select> field
Date Wed, 07 Mar 2007 17:35:12 GMT
If you are using S2, the autocompleter tag does that, you can use the
"formId" attribute to specify a form which will be submitted to the action,
from which you can return the right values. If you are using S1, you will
need an ajax library.


On 3/7/07, Célio Cidral Junior <> wrote:
> Well, perhaps "dinamically" is not the best way to describe it, but
> anyway what I need is to load a <select> field based on the value
> selected on another <select> field. Let's say you have a State field
> and also a City field. The user selects a state and the cities of that
> state are loaded in the City field. What's the best way to do that
> without having a page refresh?
> Regards,
> Célio.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

"Hey you! Would you help me to carry the stone?" Pink Floyd

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message