Thanks for the answer, I used DWR but I didn't use it for reverse ajax

On Thu, Sep 24, 2009 at 1: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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to