Why are you using the long-deprecated Dojo tags? On Aug 21, 2015 2:06 AM, "fea jabi" <zy...@hotmail.com> wrote:
> Using Struts2.3 . Using the below code to display the tabbed panel but > it's not working. What am I missing in this? All I see is some text of Tab1 > Tab2 on screen. no css is applied. Have struts2-dojo-plugin in build path. > What else do I need? > > Using struts2 tiles too. Any help is appreciated. > > <%@ taglib prefix="s" uri="/struts-tags" %> > > <%@ taglib prefix="sx" uri="/struts-dojo-tags"%> > > <html> > > <head> > > <meta http-equiv="Content-Type" content="text/html; > charset=UTF-8"> <META HTTP-EQUIV="Expires" CONTENT="0"> > <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META > HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> <META > HTTP-EQUIV="Cache-Control" CONTENT="no-store"> <s:head/> > <sx:head/> > > <link rel="stylesheet" type="text/css" > href="theme/test.css"> <script src="scripts/test.js" /></script> > </head> > > <body> > <s:form> > <sx:tabbedpanel id="tabContainer"> > > <sx:div label="Tab 1">Tab 1</sx:div> > > <sx:div label="Tab 2">Tab 2</sx:div> > > </sx:tabbedpanel> > > </s:form> > </body> > </html> > > >