Re: error(validatable)

2009-07-19 Thread Igor Vaynberg
; From: igor.vaynb...@gmail.com >> Date: Sat, 18 Jul 2009 09:14:24 -0700 >> Subject: Re: error(validatable) >> To: users@wicket.apache.org >> >> you have to set an itemreusestrategy to reuse dataview items, >> otherwise they are replaced by new ones every request

Re: error(validatable)

2009-07-18 Thread Igor Vaynberg
you have to set an itemreusestrategy to reuse dataview items, otherwise they are replaced by new ones every request and you lose your feedback panel instance. -igor On Sat, Jul 18, 2009 at 3:32 AM, Kenneth NA wrote: > > > > Let's rephrase my problem. > > > > I connect a validator to a TextField i

RE: error(validatable)

2009-07-18 Thread Kenneth NA
te there i nor problem of showing the error but when I the later click the "submit" button the error is NOT displayed when they validator "kicks in". /Kenneth > From: russellsimpk...@hotmail.com > To: users@wicket.apache.org > Subject: RE: error(validata

RE: error(validatable)

2009-07-18 Thread Russell Simpkins
Kenneth, I over rode onError when I used the ComponentFeedbackPanel - when learning Wicket, I discovered that I had no idea my form errored out unless I did the following for my form. In this instance, I'm using the AjaxButton. I think the key is to add your feedback component to the target.