• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need sample code related to Tabbedpanel in struts2

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use the JQuery TabbedPanelTag. Much easier than rolling your own.
 
lydia edward
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic