You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rick Reumann <ma...@reumann.net> on 2002/12/18 17:42:06 UTC

Re[2]: Simple Custom Validation Example Request


On Wednesday, December 18, 2002, 11:18:06 AM, Jeremy wrote:

WJ> Still no go.  I had some problems with my package paths etc., but
WJ> that wasnt the cause either.  The default validations do work but
WJ> do I need to do anything else in struts-config.xml?

    When trying to debug validation stuff, first remove all the other
    validations that you know are working. Just comment them out of
    the validation.xml. Then also on the one you are trying to test,
    ( in this case validateIdentical ) remove the test for "integer."
    Basically narrow it down so that you know exactly where things are
    going wrong.

    Also what happens when you submit? Does the page return to the
    same form (it shouldn't since you are returning true)? Does it
    forward on to the next page without errors? Are there any errors
    in the logs?


-- 

Rick
mailto:maillist@reumann.net


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>