Hi!

formComponent.getValue() allways gives you the latest user input OR
the model value. This is useful for validation purposes, but is there
a bluilt-in "get converted value" method?

There is "getConvertedInput" -method, but that will only give you the
user-submitted value if it has already been converted. The validation
sequence is a bit funny:

        public void validate()
        {
                validateRequired();
                if (isValid())  <----------- this validator will not receive 
converted input
                {
                        convertInput();
                        if (isValid())

So sometimes validators will process formcomponents whose input has
not been converted?? How to deal with that properly?

**
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to