[S2] Parametrized range validator for min and max values.

2009-09-16 Thread Ahmed ALAMI
Hi everybody,

Is there a way to configure a struts2 validator like this :
(The min and max have a parametrized value from the value stack)


01/01/${date}
31/12/${date}
Set date between ${min} et ${max}


Thanks in advance.

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Call a forward or a redirect inside an interceptor.

2008-09-09 Thread Ahmed ALAMI

Great, but it doesn't feet my need.
The result to forward to is dynamic and depends on the execution of the 
interceptor.


Chris Pratt a écrit :

Sure, normally you would set up some  in your struts.xml
that your interceptor will redirect to then just return the name of the
result from your interceptor without ever calling actionInvocation.invoke().
  (*Chris*)

On Tue, Sep 9, 2008 at 9:05 AM, Ahmed ALAMI <[EMAIL PROTECTED]> wrote:

  

Hello everybody,
Is there a way using the struts 2 API to forward or redirect to a url
inside an interceptor instead of making a actionInvocation.invoke().
Thanks for reply.

-
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]



Call a forward or a redirect inside an interceptor.

2008-09-09 Thread Ahmed ALAMI

Hello everybody,
Is there a way using the struts 2 API to forward or redirect to a url 
inside an interceptor instead of making a actionInvocation.invoke().

Thanks for reply.

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