Re: comet implementation issue

2010-05-29 Thread rajesh sukumaran
yes, you are right thread.sleep does not look like the right approach, it does not scale either. thanks - Original Message From: Thiago H. de Paula Figueiredo thiag...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Tue, 25 May, 2010 6:41:08 AM Subject: Re: comet

Re: comet implementation issue

2010-05-29 Thread rajesh sukumaran
Thanks for the inputs Peter. I had done some research on the ill effects of reverse AJAX but the advantages of having the feature outweighed its disadvantage. My idea of Jetty was that of a light weight embeddable HTTP server which can be used for unit testing or in situations where high load

Re: comet implementation issue

2010-05-29 Thread Robin Komiwes
For information, I think Jetty is powering Google App Engine. See: http://jetty.codehaus.org/jetty/ http://jetty.codehaus.org/jetty/ On Sat, May 29, 2010 at 8:59 AM, rajesh sukumaran rajeshs_...@yahoo.co.inwrote: Thanks for the inputs Peter. I had done some research on the ill effects of

Coercion error in onActivate

2010-05-29 Thread Daniel Henze
Dear Tapestry Users, I hope someone can help me with that issue, it's bugging me for a while now and I may not be able to see the obvious. In an edit page I am taking the user id as argument, but when calling the url with proper value /user/edit/2 I am getting an exception: Caused by:

Re: comet implementation issue

2010-05-29 Thread Thiago H. de Paula Figueiredo
On Sat, 29 May 2010 07:24:59 -0300, Robin Komiwes robin.komi...@gmail.com wrote: For information, I think Jetty is powering Google App Engine. See: http://jetty.codehaus.org/jetty/ GAE does use Jetty. By the way, Jetty is an Eclipse project now: http://www.eclipse.org/jetty/ -- Thiago

Re: Coercion error in onActivate

2010-05-29 Thread Thiago H. de Paula Figueiredo
On Sat, 29 May 2010 10:58:55 -0300, Daniel Henze dhe...@googlemail.com wrote: Dear Tapestry Users, Hi! I found a mail from Uli Staerk (http://osdir.com/ml/users-tapestry-apache/2009-01/msg00170.html) where he figured it was due to a hardcoded CSS file, but that's not the case here

Coercion error in onActivate

2010-05-29 Thread Daniel Henze
Dear Tapestry Users, I hope someone can help me with that issue, it's bugging me for a while now and I may not be able to see the obvious. In an edit page I am taking the user id as argument, but when calling the url with proper value /user/edit/2 I am getting an exception: Caused by:

Re: Coercion error in onActivate

2010-05-29 Thread Daniel Henze
Thanks Thiago, thanks a lot, you pointed me into the right direction. I did eliminate everything from the layout and that worked well. So I'll be going through and try to find the erroneous part. Cheers Daniel Am 29.05.2010 16:24, schrieb Thiago H. de Paula Figueiredo: On Sat, 29 May 2010

Re: RenderSupport Scope

2010-05-29 Thread Thiago H. de Paula Figueiredo
On Sat, 29 May 2010 23:18:28 -0300, Pablo dos Reis pablodosr...@gmail.com wrote: When I inject javaScript using renderSupport not is possible access the methods created in the class through a js file. Hi, Pablo! I'm not sure what you're talking about, but remember that any JavaScript

Re: RenderSupport Scope

2010-05-29 Thread Pablo dos Reis
Hi Thiago, When the Tapestry creates the script. It puts the script inside a other method. Tapestry.onDOMLoaded() in this case. So when I try call it method using a js the method created by RenderSupport is not visible for js. I resolved the following writer.element(script, language,