Re: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-29 Thread Alex Rodriguez Lopez
I am using the lastest version 2.2.1 -Mensaje original- De: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Enviado el: Thursday, October 28, 2010 5:25 PM Para: Struts Users Mailing List Asunto: Re: Struts 2 s:action tag doesn't render action errors if any are present Which

Re: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Li Ying
> 2. What I liked about having an action for rendering the controls it's that I > can reuse them across different JSP pages.  What other alternatives do you > suggest me that can achieve the same level of modularity? Try or . You can create a common jsp, and include it in different pages. Ac

Re: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Maurizio Cucchiara
-- > De: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] > Enviado el: Thursday, October 28, 2010 5:25 PM > Para: Struts Users Mailing List > Asunto: Re: Struts 2 s:action tag doesn't render action errors if any > are present > >> Which interceptor do you me

RE: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Alfredo Manuel Osorio Martinez
I am using the lastest version 2.2.1 -Mensaje original- De: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Enviado el: Thursday, October 28, 2010 5:25 PM Para: Struts Users Mailing List Asunto: Re: Struts 2 s:action tag doesn't render action errors if any are present > Whic

Re: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Maurizio Cucchiara
I don't know what struts version you are running, in 2.2.1 version, chain interceptor should copy actionError through actions. -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional comm

Re: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Maurizio Cucchiara
> Which interceptor do you mean? ChainingInterceptor? I meant implementing a new Interceptor from scratch. Although this issue are related to the chainInterceptor. What interceptor stack are you using? Does your request fire chainInterceptor? 2010/10/29 Alfredo Manuel Osorio Martinez : -- Mauriz

RE: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Alfredo Manuel Osorio Martinez
Which interceptor do you mean? ChainingInterceptor? Alfredo Osorio -Mensaje original- De: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Enviado el: Thursday, October 28, 2010 4:25 PM Para: Struts Users Mailing List Asunto: Re: Struts 2 s:action tag doesn't render a

Re: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Maurizio Cucchiara
I totally agree with Dave: ParameterInterceptor is the better choice. BTW, I'm not sure it fits your needs but you should take a look at this issue https://issues.apache.org/jira/browse/WW-2869 and https://issues.apache.org/jira/browse/WW-3488 (especially where Lukasz talked about copyErrors and co

RE: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Alfredo Manuel Osorio Martinez
Thursday, October 28, 2010 1:10 PM Para: Struts Users Mailing List Asunto: Re: Struts 2 s:action tag doesn't render action errors if any are present You could try keeping them in the session, but that might involve tricky configuration sometimes--not sure. You're rendering a single c

Re: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Dave Newton
> > > Alfredo Osorio > > -Mensaje original- > De: Dave Newton [mailto:davelnew...@gmail.com] > Enviado el: Thursday, October 28, 2010 12:51 PM > Para: Struts Users Mailing List > Asunto: Re: Struts 2 s:action tag doesn't render action errors if any are > p

RE: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Alfredo Manuel Osorio Martinez
: Struts 2 s:action tag doesn't render action errors if any are present Rendering a control (and repopulating its values) is a different thing than displaying validation error messages. IMO the way you're doing it isn't a particularly good idea; it would be better to rende

Re: Struts 2 s:action tag doesn't render action errors if any are present

2010-10-28 Thread Dave Newton
Rendering a control (and repopulating its values) is a different thing than displaying validation error messages. IMO the way you're doing it isn't a particularly good idea; it would be better to render the control on the page, *possibly* using s:action to create the list of possible values (which