Hello,
I have a very strange validator problem with 1.1-b3.  

I have a simple logon form (ValidatorForm) that accepts a userid and
password.  In my validation.xml file I'm specifying that the fields are
required.  The struts-config.xml file has the validate="true".  When I
execute this, I get the logon.jsp page successfully displayed, but if I
leave the fields blank and submit, no errors occur, but a blank white
display shows up in the browser.

Now the strange part, if I change validate="false", check for
non-existent password or userid in the Action, and use errors.add() to
add the appropriate errors; this time when I submit with the fields
blank, I get the form re-displayed with errors.  The 'input' key remains
the same between both versions.

If I set up a log4.properties file with the level set to DEBUG, I can
see that the resource keys for the error messages are being loaded, and
I get a message saying that the validation failed -- so I know the
validator is being called.  The last message I get tells me:  Validation
failed, returning to '/logon/logon.jsp'.  But all I get after that is a
blank white page, yet the '/logon/logon.jsp' is the correct path and
works when validate='false'.

Any ideas?

Thanks!

-robert.
-- 
"All motion is not progress, and all movement is not forward" (anon)
Key ID:  F0533BB6
Finger Print:  7F07 D9CD 266F 29D4 3616  164D F055 6E4C F053 3BB6



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to