aaaaa wrote:
during validation it creates two problems.
1. I fill one field firstname not other two. Here validation works
and it verifies "input" parameter and come back to show page. but it
show error for required in all the three fields. ??(required error
only for two field not for firstname. isn't it?)
<interceptors>
> <interceptor-stack name="basicstack1">
<interceptor-ref name="validation">
> <param name="excludeMethods">showEmployee,listEmployee</param>
</interceptor-ref>
> <interceptor-ref name="exception"/>
<interceptor-ref name="servletConfig"/>
> <interceptor-ref name="prepare"/>
> <interceptor-ref name="checkbox"/>
> <interceptor-ref name="conversionError"/>
> <interceptor-ref name="params"/>
> <interceptor-ref name="workflow">
<param name="excludeMethods">showEmployee,listEmployee</param>
</interceptor-ref>
</interceptor-stack>
> </interceptors>
I'm pretty sure validation should come after params, otherwise
validation has no params to check.
Randomly re-ordering interceptor stacks is almost never a good idea.
> 2. If I fill all the field (all three) then it must be redirect to
> next success page which i set list page. but it want it come back to
> the same page without setting all field (means it is just like one
> new page to fill).
Without knowing what you're submitting to, and possibly the code, it's
tough to help.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org