Re: [S2+AJAX]Which ajax libray did you use?

2008-01-18 Thread Ted Husted
On Jan 17, 2008 10:20 PM, Tony Zhang [EMAIL PROTECTED] wrote: For YUI + struts2, do you prefer to use YUI plugin for struts2 or just use YUI directly? Do we need to use DWR to transfter data? You can just use YUI directly. Essentially, what's being replaced is the JSPs. With Ajax, we can start

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-18 Thread Ted Husted
Check out the Slides and WAR from the AE session. * http://www.StrutsUniversity.org/Coding+Ajax+Applications+with+Struts I could extract a hello world example from these, but it might be a few days. HTH, Ted http://www.StrutsMentor.com/ On Jan 18, 2008 7:52 AM, bhaarat Sharma [EMAIL

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-18 Thread bhaarat Sharma
is there a tutorial that shows how to set up struts 2 to use YUI. just a simple hello world. thanks -bhaarat On Jan 18, 2008 7:10 AM, Ted Husted [EMAIL PROTECTED] wrote: Under the heading, does Ajax need a web framework, there's an interesting nope blog here: *

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-18 Thread Jayson Joseph Chacko
You may find this also useful. http://www.struts2.org/creating-a-cascading-application-menu-using-struts2-and-yui/ On Jan 18, 2008 6:29 PM, Ted Husted [EMAIL PROTECTED] wrote: Check out the Slides and WAR from the AE session. *

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-18 Thread bhaarat Sharma
that is an awesome site for struts2. has lot of good examples !! On Jan 19, 2008 2:36 AM, Jayson Joseph Chacko [EMAIL PROTECTED] wrote: You may find this also useful. http://www.struts2.org/creating-a-cascading-application-menu-using-struts2-and-yui/ On Jan 18, 2008 6:29 PM, Ted Husted

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread tzhang
Thanks to Jeromy and Ted , your comments definitely help me a lot. I looked through the YUI website, the widgets are quite rich. I still concern about if I want to use the Struts2 + YUI, I have to know pretty much about the YUI , right? Is YUI easy to learn and use? Since our developers don't

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Ted Husted
On Jan 17, 2008 7:07 AM, tzhang [EMAIL PROTECTED] wrote: Thanks to Jeromy and Ted , your comments definitely help me a lot. I looked through the YUI website, the widgets are quite rich. I still concern about if I want to use the Struts2 + YUI, I have to know pretty much about the YUI ,

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Jeromy Evans
* http://developer.yahoo.com/yui/theater/ (Really, do this today!) I completely agree with Ted! My only word of caution is that YUI is oriented towards software developers. Creatives are probably going to prefer libraries like Mootools that provide simple to use widgets that you

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Frank W. Zammetti
I definitely found YUI to be a pleasant experience as well while writing the chapter on it my second book. It's one of the easier libraries to pick up, even for novice JS programmers, which is something I've heard frequently from many different sources. That's not something you can say about a

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Tony Zhang
Thanks you again for reply my question. I got another question, For YUI + struts2, do you prefer to use YUI plugin for struts2 or just use YUI directly? Do we need to use DWR to transfter data? Ted, I looked through your sample struts-pim.war. In that sample, you don't use YUI plugin for

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Frank W. Zammetti
Tony Zhang wrote: For YUI + struts2, do you prefer to use YUI plugin for struts2 or just use YUI directly? I'm probably not the best person to answer that because I'm frankly not using S2 at the moment and have never looked at the YUI plugin. If you're comfortable with Javascript coding

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Jeromy Evans
Frank W. Zammetti wrote: Tony Zhang wrote: For YUI + struts2, do you prefer to use YUI plugin for struts2 or just use YUI directly? I'm probably not the best person to answer that because I'm frankly not using S2 at the moment and have never looked at the YUI plugin. If you're comfortable

[S2+AJAX]Which ajax libray did you use?

2008-01-16 Thread tzhang
I am doing some research ajax+struts2. you know struts2.0 has the built-in supprot for ajax based on Dojo, but I found the components is not very rich, only have some basic function. I know there are a lot of ajax components for JSF. So what did you do for struts2, develop your costom widgets or

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-16 Thread Adam Ruggles
ExtJS and jQuery. On Jan 16, 2008 5:56 PM, tzhang [EMAIL PROTECTED] wrote: I am doing some research ajax+struts2. you know struts2.0 has the built-in supprot for ajax based on Dojo, but I found the components is not very rich, only have some basic function. I know there are a lot of ajax

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-16 Thread Jeromy Evans
You can use any client-side library you choose with Struts2. There's no reason why you should encounter incompatibilities provided the library can handle html, xml or json responses from your actions. I used Dojo 0.4 a lot but have completely moved over to YUI now. My main frustration with

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-16 Thread Ted Husted
I'm a fan of YUI myself. A good way to go with Struts/Ajax integration is to make an ordinary request to an action, and then return a JSON response. This provides the benefits of JSON, but avoid some of the overhead of a JSON/RPC call. I actually did a presentation at the Boston Ajax Experience