The moose likes Struts and the fly likes struts tabbedpanel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts tabbedpanel" Watch "struts tabbedpanel" New topic

struts tabbedpanel

Srikanth Muthyala

Joined: Dec 02, 2007
Posts: 1
I am currently using Struts 2 Tabbed panel. I can create
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"
--->See here>>>> <jsp:include
</s iv>

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

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

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

<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" />
I agree. Here's the link:
subject: struts tabbedpanel
It's not a secret anymore!