struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cpanon <cpa...@yahoo.com>
Subject RE: Struts w/Ajax with Struts again
Date Tue, 21 Jul 2009 17:09:43 GMT
Hi Martin
Yes, I did in the line defining both the initial action to bring up the form and the action
tasked with processing the Ajax call.  Also I put in the Ajax processing action specific
setSeeMe("fromAjaxAction") and set that in both the request and the session objects.  Still
nothing but what the first default process set.  The changes set in the Ajax action did not
show no matter what life-cycle object they were put in nor what scope the action was defined. 
This should not be the case, correct?  If I set the scope to request, and if I set a change
in a actionForm and set it in the request, I should see it on the forwarded form.  tia.

--- On Mon, 7/20/09, Martin Gainty <mgainty@hotmail.com> wrote:

From: Martin Gainty <mgainty@hotmail.com>
Subject: RE: Struts w/Ajax with Struts again
To: "Struts Users Mailing List" <user@struts.apache.org>
Date: Monday, July 20, 2009, 10:18 AM


did you check scope="request" in struts-config.xml 

as earlier suggested

Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 
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: Mon, 20 Jul 2009 03:36:36 -0700
> From: cpanon@yahoo.com
> Subject: Re: Struts w/Ajax with Struts again
> To: user@struts.apache.org
> 
> Hi PW
> But I cant access the session objects with JS, nor can I iterate the collections I have
in the session to display the updated values that were written in the Ajax processing action. 
Correct?
> 
> --- On Mon, 7/20/09, Paweł Wielgus <poulwiel@gmail.com> wrote:
> 
> From: Paweł Wielgus <poulwiel@gmail.com>
> Subject: Re: Struts w/Ajax with Struts again
> To: "Struts Users Mailing List" <user@struts.apache.org>
> Date: Monday, July 20, 2009, 2:18 AM
> 
> Hi cpanon,
> 
> > I am looking for the simplest technique that would reprocess the session objects
from the new values, regenerate the full jsp,
> 
> then just refresh the whole page, by javascript after completion of ajax.
> Or do not use ajax at all, this will be most simple solution for You.
> 
> Best greetings,
> Paweł Wielgus.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Windows Live™ Hotmail®: Celebrate the moment with your favorite sports pics. Check it out.
http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_photos_072009&cat=sports
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message