elentz wrote:
Has anyone else had the experience that using a tabbedPanel with no cssStyle
specifying width and height doesn't work?

For example, this works:
<s:tabbedPanel id="scrntabpane" theme="simple"   cssStyle="width: 450px;
height: 576px;" doLayout="true">

This doesn't work:
<s:tabbedPanel id="scrntabpane" theme="simple"   doLayout="true">

It would seem that both should work.  By not working I mean that the tabs
appear but no content within any of the children <s:div></s:div>.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to