struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paranoid_Fabio <paranoid_fa...@yahoo.it>
Subject Re: Tabbed panel problem
Date Tue, 19 Feb 2008 08:39:49 GMT

Yes. What I want to is to have the results of the action I call from inside
the div shown inside the div again.


Jeromy Evans - Blue Sky Minds wrote:
> 
> I don't quite understand what you're asking for, but I suspect:
>   - you're doing the right thing using a remote tab/remote div to load 
> html fragments into your tabs asynchronously, but;
>   - you also want to use the notifyTopics and listenTopics features of 
> these tags to trigger refreshing/reloads
> 
> See the topics section of 
> :http://struts.apache.org/2.0.11/docs/ajax-tags.html
> 
> 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!
>>
>>
>>
>>
>>
>>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message