Yes, actually i am trying to use DWR with T5IOC services only, just testing to make hopefully a simple ajax game. I wonder how that will scale since its pretty much lightweight to use both. On side note, i finally manage to configure my DWR to work. Thanks for the help guys.
Andreas Andreou-4 wrote: > > Well, the other idea is that you could expose T5IOC services to the > web through DWR. > On the other hand, there's > http://code.google.com/p/t5-restful-webservices/ for that, so ... > > > On Thu, Sep 24, 2009 at 7:32 PM, Peter Stavrinides > <p.stavrini...@albourne.com> wrote: >> DWR is reverse AJAX, for comet (or push requests), which Tapestry doesn't >> provide. >> >> -- >> If you are not an intended recipient of this e-mail, please notify the >> sender, delete it and do not read, act upon, print, disclose, copy, >> retain or redistribute it. Please visit >> http://www.albourne.com/email.html for important additional terms >> relating to this e-mail. >> >> ----- Original Message ----- >> From: "Alfonso Quiroga" <alfonsose...@gmail.com> >> To: "Tapestry users" <users@tapestry.apache.org> >> Sent: Thursday, 24 September, 2009 19:11:21 GMT +02:00 Athens, Beirut, >> Bucharest, Istanbul >> Subject: Re: DWR and Tapestry5 >> >> I have used DWR a lot with struts2.. by now I didn't develop any >> ajax-components in T5, but I don't think it would be hard.. so the >> question is, why use DWR in T5? >> >> On Thu, Sep 24, 2009 at 12:54 PM, <p.stavrini...@albourne.com> wrote: >>> Okay so here is a quick sample I dug up: >>> >>> <script type="text/javascript"> >>> <!--// >>> >>> dwr.engine.setActiveReverseAjax(true); >>> >>> //Some callback function in ConsoleMessage.tml >>> function display(data,component) { >>> document.getElementById(component).innerHTML = >>> data; >>> >>> document.getElementById(component).setAttribute("class", >>> "serverConsole"); >>> } >>> >>> //--> >>> </script> >>> >>> /** ConsoleMessage.class */ >>> �...@setuprender >>> void SetupRender() { >>> renderSupport_.addScriptLink(request_.getContextPath() >>> + "/dwr/engine.js"); >>> renderSupport_ >>> .addScriptLink(request_.getContextPath() >>> + "/dwr/util.js"); >>> renderSupport_.addScriptLink(request_.getContextPath() >>> + "/dwr/interface/ConsoleMessage.js"); >>> } >>> >>> So try it and let me know. >>> >>> Cheers, >>> Peter >>> >>> ----- Original Message ----- >>> From: "Peter Stavrinides" <p.stavrini...@albourne.com> >>> To: "Tapestry users" <users@tapestry.apache.org> >>> Sent: Thursday, 24 September, 2009 18:45:40 GMT +02:00 Athens, Beirut, >>> Bucharest, Istanbul >>> Subject: Re: DWR and Tapestry5 >>> >>>> I can't recall if the ignored paths filter was already present in >>>> 5.0.18 >>> pretty sure it was Thiago >>> >>> cheers, >>> Peter >>> >>> -- >>> If you are not an intended recipient of this e-mail, please notify the >>> sender, delete it and do not read, act upon, print, disclose, copy, >>> retain or redistribute it. Please visit >>> http://www.albourne.com/email.html for important additional terms >>> relating to this e-mail. >>> >>> ----- Original Message ----- >>> From: "Thiago H. de Paula Figueiredo" <thiag...@gmail.com> >>> To: "Tapestry users" <users@tapestry.apache.org> >>> Sent: Thursday, 24 September, 2009 18:36:19 GMT +02:00 Athens, Beirut, >>> Bucharest, Istanbul >>> Subject: Re: DWR and Tapestry5 >>> >>> Have you tried Tapestry 5.1.0.5? I can't recall if the ignored paths >>> filter was already present in 5.0.18, which is a beta version. >>> >>> -- >>> Thiago H. de Paula Figueiredo >>> Independent Java consultant, developer, and instructor >>> http://www.arsmachina.com.br/thiago >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > > -- > Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr > Tapestry / Tacos developer > Open Source / JEE Consulting > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > -- View this message in context: http://www.nabble.com/DWR-and-Tapestry5-tp25576539p25607134.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org