Hi Rajeshwari,
it has nothing to do with struts2, use javascript for it,
also setting html id property for your selects might help.

Best greetings,
Paweł Wielgus.

2009/2/10 Rajeshwari Godbole <rgodb...@gmail.com>:
> Hello all,
>
> I'm using Struts2 on Tomcat and am trying to hide a s:select tag depending
> on the selected option of another s:select tag. I'm able to disable the tag
> using javascript but am not able to hide it. Setting style.display="none";
> does not work, neither does adding a div tag because Struts writes its own
> <tr><td>'s and the div tag is placed somewhere else. Is there a way to do
> this? Could struts be told not to create <tr> and <td> fields?
>
> Any help is much appreciated.
>
> Thanks,
>
> Rajeshwari
>

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

Reply via email to