javascript remoting or ajax should do fine there. google for it.

 --- yamilka vallejo ramos <[EMAIL PROTECTED]> escribió:

> Hii everyone,
>  I  have  two drop downs in my jsp page, and I need to the contents of
> the
> second dependent on the value selected in the first.
> To handle this, I need for the first combo box to do a submit when it
> changes, so that I have a chance to update the second. But I don't know
> in
> which part of the Action I most write the code to make update the second
> drop down, because I'm working with LooKup Dispach Action , and the Hash
> Map
> wait a parameter that I don't have because I did't make submit to any
> button, and there's where I set who it's that parameter
> 
> example: for me did't work:
> 
> <html:select property="orgId" onchange='document.forms[0].submit()'>
>     <html:options collection="orgList" property="value"
> labelProperty="longName"/>
> </html:select>
> 
> because I don't know in which part of the Action I most write the code
> to
> make update the second drop down, because the ActionClass say that it's
> waiting a parameter!!
> 
> please if somebody know how to do that I will presure!!
> thanks!!
> 


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 

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

Reply via email to