You might want to take a look at the contrib project (and at CD app for an example), which has a special text field that makes this kind of usage even simpler.

Regards,

  Eelco

Kamil Rembalski wrote:

Sorry, Of course I was doing something stupid. My bad.


On Thu, 23 Dec 2004 16:08:14 +0100, Kamil Rembalski <[EMAIL PROTECTED]> wrote:


Hi there,

I am trying to create a simple another simple application in wicket. I
am trying to create a simple form with validation. I connect it to a
POJO that has an int property. I have added a DecimalValidator, but
there is a problem: even if the form does not pass the validation,
wicket tries to update the model field. It ends up with an ognl
exception (cannot convert 'fdsfd' to int). Am I doing something
stupid, or is it wicket's normal behavior ?
Maybe wicket should remember, for which components the errors have
occurred and not update those components... But will the values be
re-written in the response then?

Regards,
Kamil





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to