File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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.
It is sorta covered in the
JavaRanch Style Guide
subject: div tag in struts 2
Any idea what could cause new <br> tags to get added to the rendered code?
Showing Hiding <s:div> tag in Struts2
struts tag vs html tag
Div Tag Width Changing si Undesireable
how to hide and show contents with struts2 div tag
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014