*
The moose likes Struts and the fly likes Need sample code related to Tabbedpanel in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Need sample code related to Tabbedpanel in struts2" Watch "Need sample code related to Tabbedpanel in struts2" New topic
Author

Need sample code related to Tabbedpanel in struts2

lydia edward
Greenhorn

Joined: Feb 02, 2011
Posts: 11
Hi,
I am a new user of Struts 2.
I have a requirement like,there should be a tabbedpanel and by clicking on each tab it should call action classes.
On calling of action classes,it should open different jsp pages within the tabbedpanel area and in those jsp pages,there should be
some button and by clicking these buttons these should again call action classes which should displayed in tabbedpanel area.

Is it possible to call any action on any events like (Onclick(),onselect())?
If yes,please provide me sample code for this.
Please assist any solution/sample code for this design.

Thanks in advance.
Lydia.

Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8839
    
    7

Use the JQuery TabbedPanelTag. Much easier than rolling your own.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
lydia edward
Greenhorn

Joined: Feb 02, 2011
Posts: 11
Thanks for your reply.
I am using struts-jquery-tags for tabbedpanel.
Can you please give me some sample code which is using events(onclick(),onselect()) to call the actions.
I am able to call actions by setting in href, but I want to call action classes on some events.

Thanks in advance.
Lydia
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need sample code related to Tabbedpanel in struts2
 
Similar Threads
How to access jsp web page that was in different application with different context path form my JSF
How to output JSP page to Excel ?
JSP---> Struts
Help with TabbedPanel and panel in struts 2
JSP---> Struts