Martin, Thanks for your help. But its the same - loading in new page. Any more ideas????
Regards, Srikanth Muthyala ----- Original Message ----- From: "Martin Gainty" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Tuesday, 27 November 2007 10:26:33 AM (GMT+1000) Australia/Sydney Subject: Re: Tabbedpanel issue Try this (notice the href refers to url tag whose value is populated by setProfile.action)<s:url id="ajaxTest" value="/setProfile.action" /><s:tabbedPanel id="rtb" /> <s:div id="1" label="static" labelposition="top"> <br>RTB Administration </s:div> <s:div id="admin" label="dynamic" theme="ajax" href="%{ajaxTest}" refreshOnShow="true"> <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>Mar tin -- Original Message ----- From: "Srikanth Muthyala" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Monday, November 26, 2007 6:07 PM Subject: Re: Tabbedpanel issue > M, > > I dont know what happened there but NO, no 2 of these. Here is the updated one. (Cleanedup) > > > I am currently using Struts 2 with Ajax for 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: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> > > > Regards, > > Srikanth Muthyala > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]