Yep, not exceptions thrown. The underline listener method implemented
by the page is:

public void onMessageReceive(IRequestCycle cycle){
                try{
                        cycle.setListenerParameters(new
Object[]{getChatServer().deQueueMessage(getUser())});
                }catch (ChatServerException e) {
                        logger.error(e);
                        throw e;
                }       
                getUser().setLastRequest(Calendar.getInstance());
        }

and the odd part is that the catch block is executed... if so, why not
capturing it on the service?

Regards

On 8/31/06, andyhot <[EMAIL PROTECTED]> wrote:
Vinicius Carvalho wrote:
> 1st: Is there an way to have an confirmation message for my
> DirectLink? Like showing an confirmation box "Are you sure you want to
> purge all elements?" and if ok, calling the link? I believe I need to
> use the ILinkRenderer for that, but I'm kinda confused yet, just need
> some suggestions :)
you can use an ILinkRenderer or check out the source of these components
http://tapfx.cvs.sourceforge.net/tapfx/tapfx-tapestry4/src/java/net/sf/tapfx/components/confirm/
>
> 2nd: Its related to my last post, does runtime exception get an
> special treatment by the framework? Is this why I can't capture them
> inside my EngineService?
To better understand, is the problem that

chatListener.trigger does not throw any exceptions?
>
> My best regards
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to