Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials


 

 

Struts Tutorials

Struts Resources

Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Struts Struts2 Struts2uitags Tabbedpanel

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

10 comments so far (post your own) View All Comments Latest 10 Comments:

You have a tag library prefixed with "S" and that is the default struts tag library. It doesn't have a tag control named tabbedpanel. For that you should use the dojo library. I noticed that most of your examples are just a layout which misses one or other important code statements and your code contains mistakes too. My ADVICE : COPY PASTE. BUT BEFORE PASTING, LEARN IT.

Posted by Sajeev Varghese on Wednesday, 05.19.10 @ 10:32am | #97095

hi,
Im in search of this kind of example from past 4 weeks.
im new to struts2.1.6.
please let me know wat are thr jar files that are needed for the above example.
kindly reply.

Thanks & Regards
Amarnath
id:vangara.ananth@gmail.com

Posted by Amarnath on Thursday, 07.16.09 @ 14:22pm | #89374

Hi,
i'm trying to implement this example, but the error message is that "Unknown tag (s:tabbedPanel).", could you inform to me what .jar are necesstary? i am using struts2-core-1.1.6.jar.
thank you for your attencion

Posted by Edson on Wednesday, 07.1.09 @ 17:45pm | #88950

Gettin the following error can anybody help me ?
No tag "tabbedPanel" defined in tag library imported with prefix "s"

File: org/apache/jasper/compiler/DefaultErrorHandler.java

Posted by vikpan on Friday, 06.26.09 @ 12:33pm | #88817

This tutorial didn't work in IBM RAD 7

Posted by Balaji Ranjan on Thursday, 04.16.09 @ 07:56am | #86839

Hi,
tank you for all, this examples are really helping... i have a problem when trying to implement tabbedPanel according to this example my output is

This is the first panel.
RoseIndia.nt
JavaJazzUp.com
NewsTrackIndia.com
This is the second panel.
This is the third panel.<br>
Java Tutorial
PHP Tutorial
Linux Tutorial
This is the forth panel.

i'm missing something? or is there addinional configurations? Thans for Help

Posted by Hassan on Monday, 11.24.08 @ 11:13am | #81982

Your example doesnot show the tabs, rather it shows the content within each tab as plain html. I tried to run this code as a jsp in my struts 2.0.12 based application but it didnt work. any ideas?

Posted by Mohammad Shahzad on Wednesday, 11.5.08 @ 20:52pm | #81547

Guyz,

this code is not going to work on struts 2. The reason being struts 2 is by default integrated with dojo and the default location for struts-dojo tags is WEB-INF/lib/struts-dojo

a better way to make it work is to migrate to struts 2.1.2 and with following code:

<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>

<sx:head parseContent="true"/>



<sx:tabbedpanel id="test" >

<sx:div id="one" label="Tab 1" theme="ajax" labelposition="top" >
This is the first panel.
RoseIndia.nt<br>
JavaJazzUp.com<br>
NewsTrackIndia.com
</sx:div>

<sx:div id="two" label="Tab 2" theme="ajax">
This is the second panel.
</sx:div>

<sx:div id="three" label="Tab 3" theme="ajax">
This is the third panel.<br>
Java Tutorial<br>
PHP Tutorial<br>
Linux Tutorial
</sx:div>

<sx:div id="four" label="Tab 4" theme="ajax">
This is the forth panel.
</sx:div>

</sx:tabbedpanel>

Posted by algoworks on Tuesday, 07.22.08 @ 16:38pm | #68456

I get a singular behaviour using the tabbedpannel tag into a page decorated with sitemesh. Even I put the page into the excludes section in the decorators.xml file the problem persist. Any Idea.

Posted by Flo on Monday, 02.25.08 @ 15:23pm | #49950

hi...
can u plz tell me...how to change the theme....?

Posted by sathish on Saturday, 02.23.08 @ 23:24pm | #49688

Ask programming questions?

 

 

Back to Tutorial

 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name

 

 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright 2007. All rights reserved.