Hi,

  I am trying to get started with struts ajax tags. I simply copied
example2.jsp ( under ajax in showcase app) into an appropriate dir in my
src/main/webapp.  But all I see is 

 I'm a Tab!!! 
I'm the other Tab!!! 

I don't see the tabbed panel test1 test2 etc.
I have a menu-config.xml with a menu defined there. Is that the reason it is
not showing the TabbedPanel?

Here is the example2.jsp.
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
<head>
    <title>Ajax examples - tabbled panel</title>

    <jsp:include page="/ajax/commonInclude.jsp"/>
    <link rel="stylesheet" type="text/css" href="<s:url
value="/struts/tabs.css"/>">
    
    
</head>

<body>

                                <s:tabbedPanel id="test2" theme="simple" 
cssStyle="width: 500px; height:
300px;" doLayout="true">
                      <s:div id="left" label="test1" theme="ajax" >
                          I'm a Tab!!!
                      </s:div >
                      <s:div  id="middle" label="test2"  theme="ajax" >
                          I'm the other Tab!!!
                      </s:div >
                     
                  </s:tabbedPanel>
                                  
                                

<s:include value="../footer.jsp"/>

</body>
</html>

 


Thanks a lot for your help/suggestions  !!!


newton.dave wrote:
> 
> --- nmall <[EMAIL PROTECTED]> wrote:
>> getting the following error while executing my jsp.
>> 
>> ...FileNotFoundException: /ajax/commonInclude.jsp
> 
> The only commonInclude I could find was in showcase;
> you shouldn't need it for your own application.
> 
> d.
> 
> 
> 
>        
> ____________________________________________________________________________________
> Moody friends. Drama queens. Your life? Nope! - their life, your story.
> Play Sims Stories at Yahoo! Games.
> http://sims.yahoo.com/  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/struts2-ajax-jsps-tf4111244.html#a11691596
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to