File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 8935
    
    9

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need sample code related to Tabbedpanel in struts2