RE: Struts2 tabbed panel not working

2015-08-21 Thread Martin Gainty
you'll need to coordinate the URI of the taglib specified in jsp with location 
of the struts-dojo-tags.tld
assuming struts-dojo-tags.tld is located in folder WEB-INF
insert these 4 lines before  in web.xml

   
/struts-dojo-tags
/WEB-INF/struts-dojo-tags.tld


...


Martin 



> From: zy...@hotmail.com
> To: user@struts.apache.org
> Subject: RE: Struts2 tabbed panel not working
> Date: Fri, 21 Aug 2015 03:41:14 -0400
> 
> Thanks, got this after using the struts2-jquery-plugin.
>  
> > From: zy...@hotmail.com
> > To: user@struts.apache.org
> > Subject: RE: Struts2 tabbed panel not working
> > Date: Fri, 21 Aug 2015 02:20:26 -0400
> > 
> > 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: davelnew...@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"  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"%>
> > > >
> > > > 
> > > >
> > > > 
> > > >
> > > >   
> > > >  > > > HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> > > > HTTP-EQUIV="Cache-Control" CONTENT="no-store">   
> > > >  
> > > >
> > > >  > > > href="theme/test.css">> > > />
> > > >
> > > >
> > > > 
> > > >
> > > >   
> > > >
> > > >  Tab 1
> > > >
> > > >  Tab 2
> > > >
> > > >   
> > > >
> > > >
> > > > 
> > > > 
> > > >
> > > >
> > > >
> >   
> 
  

RE: Struts2 tabbed panel not working

2015-08-21 Thread fea jabi
Thanks, got this after using the struts2-jquery-plugin.
 
> From: zy...@hotmail.com
> To: user@struts.apache.org
> Subject: RE: Struts2 tabbed panel not working
> Date: Fri, 21 Aug 2015 02:20:26 -0400
> 
> 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: davelnew...@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"  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"%>
> > >
> > > 
> > >
> > > 
> > >
> > >   
> > >  > > HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> > > HTTP-EQUIV="Cache-Control" CONTENT="no-store">   
> > >  
> > >
> > >  > > href="theme/test.css">   
> > >
> > >
> > > 
> > >
> > >   
> > >
> > >  Tab 1
> > >
> > >  Tab 2
> > >
> > >   
> > >
> > >
> > > 
> > > 
> > >
> > >
> > >
> 
  

RE: Struts2 tabbed panel not working

2015-08-20 Thread fea jabi
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: davelnew...@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"  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"%>
> >
> > 
> >
> > 
> >
> >   
> >  > HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> > HTTP-EQUIV="Cache-Control" CONTENT="no-store">   
> >  
> >
> >  > href="theme/test.css">   
> >
> >
> > 
> >
> >   
> >
> >  Tab 1
> >
> >  Tab 2
> >
> >   
> >
> >
> > 
> > 
> >
> >
> >
  

Re: Struts2 tabbed panel not working

2015-08-20 Thread Dave Newton
Why are you using the long-deprecated Dojo tags?
On Aug 21, 2015 2:06 AM, "fea jabi"  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"%>
>
> 
>
> 
>
>   
>  HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> HTTP-EQUIV="Cache-Control" CONTENT="no-store">   
>  
>
>  href="theme/test.css">   
>
>
> 
>
>   
>
>  Tab 1
>
>  Tab 2
>
>   
>
>
> 
> 
>
>
>