Hi Jason,
Thanks for the tip and explanation. It makes sense, and calling
testInput.clearInput() fixed the issue.
Neil
On Fri, Sep 4, 2009 at 7:20 PM, Jason Lea wrote:
> When a field is submitted and there is a validation error, it doesn't
> update the model and the field will redisplay with t
When a field is submitted and there is a validation error, it doesn't
update the model and the field will redisplay with the invalid input.
This way the user can see what they typed and can fix the problem.
With your populate link, you are updating the model, but wicket won't
look at the model
Thanks for the reply.
It doesn't sound like this is exactly what I want, though. I do need my
required field to be validated, always. I just don't understand why
validation works when the link that fills in the Integer behind the property
model is clicked first, but the same link populating and up
Take a look at:
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/markup/html/form/Button.html#setDefaultFormProcessing(boolean)
On Fri, Sep 4, 2009 at 7:01 PM, Neil Curzon wrote:
> Hi all,
>
> I'm having a weird problem that causes an input to refuse to update with an
Hi all,
I'm having a weird problem that causes an input to refuse to update with an
AjaxLink click method when there's been a validation error. One field in the
form has a property model pointing to an Integer value. It's set to
required, and there are other links that set the Integer value.
What