Unfortunately, I don't have an answer for you - I've never tried to get s:tabbedPanel working. Hopefully someone else on this list has a solution for you.
Matt On 6/13/07, Struts2 Fan <[EMAIL PROTECTED]> wrote:
Hi Matt, Thanks for reply. But I already have s:datetimepicker working. I couldn't work the s:tabbedPanel. mraible wrote: > > Here's a howto for getting Struts 2's Dojo support working in AppFuse: > > http://www.nabble.com/Re%3A-ajax-and-datepicker-on-2m4-p10828138.html > > The following issue was used to track this change: > > http://issues.appfuse.org/browse/APF-739 > > We decided not to do it by default since Dojo is 5 MB and slow. It > didn't seam reasonable to make developers wait for 5 MB to be copied > if they're barely using any of its features. > > Matt > > On 6/13/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> >> I couldn't make the s:tabbedPanel work in appfuse 2.0-M5. I copied a >> simple >> jsp file from the showcase application in the struts-core, but it is not >> working in my appfuse project. It gives the following javascript error. >> >> djConfig.baseScriptUri has no properties >> getBaseScriptUri()dojo.js (line 155) >> loadPath("struts/widget/Bind.js", "struts.widget.Bind", undefined)dojo.js >> (line 187) >> loadModule("struts.widget.Bind", undefined, undefined)dojo.js (line 351) >> require("struts.widget.Bind")dojo.js (line 419) >> [Break on this error] if(djConfig.baseScriptUri.length){ >> >> >> I copied the dojo directory from struts-core to the directory in my >> application "/webapp/scripts/" >> >> I modified the "default.jsp". I added the dojo.js >> >> // default.jsp >> <script type="text/javascript" src="<c:url >> value='/scripts/dojo/dojo.js'/>"></script> >> <script type="text/javascript" src="<c:url >> value='/scripts/prototype.js'/>"></script> >> <script type="text/javascript" src="<c:url >> value='/scripts/scriptaculous.js'/>"></script> >> <script type="text/javascript" src="<c:url >> value='/scripts/global.js'/>"></script> >> >> // example2.jsp >> <%@ include file="/common/taglibs.jsp" %> >> <%@ page contentType="text/html;charset=UTF-8" language="java" %> >> <%@ taglib prefix="s" uri="/struts-tags" %> >> >> <html> >> <head> >> <title>Ajax examples - tabbled panel</title> >> >> <s:head theme="ajax"/> >> <link rel="stylesheet" type="text/css" href="<s:url >> value="/struts/tabs.css"/>"> >> </head> >> >> <body> >> >> <s:tabbedPanel id="test2" theme="simple" cssStyle="width: 500px; height: >> 300px;" doLayout="true"> >> <s:div id="left" label="test1" theme="ajax"> >> I'm a Tab!!! >> </s:div> >> <s:div id="middle" label="test2" theme="ajax"> >> I'm the other Tab!!! >> </s:div> >> </s:tabbedPanel> >> >> </body> >> </html> >> >> >> Anyone has any ideas? >> >> Thanks. >> >> -- >> View this message in context: >> http://www.nabble.com/-Appfuse2--S2-Anyone-who-used-s%3AtabbedPanel--tf3913909s2369.html#a11097039 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-Appfuse2--S2-Anyone-who-used-s%3AtabbedPanel--tf3913909s2369.html#a11114779 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
