RE: Struts w/Ajax with Struts again

2009-07-23 Thread Martin Gainty
. > 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

Re: Struts w/Ajax with Struts again

2009-07-23 Thread Dave Newton
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

RE: Struts w/Ajax with Struts again

2009-07-23 Thread cpanon
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

Re: Struts w/Ajax with Struts again

2009-07-21 Thread Dave Newton
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

RE: Struts w/Ajax with Struts again

2009-07-21 Thread Martin Gainty
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

RE: Struts w/Ajax with Struts again

2009-07-21 Thread cpanon
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

RE: Struts w/Ajax with Struts again

2009-07-20 Thread Martin Gainty
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

Re: Struts w/Ajax with Struts again

2009-07-20 Thread Paweł Wielgus
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

Re: Struts w/Ajax with Struts again

2009-07-20 Thread cpanon
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

Re: Struts w/Ajax with Struts again

2009-07-19 Thread Paweł Wielgus
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

Re: Struts w/Ajax with Struts again

2009-07-19 Thread cpanon
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

RE: Struts w/Ajax with Struts again

2009-07-19 Thread Martin Gainty
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

Re: Struts w/Ajax with Struts again

2009-07-19 Thread Nils-Helge Garli Hegvik
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

RE: Struts w/Ajax with Struts again

2009-07-19 Thread cpanon
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

RE: Struts w/Ajax with Struts again

2009-07-18 Thread Martin Gainty
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

RE: Struts w/Ajax with Struts again

2009-07-18 Thread cpanon
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

RE: Struts w/Ajax with Struts again

2009-07-18 Thread Martin Gainty
é 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 >

Struts w/Ajax with Struts again

2009-07-17 Thread cpanon
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

Re: Good App for Ajax with struts

2007-03-01 Thread Musachy Barroso
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

Re: Ajax with struts

2006-07-24 Thread Frank W. Zammetti
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

Re: Ajax with struts

2006-07-24 Thread Michael Jouravlev
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

Re: Ajax with struts

2006-07-24 Thread Frank W. Zammetti
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

Ajax with struts

2006-07-24 Thread Rauf Khan
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

Re: {Maybe OT} Ajax with struts

2006-04-11 Thread Michael Jouravlev
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

Re: {Maybe OT} Ajax with struts

2006-04-11 Thread [EMAIL PROTECTED]
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

Re: {Maybe OT} Ajax with struts

2006-04-11 Thread vijay r
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 <

Re: {Maybe OT} Ajax with struts

2006-04-11 Thread 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

{Maybe OT} Ajax with struts

2006-04-10 Thread vijay r
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 = "

Re: ajax with struts

2006-03-23 Thread Mark Lowe
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

Re: ajax with struts

2006-03-23 Thread Frank W. Zammetti
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

Re: ajax with struts

2006-03-23 Thread Rick Reumann
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

ajax with struts

2006-03-23 Thread Joel Alejandro Espinosa Carra
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