struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Struts2 tabbed panel not working
Date Fri, 21 Aug 2015 06:13:01 GMT
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