struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fea jabi <zy...@hotmail.com>
Subject RE: Struts2 tabbed panel not working
Date Fri, 21 Aug 2015 06:20:26 GMT
Thanks, for your reply. 
 
sorry, I saw an example on web and tried that. What do I use then? Any example link you can
provide please? 
 

 
> Date: Fri, 21 Aug 2015 02:13:01 -0400
> Subject: Re: Struts2 tabbed panel not working
> From: davelnewton@gmail.com
> To: user@struts.apache.org
> 
> Why are you using the long-deprecated Dojo tags?
> On Aug 21, 2015 2:06 AM, "fea jabi" <zyxrm@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>
> >
> >
> >
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message