hi,
i have created my own validator class for validating certain fields
which are
beyond the default validation scope (e.g. telephone, postcode, username
already
exists etc.) and have linked it to the validator-rules.xml file.
when the input field is invalid, i do get the appropriate error msg so this
works ok. however, the problem is when all fields have valid input. In this
instance, the flow goes to my validator class and returns true, but
instead of
going to the action, it returns to the original jsp page. there are no
errors displayed,
just that it wont move to the action.
i've checked my struts-config, validator-rules and validation files and
they are
identical to those in the 'how-to's on the struts site. the only
difference is
that i have several struts config files, but the validator plugin is
only in the
main struts-config.xml
i am completly stumped on this one.
cheers,
andy
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
|