struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: TabbedPanel in Struts2
Date Wed, 14 May 2008 02:29:19 GMT
Do you have Dojo debugging turned on in your <st:head.../> tag?

Do you have an <st:head.../> tag, I guess? I don't recall having had
any major issues with it, but it was awhile ago I used it.

Dave

--- Jay Bose <digi9ten@yahoo.com> wrote:

> No, not at all. I get Dojo-ififed tags, but they have no label or
> anything else, for that
> matter. They are just divs with the content of the tab, but no label.
> I will list the JSP
> content I'm using, and the resulting output.
> 
> The JSP code
> ======================================================
> <%@ taglib uri="/struts-tags" prefix="st" %>
> 
> <st:tabbedPanel id="tabContainer" selectedTab="test1">
> 	<st:div id="test1" label="Test One">
> 		One
> 	</st:div>
> 
> 	<st:div id="test2" label="Test Two">
> 		Two
> 	</st:div>
> </st:tabbedPanel>
> ======================================================
> 
> 
> The output
> ======================================================
> <script type="text/javascript">
>   dojo.require("dojo.widget.TabContainer");
>   dojo.require("dojo.widget.LinkPane");
>   dojo.require("dojo.widget.ContentPane");
> </script>
> 
> <div dojoType="TabContainer" id="tabContainer" selectedTab="test1"
> doLayout="false">
> 	<div dojoType="struts:BindDiv" id="test1" label="Test One"
> showError="true">
> 		One
> 	</div>
> 	<div dojoType="struts:BindDiv" id="test2" label="Test Two"
> showError="true">
> 		Two
> 	</div>
> </div>
> ======================================================
> 
> 
>       
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


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


Mime
View raw message