.
> Date: Thu, 23 Jul 2009 09:39:51 -0400
> From: newton.d...@yahoo.com
> To: user@struts.apache.org
> Subject: Re: Struts w/Ajax with Struts again
>
> cpanon wrote:
> > What I was able to reproduce was that if I enter the action with an
> > Ajax call, us
cpanon wrote:
What I was able to reproduce was that if I enter the action with an
Ajax call, using prototype, and return with
mapping.getInputForward(), the session objects do not get updated;
even though I update them in the action. If, however I enter the
action with a click off a html:submit
the action was called?
--- On Tue, 7/21/09, Martin Gainty wrote:
From: Martin Gainty
Subject: RE: Struts w/Ajax with Struts again
To: "Struts Users Mailing List"
Date: Tuesday, July 21, 2009, 3:08 PM
post the complete contents of struts-config.xml
event timing is crucial sp
Martin Gainty wrote:
post the complete contents of struts-config.xml
event timing is crucial specifically you'll need your Ajax control to detect
ON_COMPLETE
a fairly comprehensive example of handling ON_COMPLETE at
http://struts.apache.org/2.0.14/docs/ajax-validation.html
any objections to
ion 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 wrote:
>
> From: Martin Gainty
set it in the request, I should see it on the
forwarded form. tia.
--- On Mon, 7/20/09, Martin Gainty wrote:
From: Martin Gainty
Subject: RE: Struts w/Ajax with Struts again
To: "Struts Users Mailing List"
Date: Monday, July 20, 2009, 10:18 AM
did you check scope="request&q
Mon, 20 Jul 2009 03:36:36 -0700
> From: cpa...@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 val
gt;
> --- On Mon, 7/20/09, Paweł Wielgus wrote:
>
> From: Paweł Wielgus
> Subject: Re: Struts w/Ajax with Struts again
> To: "Struts Users Mailing List"
> Date: Monday, July 20, 2009, 2:18 AM
>
> Hi cpanon,
>
>> I am looking for the simplest technique that wou
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 wrote:
From: Paweł Wielgus
Subject: Re: Struts w/Ajax with
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 gree
09, Nils-Helge Garli Hegvik wrote:
From: Nils-Helge Garli Hegvik
Subject: Re: Struts w/Ajax with Struts again
To: "Struts Users Mailing List"
Date: Sunday, July 19, 2009, 9:56 AM
The form will not be updated unless you refresh the values or the part
of the page that displays the values
manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Sun, 19 Jul 2009 05:34:00 -0700
> From: cpa...@yahoo.com
> Subject: RE: Struts w/Ajax with Struts again
> To: user@struts.apache.org
>
> Hi Martin
> Thanks, however I havnt m
The form will not be updated unless you refresh the values or the part
of the page that displays the values you want to be updated. So you
would have to "manually" do this processing some returned updated
values in a json result, or by returning the result of a "partial" jsp
which re-renders the pa
processing.
--- On Sat, 7/18/09, Martin Gainty wrote:
From: Martin Gainty
Subject: RE: Struts w/Ajax with Struts again
To: "Struts Users Mailing List"
Date: Saturday, July 18, 2009, 11:37 PM
better off setting it in the action
then access it thru ognl e.g.
#session.setS
7:26 -0700
> From: cpa...@yahoo.com
> Subject: RE: Struts w/Ajax with Struts again
> To: user@struts.apache.org
>
> Hi Martin
> Thank you. So I may be misunderstanding something. If I return to the Ajax
> call with mapping.getInputForward() for the defined input attribute
rganically" expect to see. Can you clarify
this? tia.
--- On Sat, 7/18/09, Martin Gainty wrote:
From: Martin Gainty
Subject: RE: Struts w/Ajax with Struts again
To: "Struts Users Mailing List"
Date: Saturday, July 18, 2009, 9:32 PM
ajax's responsibility is to return eit
é que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Fri, 17 Jul 2009 18:45:18 -0700
> From: cpa...@yahoo.com
> Subject: Struts w/Ajax with Struts again
> To: user@struts.apache.org
>
Hello
I am able to use an Ajax call to a struts action and with getInputForward() get
the get the data back. (With prototpye and json, very, very elegant). I am
now realizing that I have cases where I want to reprocess all components, i.e.
I want the actionForm to be updated and the jsp recal
cation (ajax with struts) just similar
to
mailreader or showcase which will be useful for learning.
Or any tutorial links which will be useful for learning Struts 2 and Ajax
with Struts2 .
Thanks
siva
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
That page isn't actually about AjaxTags, it's about Ajax with Struts in
general. It does of course mention AjaxTags :)
In any case, all changed... I also did some updating of that page while
I was at it :)
Frank
Michael Jouravlev wrote:
No one owns wiki :) I just wanted to struc
icles, Tutorials, FAQ's and Tips" section, don't you? You've become
pretty much the God of the Wiki though, so I didn't want to go move it
on you myself :)
Rauf Khan wrote:
> Hi All,
>
>I wanted to integrate Ajax with struts. Pls let me the link/tutorial
> fr
I didn't want to go move it
on you myself :)
Rauf Khan wrote:
Hi All,
I wanted to integrate Ajax with struts. Pls let me the link/tutorial
from where i could get the information.
Thanks in Advance.
Regards
Rauf Khan
--
Frank W. Zammetti
Founder and Chief Software Archi
Hi All,
I wanted to integrate Ajax with struts. Pls let me the link/tutorial
from where i could get the information.
Thanks in Advance.
Regards
Rauf Khan
For POST method add this in your code:
XHR.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
On 4/11/06, vijay r <[EMAIL PROTECTED]> wrote:
> Yes, that was the problem.
>
> I changed the POST parameter to GET in http.open(); and its working. Keeping
> it POST and passing the
hen they will show up on the
server as parameters instead of attributes.
Bryan LaPlante
-- Original Message ---
From: "vijay r" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tue, 11 Apr 2006 13:30:47 +0530
Subject: Re: {Maybe OT} Ajax with
Yes, that was the problem.
I changed the POST parameter to GET in http.open(); and its working. Keeping
it POST and passing the parameters in send() does not work.
Anyways, making it GET works and thats what I need. But what could be the
problem?
regards,
vijay.
On 4/11/06, Michael Jouravlev <
On 4/10/06, vijay r <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I used AJAX to fill details for a corrosponding selected value listed in a
> combo box. So for a particular registration number, the details of the
> vehicle are filled.
>
> On the onchange() event of the combo box, I am calling a JavaScri
Hello,
I used AJAX to fill details for a corrosponding selected value listed in a
combo box. So for a particular registration number, the details of the
vehicle are filled.
On the onchange() event of the combo box, I am calling a JavaScript function
which creates a XmlHttpRequest with the url = "
On 3/23/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Hello,
>
> The first thing I would suggest is this is one of those cases where the
> X in AJAX probably isn't appropriate. Remember that there is NO
> requirement to use XML when doing AJAX (although I suppose it isn't AJAX
> then strictly
Hello,
The first thing I would suggest is this is one of those cases where the
X in AJAX probably isn't appropriate. Remember that there is NO
requirement to use XML when doing AJAX (although I suppose it isn't AJAX
then strictly speaking).
Take Google Suggests for example. They are not pa
Joel Alejandro Espinosa Carra wrote the following on 3/23/2006 3:45 PM:
I'm worried about the load of the database beacuse this action is
called from a javascript event "onkeyup()" this means that the action
will be executed every time when user press a key in the field, is
there an other way to
Hello all,
I'm coding a simple action that retrieves some data from the database in
order to create an xml object for an ajax-based autocomplete field, I'm
worried about the load of the database beacuse this action is called
from a javascript event "onkeyup()" this means that the action will b
32 matches
Mail list logo