Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Struts
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Struts section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 3rd, 2007, 02:12 AM
Registered User
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default tabbedpanel POST reload

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:div id="1" label="Administration" theme="ajax" labelposition="top">
<br>RTB Administration
</s:div>

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

<s:div id="prov" label="Provisioning" theme="ajax">
<jsp:include page="/pages/provisioningHome.jsp"></jsp:include>
</s:div>
</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>







Similar Threads
Thread Thread Starter Forum Replies Last Post
Reload page Tooltip not work - Reload xslt file? ismailc XSLT 10 January 22nd, 2008 10:03 AM
Reload page only once. rupen Javascript How-To 4 September 13th, 2007 06:34 AM
reload thepage dbellavi ASP.NET 1.0 and 1.1 Basics 5 July 31st, 2007 09:11 PM
Ant reload guacamole82 BOOK: Beginning JavaServer Pages 0 July 18th, 2005 07:01 PM
Reload a page mivan2001 Javascript How-To 1 July 23rd, 2003 03:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.