Thanks, pedro
Couldnt resolve this one! upgraded to struts 1.2.4 and used a reqular
expression to validate instead.
Not quite the method i wanted to take but one which resolved the issue.
Thanks for your contribution
Andy
Pedro Salgado wrote:
> Have you checked if you aren't duplicating configurations on more than 1
>file? (configFile1, ..., configFileN... N replaces configurations that are
>also present (duplicate) in 1).
>
> Are you working with modules?
> Is the forward pointing to a correct action? (try putting validate =
>false... and see if it calls the correct action)
>
> This is the best I can do...
>
>Pedro
>
>On 11/10/04 2:57 pm, "Andy Richards" <andy@esolution.co.uk> wrote:
>
>
>
>>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
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
|