It's not configured in Validation.xml. The form is....

    <formset>
        <form name="loginForm">
            <field property="username" depends="required">
                <arg key="loginForm.username"/>
            </field>
            <field property="password" depends="required,mask">
                <arg key="loginForm.password"/>
                <var>
                    <var-name>mask</var-name>
                    <var-value>^[0-9a-zA-Z]*$</var-value>
                </var>
            </field>
        </form>

I did turn up debugging on log4j.logger.org.apache.commons.validator
and log4j.logger.org.apache.struts and the interesting thing is that I
don't see the form validation getting built or initialized. What would
that look like? I wonder why that would not be occurring.

Preston

>>> [EMAIL PROTECTED] 11/8/2005 3:23 PM >>>
On 11/8/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote:
> I have that. Either way the bottom line for me is it flys past
> validation, message or no message. So I need to figure out why that
is
> happening.

What _type_ of Action is LoginSubmitAction and How is it configured in
validation.xml?

What's in the log files at application startup?  Turn logging up to
'debug' and you should see the validation config files being used to
configure validation for each form.

If the config looks right and there's nothing interesting in the log
files, try stepping through the code in a debugger.  JSwat is my
favorite, though I'm still getting used to the new version (and need
to update the instructions...)

--
Wendy
http://wiki.wsmoak.net/cgi-bin/wiki.pl?TomcatDebug 

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


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

Reply via email to