struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elentz <ericle...@outfastsource.com>
Subject Re: Struts2: tabbedPanel with no cssStyle bug?
Date Tue, 04 Dec 2007 22:20:49 GMT

> If doLayout is true the height css attribute is mandatory.  It applis 
> cssStyle directly to every tab.
> If doLayout is false, the height is determined by the content and varies 
> tab-to-tab.
> 
> I'm not sure what you were hoping for by setting doLayout=true but not 
> setting cssStyle.  I presume it's applying a zero height.
> http://struts.apache.org/2.0.11/docs/ajax-tags.html#AjaxTags-tabbedPanelTag

I wasn't using doLayout as it doesn't show in Eclipse's properties for that
tag.  I checked the source and it is valid so I tried all combinations of
with and without doLayout and with and without cssStyle and found that now
it works without having the cssStyle and with or without doLayout - it all
looks and acts the same.  I used to have the NiftyTags.js and was calling it
as seen on the demo.  Maybe that was causing the problem?  Anyway, I can't
duplicate it now so on to other things.  Thanks for the help.

-- 
View this message in context: http://www.nabble.com/Struts2%3A-tabbedPanel-with-no-cssStyle-bug--tf4944709.html#a14160899
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message