You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Henrik Schlanbusch <he...@enovate.no> on 2008/11/13 12:17:10 UTC

T4.1.6 problems with ajax - prototype

Hi and thanks for a good and extremely responsive
group!

I have a project where i use T4.1.6 in combination
with prototype. I use the Ajax.updater to perform
ajax operations. But When I use this, the rendering
of pages gets extremely slow. Is there any reason
for this?

new Ajax.Updater(
  placeholder,
  url,{
	method: 'get',
        evalScripts: true,
        onSuccess: function() {
           var event = new NamedBaseObjectEvent
           ('applicationController', 'UPDATE', 
           className, primKey, context);
           ApplicationController.eventOccurred(event);
         }
       }
    );

I get the response that I want, but the time to render 
is extremely slow (for simple pages it may be up to
3-4 seconds).

Henrik


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


Re: T4.1.6 problems with ajax - prototype

Posted by Andreas Andreou <an...@gmail.com>.
Never used the combination but i think someone has mentioned a similar
problem a long time ago
at the tacos mailing list - probably using T4.0 + tacos4.0(=dojo) +
prototype (on his own)

Perhaps searching those archives can shed some light.

On Thu, Nov 13, 2008 at 1:17 PM, Henrik Schlanbusch <he...@enovate.no> wrote:
> Hi and thanks for a good and extremely responsive
> group!
>
> I have a project where i use T4.1.6 in combination
> with prototype. I use the Ajax.updater to perform
> ajax operations. But When I use this, the rendering
> of pages gets extremely slow. Is there any reason
> for this?
>
> new Ajax.Updater(
>  placeholder,
>  url,{
>        method: 'get',
>        evalScripts: true,
>        onSuccess: function() {
>           var event = new NamedBaseObjectEvent
>           ('applicationController', 'UPDATE',
>           className, primKey, context);
>           ApplicationController.eventOccurred(event);
>         }
>       }
>    );
>
> I get the response that I want, but the time to render
> is extremely slow (for simple pages it may be up to
> 3-4 seconds).
>
> Henrik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

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