: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
Sent: Thursday, April 09, 2009 4:48 PM
To: users@wicket.apache.org
Subject: Re: How to manipulate an AjaxRequest
It could work, but that's not what I want, because also after the exception
is thrown components could be added to the target
You could collect your components into a list or collection before
adding them into the Target..? Or does the error occur at render-time?
**
Martin
2009/4/9 Frank Klein Koerkamp fkleinkoerk...@educator.eu:
Hi all,
i have an Ajax call and when an exception occurs, i want to display the
Message-
From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
Sent: Thursday, April 09, 2009 3:45 PM
To: users@wicket.apache.org
Subject: Re: How to manipulate an AjaxRequest
You could collect your components into a list or collection before
adding them into the Target..? Or does
to refresh an component on page, but if db gives error i
don't want to do refresh anything.
Regards,
Frank
-Original Message-
From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
Sent: Thursday, April 09, 2009 3:45 PM
To: users@wicket.apache.org
Subject: Re: How
-Original Message-
From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
Sent: Thursday, April 09, 2009 4:34 PM
To: users@wicket.apache.org
Subject: Re: How to manipulate an AjaxRequest
From what I can see you could have:
ListComponent refreshThese = new LinkedListComponent();
you
It could work, but that's not what I want, because also after the exception
is thrown components could be added to the target.
In that case I've to check on every add to target if an exception has
occurred. I prefer to do this on one place.
Maybe your exception handling could deal with