Martin, Could you be more specific? I think that what I need is not update is actually reload a new content inside the div. (this content is not static, it depends on the initial form input)
I am looking for some info but all I found is for struts1 and is old.... not really useful anymore in Struts 2.1.6 From: Martin Gainty <mgai...@hotmail.com> Date: Tue, Sep 8, 2009 at 11:31 AM Subject: RE: how to get the result of a form inside of a sx:tabbedpanel div? To: nach...@gmail.com <sx:div href="%{#url}" updateFreq="2000" indicator="indicator"> Initial Content </sx:div> "the initial content will me updated to URL contents" el contenido inicial será puesto al día por el resultado contento del URL definido tan poniendo en http://www.google.com/#hl=en&source=hp&q=struts&fp=3aa7f458acaa2672 volverá todas las entradas de google para que los puntales substituyan el contenido inicial para dentro de div http://struts.apache.org/2.0.14/docs/dojo-div.html Martin Gainty ______________________________________________ Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Ez az üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Tue, 8 Sep 2009 11:00:33 +0900 > Subject: how to get the result of a form inside of a sx:tabbedpanel div? > From: nach...@gmail.com > To: user@struts.apache.org > > 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 > ________________________________ With Windows Live, you can organize, edit, and share your photos. Click here. -- ________________________________ 慶應義塾大学大学院 理工学研究科 開放環境科学専攻 斎藤英雄研究室 修士1年 Guillermo Ignacio Enriquez G. e-mail : nach...@hvrl.ics.keio.ac.jp ________________________________ _____________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org