Thank you. But the showcase didn't help me.
I actually can do what is showed in the showcase.
I'm able to call an action from inside the tab, and to show the resulting
jsp inside the tab again.
What I cannot achieve is to display inside the tab the result of the other
actions I call from the jsp displayed in it:

Page 1 has tbPanel1 inside. From tab1 of tbPanel1 I call Action1.action. 
Action1 success results in JSP1.jsp being showed in the tab1 correctly.
JSP1 contains a submit button that calls Action2.action. Action2 perform
some logic ecc..if there is an error, an error messagges is added and
Action2 returns error. JSP1.jsp (as result of error result type) should be
displayed again, inside the tab, with error messages.
The problem is that JSP1 is now displayed like a standalone page.






Paranoid_Fabio wrote:
> 
> Hello. I try to explain the problem as cleary as possible:
> I want to manage a jsp with two views: mainPage.jsp is a jsp with a tabbed
> panel. In the tabbed panel I've two tabs. In each tab calls an action and
> shows the resulting jsp correctly. Here's the code of mainPage.jsp tabbed
> panel:
> 
> <s:tabbedPanel id="upload_options">
>                               <s:url id="mu" action="showManual"/>
>                               <s:div id="manual_upload_tab" 
> key="ContentUploadMain.Option.1"
> theme="ajax"             href="%{mu}">
>                                       
>                               </s:div>
>                               <s:div id="auto_upload_tab" 
> key="ContentUploadMain.Option.2"
> theme="ajax">
>                               <s:text name="manual" />
>                       </s:div>
>                       </s:tabbedPanel>
> 
> where the second tab is not implemented. The first tab shows the jsp
> resulting from the call to the action "showManual", the jsp is
> "ManualContentUpload.jsp"
> When I post the form in this page, I get the ManualContentUpload action
> invoked:
> 
>  <action name="ManualContentUpload"
> class="actions.contents.upload.ManualUpload">
>         <result name="success">/pages/UploadSuccess.jsp</result>
>         <result name="error">/pages/ManualContentUpload.jsp</result>
>         <result name="input">/pages/ManualContentUpload.jsp</result>
>         <result name="upload_denied"
> type="redirect">/pages/UploadDenied.jsp</result>       
>      </action>
> 
> What I want is that all the resulting jsp's still be shown in the tab of
> the panel. How I can do this? 
> 
> Thank you for help!
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tabbed-panel-problem-tp15547053p15714586.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to