Exception handling

2010-03-08 Thread Peter Stavrinides
Hi everyone, I am having a problem with the following scenario: - A page renders a grid with a number of links - Clicking one of those links causes the page to re-render, but it breaks with the following exception: ERROR com.test.CoreModule.SiteRequestExceptionHandler Render queue error in Be

Re: Exception handling

2010-03-08 Thread Thiago H. de Paula Figueiredo
On Mon, 08 Mar 2010 05:40:50 -0300, Peter Stavrinides wrote: Hi everyone, Hi! So my question is what approach can I take to intercept *only these exceptions that don't make it to the page. Create your own error page. It must implement the ExceptionReporter interface. Set the tapestry

RE: Display a hashmap using a grid component

2010-03-08 Thread Eldred Mullany
Hi Igor I am at a loss here, you make it sound easy. First of all how to I implement own GridDataSource class and how to I tell tapestry to use it, a contribution method I need to add to my AppModule? Secondly the interface ie (GridDataSource) uses an onPrepare()to fetch the data. I would then t

Re: Display a hashmap using a grid component

2010-03-08 Thread Thiago H. de Paula Figueiredo
On Mon, 08 Mar 2010 10:30:02 -0300, Eldred Mullany wrote: I am at a loss here, you make it sound easy. First of all how to I implement own GridDataSource class and how to I tell tapestry to use it, a contribution method I need to add to my AppModule? You pass an instance of your GridDataSou

RE: Display a hashmap using a grid component

2010-03-08 Thread Eldred Mullany
I over complicated it. Thanks -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: 08 March 2010 03:38 PM To: Tapestry users Subject: Re: Display a hashmap using a grid component On Mon, 08 Mar 2010 10:30:02 -0300, Eldred Mullany wrote: > I am at a

Tomcat / Tapestry 5

2010-03-08 Thread Christophe Cordenier
Hi Sorry because my question is not directly linked to Tapestry : It seems that Tomcat call all filter mapped on '/*' on startup, has anyone noticed this ? Thanks in advance. -- Regards, Christophe Cordenier. Developer of wooki @wookicentral.com

Re: Exception handling

2010-03-08 Thread Peter Stavrinides
This is not what I am asking Thiago, I already have my own error page. Thanks, 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/ema

Re: Tomcat / Tapestry 5

2010-03-08 Thread Christophe Cordenier
It seems that this caused by the Eclipse WTP, i guess this is some monitoring tool but do not know which one by now. Best Regards 2010/3/8 Christophe Cordenier > Hi > > Sorry because my question is not directly linked to Tapestry : > > It seems that Tomcat call all filter mapped on '/*' on star

Re: Tomcat / Tapestry 5

2010-03-08 Thread Christophe Cordenier
This is eclipse WTP that is trying to check if the server has started up, so when context application is '/' and a J2EE filter is mapped on '/*' then there is a hit. Sounds obvious now :) 2010/3/8 Christophe Cordenier > It seems that this caused by the Eclipse WTP, i guess this is some > monit

Re: Tomcat / Tapestry 5

2010-03-08 Thread Inge Solvoll
I'm glad I could help :) On Mon, Mar 8, 2010 at 5:15 PM, Christophe Cordenier < christophe.corden...@gmail.com> wrote: > This is eclipse WTP that is trying to check if the server has started up, > so > when context application is '/' and a J2EE filter is mapped on '/*' then > there is a hit. > >

Re: Tomcat / Tapestry 5

2010-03-08 Thread Christophe Cordenier
It's not only that i like to answer to myself :) but if this can help other fighting unnecessarily with eclipse WTP plugin... 2010/3/8 Inge Solvoll > I'm glad I could help :) > > On Mon, Mar 8, 2010 at 5:15 PM, Christophe Cordenier < > christophe.corden...@gmail.com> wrote: > > > This is eclipse

Re: Tomcat / Tapestry 5

2010-03-08 Thread Kalle Korhonen
On Mon, Mar 8, 2010 at 11:18 AM, Christophe Cordenier wrote: > It's not only that i like to answer to myself :) but if this can help other > fighting unnecessarily with eclipse WTP plugin... Even better solution would be not to use the WTP plugin at all. Both run-jetty-run and sysdeo's Tomcat plu

Re: Why does nesting break my Ajax?

2010-03-08 Thread Pierce T. Wetter III
>> >> Often what happens is that some invaild JS on the client causes an >> exception, and (for whatever reason) that results in the original >> event continuing as a full-page (non-Ajax) request. This is where >> FireBug is your friend. I know it should just work ... what's your >> browser? >

Re: Why does nesting break my Ajax?

2010-03-08 Thread Thiago H. de Paula Figueiredo
On Mon, 08 Mar 2010 21:14:28 -0300, Pierce T. Wetter III wrote: So speaking of which, how do you make a previewable component? Use the tag. Everything outside it won't be rendered. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,