[Wicket-user] Normalizing phone numbers with a Converter

2006-09-07 Thread Stefan Arentz
I have an entity with a phoneNumber field. The format of this phone number is +9912345678..., the international number notation. What I want to do is to have a text field that accepts phonenumbers in different formats. For example 0612345678, 06 12345678 but also +31612345678. Based on the locale

Re: [Wicket-user] Normalizing phone numbers with a Converter

2006-09-07 Thread Johan Compagner
Can you debug to see if the model that holds the number is getting the new objecteven if a validation error is thrown?Because that shouldn't happen. But it seems like it happens at your case becauseif you say that the object after the bad submit is converted then it has to come from the model

Re: [Wicket-user] Normalizing phone numbers with a Converter

2006-09-07 Thread Stefan Arentz
I will create a simple and isolated test case and debug that. S. On 9/7/06, Johan Compagner [EMAIL PROTECTED] wrote: Can you debug to see if the model that holds the number is getting the new object even if a validation error is thrown? Because that shouldn't happen. But it seems like it