Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
"DraegoonZ" McGranaghan http://www.draegoonZ.com 603-620-0854 [EMAIL PROTECTED] From: "Frank W. Zammetti" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: Struts and AJAX Date: Mon, 03 Jul 2006 18:51:43 -0400

Re: Struts and AJAX

2006-07-03 Thread draegoon Z
DESIGN BY DRAEGOONZ Joseph "DraegoonZ" McGranaghan http://www.draegoonZ.com 603-620-0854 [EMAIL PROTECTED] From: "Frank W. Zammetti" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: Struts and AJAX Dat

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
draegoon Z wrote: Why doesn't APT get this same response? What response does it get? As far as I can see, it *SHOULD* get the same response, the only difference would be what happens on the client-side with it. Why doesn't it get forwarded to the "input" page automatically, returning it i

Re: Struts and AJAX

2006-07-03 Thread draegoon Z
-- WEB DESIGN BY DRAEGOONZ Joseph "DraegoonZ" McGranaghan http://www.draegoonZ.com 603-620-0854 [EMAIL PROTECTED] From: "Frank W. Zammetti" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: R

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
draegoon Z wrote: That CodeExecuter is nice! Thanks! The interesting thing is that as of beta5, it doesn't matter what response handler you use, the script blocks will ALWAYS be executed. That's why there's a seemingly superfluous DoNothing handler... you may want to use that instead of Co

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
Michael Jouravlev wrote: Frank, please ignore my ignorance, Ignorance is thinking you know something when you don't... not knowing something you have no experience with isn't :) > if I understand correctly, an Action still returns a full page, but your JS engine parses the response and pull

Re: Struts and AJAX

2006-07-03 Thread draegoon Z
That CodeExecuter is nice! With dojo.io.bind() I use DWRUtil.setValue() to load the response into my , which doesn't execute any

Re: Struts and AJAX

2006-07-03 Thread Michael Jouravlev
On 7/3/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: draegoon Z wrote: > Sounds great so far, but I think I lost you on the first part. > Let's work through a simple problem... > > Let's say I have in my struts-config: > > > > > > scope="request" type="com.draegoonZ.action.MyAction"> >

Re: Struts and AJAX

2006-07-03 Thread Rick Reumann
Just wanted to say +1 for the JWP tags. Plus the support you get it is top-notch. Use them. On 7/3/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: draegoon Z wrote: > Sounds great so far, but I think I lost you on the first part. > Let's work through a simple problem... > > Let's say I have in

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
draegoon Z wrote: Sounds great so far, but I think I lost you on the first part. Let's work through a simple problem... Let's say I have in my struts-config: scope="request" type="com.draegoonZ.action.MyAction"> First, what happens if MyForm just simply returns an ActionError?

Re: Struts and AJAX

2006-07-03 Thread draegoon Z
" McGranaghan http://www.draegoonZ.com 603-620-0854 [EMAIL PROTECTED] From: "Frank W. Zammetti" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: Struts and AJAX Date: Mon, 03 Jul 2006 14:54:47 -0400 Goo

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
Good questions! Let me see if I can answer them... draegoon Z wrote: What about errors in the ActionForm? APT doesn't say anything at all about what happens on the server, so, the short answer is its up to you :) The longer answer is that each of the response handlers (as of the latest bet

Re: Struts and AJAX

2006-07-03 Thread draegoon Z
IL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: Struts and AJAX Date: Mon, 03 Jul 2006 14:03:45 -0400 Oops, messed up my own config file! Should be... to=to

Re: Struts and AJAX

2006-07-03 Thread draegoon Z
IL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: Struts and AJAX Date: Mon, 03 Jul 2006 14:03:45 -0400 Oops, messed up my own config file! Should be... to=to

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
reading and searching I did, I still didn't have a clue how to use all this stuff together. I hope this helps everyone. -Joe ----------- WEB DESIGN BY DRAEGOONZ Joseph "DraegoonZ" McGranaghan http://

Re: Struts and AJAX

2006-07-03 Thread Frank W. Zammetti
andle the forwarding instead of you struts config. If some has a way to do it with the config, I'd love to hear from you. BTW - I took the time to write this because after all the reading and searching I did, I still didn't have a clue how to use all this stuff together. I hope this helps everyone. -Joe ----------

RE: Struts and AJAX

2006-07-03 Thread draegoon Z
use all this stuff together. I hope this helps everyone. -Joe --- WEB DESIGN BY DRAEGOONZ Joseph "DraegoonZ" McGranaghan http://www.draegoonZ.com 603-620-0854 [EMAIL PROTECTED] From: chamal de

Re: Struts and AJAX

2006-07-03 Thread Jorge Martín Cuervo
I use struts + DWR to develope ajax applications. http://getahead.ltd.uk/dwr/ El lun, 03 de 07 de 2006 a las 05:57, chamal desilva escribió: > Hi, > > Can I use struts with AJAX. Does struts has classes > and tags for AJAX or do I have write my own code. > > Thanking You, > Chamal. > > __

Re: Struts and AJAX

2006-07-03 Thread C. Grobmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Can I use struts with AJAX. Does struts has classes > and tags for AJAX or do I have write my own code. i have used: * http://dojotoolkit.org/ with struts recently. I like this very much although this does not consist of taglibs but of pure javascri

Re: Struts and AJAX

2006-07-02 Thread Frank W. Zammetti
ECTED]> 03/07/2006 01:57 PM Please respond to "Struts Users Mailing List" To: user@struts.apache.org cc: Subject:Struts and AJAX Hi, Can I use struts with AJAX. Does struts has classes and tags for AJAX or do I have write my

Re: Struts and AJAX

2006-07-02 Thread thamizh arasu
Hi, For ur purpose struts is having ajaxtags. through which you can use ajax in your struts application. Refer http://ajaxtags.sourceforge.net/. chamal desilva <[EMAIL PROTECTED]> wrote: Hi, Can I use struts with AJAX. Does struts has classes and tags for AJAX or do I have write my own code.

Re: Struts and AJAX

2006-07-02 Thread paz . periasamy
quot;Struts Users Mailing List" To: user@struts.apache.org cc: Subject: Struts and AJAX Hi, Can I use struts with AJAX. Does struts has classes and tags for AJAX or do I have write my own code. Thanking You, Chamal. _

Struts and AJAX

2006-07-02 Thread chamal desilva
Hi, Can I use struts with AJAX. Does struts has classes and tags for AJAX or do I have write my own code. Thanking You, Chamal. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -

re: Struts and Ajax

2006-04-06 Thread mcmoisei
You also can do it transparently using ajaxanywhere.sourceforge.org Define a refresh zone around that dropdown you want to populate and then your onchange will do the regular re-post to bring data from server then instruct your zone to refresh and data will appear miracoulosly... :) There are

Re: Struts and Ajax

2006-04-06 Thread Frank W. Zammetti
On Thu, April 6, 2006 3:18 am, Madhav Bhargava said: > I do not want to put any Html generating logic inside my action class. Is > there any other elegant way in which i can generate the HTML for the drop > down. > > I can very well write different methods to generate the HTML code and then > call

re: Struts and Ajax

2006-04-06 Thread Dean, Michael
Madhav: I think the idea IS: Once your data stream (drop-down content) is returned to the page (onReadyStateChange()), you'll have a JavasScript handler in place to refresh your drop-down (you manipulate and re-render the DOM node using Javascript). It is all done on the front-end... See

Re: Struts and Ajax

2006-04-06 Thread [EMAIL PROTECTED]
t; <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thu, 6 Apr 2006 12:48:04 +0530 Subject: Struts and Ajax > Hi All, > > I have 2 drop downs in my JSP. One drop down gets populated based on the > value selected in the other drop down. At present this is done using a T

Re: Struts and Ajax

2006-04-06 Thread chuanjiang lo
go take a look at http://javawebparts.sourceforge.net they have a ajax dynamic double select servlet.. On 4/6/06, Madhav Bhargava <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have 2 drop downs in my JSP. One drop down gets populated based on the > value selected in the other drop down. At prese

Struts and Ajax

2006-04-06 Thread Madhav Bhargava
Hi All, I have 2 drop downs in my JSP. One drop down gets populated based on the value selected in the other drop down. At present this is done using a Tag handler call. The control goes to a rendering action which then forwards the call to the JSP. From within the JSP the tag handler is invoked p

Re: Struts and AJAX

2006-04-04 Thread Frank W. Zammetti
Struts Wiki page: http://wiki.apache.org/struts/AjaxStruts See especially the article referenced on this page for a decent introduction as well as example Struts app. Probably the best starting point. After that, have a look at AjaxTags here: http://javawebparts.sourceforge.net (Click jav

RE: Struts and AJAX

2006-04-04 Thread Rakesh.Bhat
5759-6873 Email : Rakesh.Bhat@ iflexsolutions.com -Original Message- From: thamizh arasu [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 10:27 AM To: user@struts.apache.org Subject: Struts and AJAX Hi, I have developed application with struts. now i want to use ajax in

Struts and AJAX

2006-04-04 Thread thamizh arasu
Hi, I have developed application with struts. now i want to use ajax in my struts application. using ajax we can avoid refreshing the whole page. instead of that it enough to refresh the part of the page. I like this functionality. if any one know the way to start struts with ajax please let m