Hi.
How can I get the result of a form that is originally inside a
sx:tabbedpanel sx:div inside of the same sx:div?

probably the answer is ajax calls, but I don't know ajax calls and I
am in kind of a hurry. (So no time to learn very difficult ajax stuff)

I would like to have the results inside the same sx:div and not a
completely new jsp reloaded.

currently I have something like :
<sx:tabbedpanel id="mainContainer" >
        <sx:div label="Upload Files"
                        href="ShowFileUpload.action"
                        closable="false">
                        loading ShowFileUploadView.jsp
        </sx:div>
        <sx:div label="View Files"
                        cssStyle="height:200px;margin:20%;"
                        href="ShowFiles.action">
                        
        </sx:div>
</sx:tabbedpanel>

when click in the submit button (DoUpload.action) inside
ShowFileUploadView.jsp I have the complety page reloaded which is
obvious since I have struts.xml like  this.

                <action name="DoUpload" class="userPackage.UploadAction">
                        <result 
name="input">/jsp/ShowFileUploadView.jsp</result>
                        <result 
name="error">/jsp/ShowFileUploadView.jsp</result>
                        <result>/jsp/FileUploadSuccessView.jsp</result>
                </action>


How can change my jsp or my struts.xml in order to have my result
inside the original tab ?
Thanks

Ignacio.

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

Reply via email to