Re: Help adding Struts to AJAX impl

2006-02-03 Thread bryan.laplante
ers List" Sent: Wed, 1 Feb 2006 15:43:57 -0500 (EST) Subject: Re: Help adding Struts to AJAX impl > On Wed, February 1, 2006 3:35 pm, [EMAIL PROTECTED] said: > > I would need to write an AJAXAction that could in turn be extended by the > > code r so that I could control the r

Re: Help adding Struts to AJAX impl

2006-02-02 Thread Ian Roughley
We are using the dojo toolkit in WebWork - this allows client side events. So, from the first component you would specify a "notifyTopic" name (arbitrary), and then on the second component specify the same name for the "listenTopic". Topics can also be bound to specific javascript functions i

Re: Help adding Struts to AJAX impl

2006-02-01 Thread Bryan LaPlante
XOServiceFactory.destroy(); } return forward; } } - Original Message - From: "Frank W. Zammetti" <[EMAIL PROTECTED]> To: "Struts Developers List" Sent: Wednesday, February 01, 2006 11:59 PM Subject: Re: Help adding Struts to AJAX impl > > Laurie Harper wrote: &

Re: Help adding Struts to AJAX impl

2006-02-01 Thread Frank W. Zammetti
Laurie Harper wrote: Sounds like it'd be a lot easier to just fire the first request with a handler function that fires the next request, and so on, using onreadystatechange. I would agree with that, *IF* the requests being sent are always the same and *IF* they are always in the same order.

Re: Help adding Struts to AJAX impl

2006-02-01 Thread Laurie Harper
Sounds like it'd be a lot easier to just fire the first request with a handler function that fires the next request, and so on, using onreadystatechange. L. Frank W. Zammetti wrote: No Wendy, you are correct in your explanation :) I see Ajax in Action is serving you well :) I wouldn't expe

Re: Help adding Struts to AJAX impl

2006-02-01 Thread Frank W. Zammetti
What I should have said too is that if you want to discuss this further, feel free to contact me off-list, or start a new thread to explore it. We don't want to hijack the original thread :) Frank Frank W. Zammetti wrote: No Wendy, you are correct in your explanation :) I see Ajax in Action

Re: Help adding Struts to AJAX impl

2006-02-01 Thread Frank W. Zammetti
No Wendy, you are correct in your explanation :) I see Ajax in Action is serving you well :) I wouldn't expect it to be the best answer though because that parameter blocks *all* Javascript, not just further XMLHttpRequest's. What you will probably want to do Michael is build up a queue on t

Re: Help adding Struts to AJAX impl

2006-02-01 Thread Wendy Smoak
On 2/1/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Hi, Ajax gurus, I have an OT question: how to ensure the proper order > of several XHRs? I found how to create several XHRs simultaneously, > but I have a requirement: to wait for the first request to return > before firing the second, (Ha

Re: Help adding Struts to AJAX impl

2006-02-01 Thread Michael Jouravlev
Hi, Ajax gurus, I have an OT question: how to ensure the proper order of several XHRs? I found how to create several XHRs simultaneously, but I have a requirement: to wait for the first request to return before firing the second, because I need second request to pick up server state updated by firs

Re: Help adding Struts to AJAX impl

2006-02-01 Thread [EMAIL PROTECTED]
ot; Sent: Wed, 1 Feb 2006 15:43:57 -0500 (EST) Subject: Re: Help adding Struts to AJAX impl > On Wed, February 1, 2006 3:35 pm, [EMAIL PROTECTED] said: > > I would need to write an AJAXAction that could in turn be extended by the > > coder so that I could control the response bac

Re: Help adding Struts to AJAX impl

2006-02-01 Thread Frank W. Zammetti
On Wed, February 1, 2006 3:35 pm, [EMAIL PROTECTED] said: > I would need to write an AJAXAction that could in turn be extended by the > coder so that I could control the response back from the servlet. Ok I > just > thought of a gotcha for this approach. If the client is expecting a > specific > xm

Re: Help adding Struts to AJAX impl

2006-02-01 Thread [EMAIL PROTECTED]
, 1 Feb 2006 14:46:34 -0500 (EST) Subject: Re: Help adding Struts to AJAX impl > Actually, that's another way to go, a Filter. However, I was actually > referring to the fact that Struts 1.3 uses a composable request processor > based around the CoR pattern. With that, you can modify

Re: Help adding Struts to AJAX impl

2006-02-01 Thread Frank W. Zammetti
" <[EMAIL PROTECTED]> > To: "Struts Developers List" > Cc: "Struts Developers List" > Sent: Wed, 1 Feb 2006 10:22:27 -0500 (EST) > Subject: Re: Help adding Struts to AJAX impl > >> Hi Bryan, >> >> I'm not sure I'm clear on what

Re: Help adding Struts to AJAX impl

2006-02-01 Thread [EMAIL PROTECTED]
> To: "Struts Developers List" Cc: "Struts Developers List" Sent: Wed, 1 Feb 2006 10:22:27 -0500 (EST) Subject: Re: Help adding Struts to AJAX impl > Hi Bryan, > > I'm not sure I'm clear on what your trying to do... it sounds like you > have a separ

Re: Help adding Struts to AJAX impl

2006-02-01 Thread Frank W. Zammetti
> - Original Message - > From: <[EMAIL PROTECTED]> > To: > Sent: Friday, January 27, 2006 1:27 PM > Subject: Help adding Struts to AJAX impl > > >> Hello fellow developers, >> >> I am new to your list. I have enjoyed using Struts for about 3 years >>

Re: Help adding Struts to AJAX impl

2006-02-01 Thread Bryan LaPlante
. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, January 27, 2006 1:27 PM Subject: Help adding Struts to AJAX impl > Hello fellow developers, > > I am new to your list. I have enjoyed using Struts for about 3 years now. I > have searched the dev archive concerni

Help adding Struts to AJAX impl

2006-01-27 Thread [EMAIL PROTECTED]
Hello fellow developers, I am new to your list. I have enjoyed using Struts for about 3 years now. I have searched the dev archive concerning my current task and I am not sure how to word my query. I am coming up with a lot of results labeled as a commit to your code base. I have an AJAX implemen