• 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

Display the result in the selected tab

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi i am using Struts in an application.Basically i have a homepage which contains one ajax tab(given in http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/) when i click the tab the control goes to a (Hello.jsp)jsp page in the tab area (using <a href="Button.jsp" rel="countrycontainer">Analyze</a>< ,now that page contains a button which fetches the dummy arraylist values from the action class.My problem is that when i click the button the result gets displayed in the Hello.jsp but the tabs are not visible then since it forward to Hello.jsp.Is there any way to as to display the result in the selected tab.Please help me to solve the problem.Here is the action mapping of my Struts-config file

<action-mappings>
<action path="/display"
type="com.company.model.ParameterAction"
name="parameterForm"
scope="request"
validate="true"
input="/Hello.jsp">
</action>
</action-mappings>

where parameterForm is the bean class

If it not possible using the above ajax tabs then is there any struts tab panel which can do this functionality?
 
if you think brussel sprouts are yummy, you should try any other food. And this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic