A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
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.
It is sorta covered in the
JavaRanch Style Guide
subject: div tag in struts 2
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?
Div Tag Width Changing si Undesireable
struts tag vs html tag
Showing Hiding <s:div> tag in Struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014