You can use Webflow extension... -------------- Original message ---------------------- From: Michael Jouravlev <[EMAIL PROTECTED]> > On 2/17/06, Leila Carvalho <[EMAIL PROTECTED]> wrote: > > What is the best way to implement the logic of a second combobox that > > depends > > on the choice made in a first combobox in a JSP page, inside Struts > > framework ?? > > For instance: if I choose EUA in the first combobox, the second combobox > > must be > > populated with EUA's states. The same for countries X states etc. > > Some people implement this with javascript, function onchange(). JSF uses > > Events... > > Yes, you need to use Javascript, apparently JSF has a wrapper on top > of a regular onchange. > > If you need to load data from server on every change, then either use > Ajax, or reload the whole page after every onchange. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]