I simply configured my default set of interceptors as follows:
<interceptor-ref name="validation" >
<param name="excludeMethods">
execute
</param>
</interceptor-ref>
<interceptor-ref name="workflow" >
<param name="excludeMethods">
execute
</param>
</interceptor-ref>
This makes sure that the validation doesn't occur when the action is initially
fired. You can add more methods to the list if you'd like to.
Session
> I use to have a loadAction for each page and the real action to post
> to... Maybe I didn't catch the problem, do you use that scheme?
>
>
> On 8/13/07, Session A Mwamufiya <[EMAIL PROTECTED]> wrote:
>>
>> Hi, I have an action that is validateable and uses the validate method
>> to ensure that an element isn't added to the database if it already
>> exists in there. Unfortunately, the validation occurs as soon as my
>> form is launched. I tried to follow the approach from the helloworld
>> example to not have this happen, but it doesn't work. I would rather
>> avoid using annotations for maintainability reasons. Would someone give
>> me directions to how to stop validation from occurring when the form is
>> launched.
>>
>> Thanks,
>>
>>
>> --------------------------------------------------------------------- To
>> unsubscribe, e-mail: [EMAIL PROTECTED] For additional
>> commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> -- "Nada fija tan intensamente una cosa a la memoria como el deseo de
> olvidarla." (Michel de Montaigne)
>
> http://yayocaturas.blogspot.com/
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]