• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

struts tabbedpanel

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am currently using Struts 2 Tabbed panel. I can create
and
load tabbedpanel showing a jsp page with a form for one of tabs. The form
action = "/some.action" is executed ok butthe issue is reload is shown in
its own new page rather than the as part of tab content.
How do I fix this? Please help.
Attached parts of codes....

<s:tabbedPanel id="rtb">

<s iv id="1" label="Administration" theme="ajax" labelposition="top">
<br>RTB Administration
</s iv>

<s iv id="admin" label="User" theme="ajax" href="setProfile.action"
refreshOnShow="true">
--->See here>>>> <jsp:include
page="/setProfileForm.do"></jsp:include>
</s iv>

<s iv id="prov" label="Provisioning" theme="ajax">
<jsp:include page="/pages/provisioningHome.jsp"></jsp:include>
</s iv>
</s:tabbedPanel>

<s:form action="/setProfile.do" method="POST">
<tr>
<td colspan="2">Set Profile</td>
</tr>

<tr>
<td colspan="2"><s:actionerror /><s:actionmessage/></td>
</tr>

<s:textfield name="userId" label="User Id" onfocus=""/>
<s:textfield name="name" label="User Name" />
<s:select list="profile" headerValue="Please Select" name="profile"
required="true" ></s:select>
<s:checkbox name="overWrite" label="Update (Please check this box if
you want to update existing profile)"></s:checkbox>
<s:submit value="Add or Update Profile" align="center" />
</s:form>
 
I guess everyone has an angle. Fine, what do you want? Just know that you cannot have this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic