RE: How to manipulate an AjaxRequest

2009-04-10 Thread Frank Klein Koerkamp
: 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

Re: How to manipulate an AjaxRequest

2009-04-09 Thread Martin Makundi
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

RE: How to manipulate an AjaxRequest

2009-04-09 Thread Frank Klein Koerkamp
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

Re: How to manipulate an AjaxRequest

2009-04-09 Thread Martin Makundi
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

RE: How to manipulate an AjaxRequest

2009-04-09 Thread Frank Klein Koerkamp
-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

Re: How to manipulate an AjaxRequest

2009-04-09 Thread Martin Makundi
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