A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
div tag in struts 2
Joined: Feb 23, 2009
Jul 09, 2009 08:15:41
I want to hide some components using div tag . I tried as follows
<s:div id="divFromHour" style="display:none">
but it is not working.
please help !
Joined: Apr 29, 2009
Jul 09, 2009 11:24:09
You can't use the style attribute when using
tags. You must use cssStyle or cssClass. Please be sure to read the struts2 tags documentation before posting stuff like this.
I agree. Here's the link:
subject: div tag in struts 2
Div Tag Width Changing si Undesireable
struts tag vs html tag
Showing Hiding <s:div> tag in Struts2
how to hide and show contents with struts2 div tag
Any idea what could cause new <br> tags to get added to the rendered code?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014