struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fea jabi <zy...@hotmail.com>
Subject Struts2 tabbed panel not working
Date Fri, 21 Aug 2015 06:06:27 GMT
 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