first off is there a reason for 2 of everything?

M--
----- Original Message -----
From: "Srikanth Muthyala" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Monday, November 26, 2007 4:48 PM
Subject: Tabbedpanel issue


>
> Hello,
>
> 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....
>
> Srikanth.
>
> File: Home.jsp
>
>
< s:tabbedPanel id = "rtb1" % > ">
    < s:div id = "1" label = "Administration" theme = "ajax" labelposition =
"top" >
< s:tabbedPanel id = "rtb1" % > ">

<!-- Why? -->
< s:div id = "1" label = "Administration" theme = "ajax" labelposition =
"top" >

<!-- Why? -->
< s:div id = "1" label = "Administration" theme = "ajax" labelposition =
"top" >
</ s:div >

</ s:div >
<s:div id = "admin" label = "User" theme = "ajax" href = "setProfile.action"
refreshOnShow = "true" >

<!-- Why? -->
<s:div id = "admin" label = "User" theme = "ajax" href = "setProfile.action"
refreshOnShow = "true" >
   < jsp:include page = "/pages/setProfile.jsp" >
<!-- Why? -->
   </ jsp:include > < jsp:include page = "/pages/setProfile.jsp" ></
jsp:include >
 </ s:div >

</ s:div >

< s:div id = "prov" label = "Provisioning" theme = "ajax" >
<!-- Why? -->
< s:div id = "prov" label = "Provisioning" theme = "ajax" >
< jsp:include page = "/pages/provisioningHome.jsp" ></ jsp:include >
<!-- Why? -->
< jsp:include page = "/pages/provisioningHome.jsp" ></ jsp:include >

</ s:div >
</ s:div >

</ s:tabbedPanel >
</ s:tabbedPanel >

> File: setProfile.jsp
>
>
>
> < s:form action = "/setProfile.do" method = "POST" validate = "true" >
s:form action = "/setProfile.do" method = "POST" validate = "true" >
>
> < tr > < tr >
>
> < td colspan = "2" > Set Profile </ td > < td colspan = "2" > Set Profile
</ td >
>
> </ tr > </ tr >
>
>
>
> < tr > < tr >
>
> < td colspan = "2" >< s:actionerror />< s:actionmessage /></ td > < td
colspan = "2" >< s:actionerror />< s:actionmessage /></ td >
>
> </ tr > </ tr >
>
>
>
> < s:textfield name = "userId" label = "User Id" /> < s:textfield name =
"userId" label = "User Id" />
>
> < s:textfield name = "name" label = "User Name" /> < s:textfield name =
"name" label = "User Name" />
>
> < s:textfield name = "profile" label = "Profile" /> < s:textfield name =
"profile" label = "Profile" />
>
> < s:submit value = "Add Profile" align = "center" />
>
> </ s:form > < s:submit value = "Add Profile" align = "center" />
>
> </ s:form > s:form >
>
> ---------------------------------------------------------------------
> 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]

Reply via email to