Thank a lot for your answer. I read in this article http://jroller.com/page/jcarreira?entry=re_script_aculo_us_vs that WebWork want use dojo. I think Struts2 wants to use dojo because there is more widget than scriptaculous. I think that if Struts2 doesn't integrate dojo in the distribution, prototype/scriptaculous will be not use.
I know prototype/scriptaculous, but not dojo. But if Struts2 will not integrate scriptaculous, I will learn to use dojo. Nevertheless, I'm afraid that with dojo we can't write valid XHTML and that some effects like drag/drop of dojo will be not as good as drag/drop of scriptaculous. Regards Angelo 2006/11/4, Frank W. Zammetti <[EMAIL PROTECTED]>:
Well, I certainly can't answer for those developing Struts, however, I've always been under the impression that the mentality was to not force one AJAX library or another on Struts 2 developers... yes, Dojo is used now, but there's no one pushing you to use it if you'd prefer something else, no one is saying Dojo is it and nothing else should be considered (I'd be willing to say a lot of people feel Dojo *is* the way to go, but I don't think there's anything taking away your choice)... indeed, there is active work being done to integrate DWR that I'm aware of, and also I believe I've seen discussion of AjaxTags integration (although I think that depends on Dojo as well, I may be mistaken there, I haven't kept up lately as well as I'd like). And yes, I think the approach you'd want to take is create a scriptaculous theme (and again, someone will correct me if I'm wrong)... whether it should extend xhtml theme or not I can't really answer because I haven't looked at the theme support in enough detail to know... it doesn't *sound* wrong to me though :) Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! On Sat, November 4, 2006 1:51 pm, Angelo zerr wrote: > Thank you frank for your answer. > According to your explanation, I must create new theme scriptaculous which > extends xhtml theme. > > There is compete between several AJAX framework like dojo, prototype,... > I'm > under the impression that Struts2 want use dojotoolkit. What's Struts2 > choice? Use only dojo? Integrate another framework, like > prototype/scriptaculous? > > Regards Angelo > > > Struts 2 will use > > 2006/11/4, Frank W. Zammetti <[EMAIL PROTECTED]>: >> >> As I understand it, and someone will correct me if I'm wrong, with >> Struts >> 2 you can create a new theme to use whatever toolkit you'd like. >> >> Frank >> >> >> -- >> Frank W. Zammetti >> Founder and Chief Software Architect >> Omnytex Technologies >> http://www.omnytex.com >> AIM/Yahoo: fzammetti >> MSN: [EMAIL PROTECTED] >> Author of "Practical Ajax Projects With Java Technology" >> (2006, Apress, ISBN 1-59059-695-1) >> Java Web Parts - http://javawebparts.sourceforge.net >> Supplying the wheel, so you don't have to reinvent it! >> >> On Sat, November 4, 2006 11:57 am, Angelo zerr wrote: >> > Hi, >> > I downloaded and studied struts 2, and I find the new concepts of >> struts2 >> > (I'm struts 1.2.9 user) very pleasant. >> > In struts2 distribution, UI Ajax component are based on dojo toolkit. >> My >> > question is : dojo will be the only ajax implementation in struts2? >> > Or have you intention to integrate other AJAX frameworks like >> prototype, >> > scriptaculous? >> > >> > I send my question because I'm developping taglib for manage ui with >> Ajax >> > (slider, treeview ) on my project JSControlsTags at >> > http://jscontrolstags.sourceforge.net/ >> > and I have intention to develop AjaxMessageQueue to receive for >> instance >> > logs of log4j into client console. >> > >> > I would like see how JSControlsTags could add new control for struts2, >> but >> > my project is based on Prototype and Scriptaculous libraries (not >> dojo). >> > >> > Thank you for your answer >> > >> > Regards Angelo >> > >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]