validators...you can't. I had to create a base validator
which was added to my ZipTextField and it was responsible for delegating to
correct country zip validator on the fly.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/double-validation-with-two-different-v
I guess you added an IValidator to the text field validating the input for
US zip before, both remove it from the component when this is not the
country being informed, or provide an IValidator aware of the
selected country, as your textfield already are: determining the converter
to be used based
I have created a custom zip text field that validates against several country
formats, i.e. US and Canada. I have created specific country converters and
validators that are utilized by this custom zip field.
In my test scenario, I have a valid US address displayed.
I then change the country