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 get selected tab in jquery struts2 tabbedPanel inside action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "get selected tab in jquery struts2 tabbedPanel inside action" Watch "get selected tab in jquery struts2 tabbedPanel inside action" New topic
Author

get selected tab in jquery struts2 tabbedPanel inside action

Armin Vetek
Greenhorn

Joined: Aug 21, 2010
Posts: 29
Hi,

My jsp page is designed as:

<s:form action="tab_action">
<sj:tabbedPanel>
<sj:tab>
<s:textfield>
<s:submit>
</sj:tab>
</sj:tabbedPanel>
<s:form>

Some criteria fields and a search button are placed on each tab. When the submit button is clicked the action is invoked. I need to know which tab is currently selected inside the struts2 action.

Best regards




http://www.javanus.com/blogs
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: get selected tab in jquery struts2 tabbedPanel inside action