Re: Action tag is forced to use input result if outer action has action errors

2009-11-10 Thread Matt Jiang
Hi Oscar, Thanks for your advise, I also tried this approach, I make a new interceptors stack and apply on tag to avoid validation and workflow interceptors. But it seems that in sitemesh jsp, can't access the same http session if target action has action error. Did you get the same problems bef

Re: Action tag is forced to use input result if outer action has action errors

2009-11-10 Thread Oscar Calderón
Hi Matt, You could add to your action declaration in the struts.xml a parameter called excluded methods, where you can add the name of the methods of your action that you don't want to be validated, for example: methodName1,methodName2 Even if your interceptor is a default interceptor like wo

Action tag is forced to use input result if outer action has action errors

2009-11-10 Thread Matt Jiang
Hi All, I use Sitemesh as template engine with Struts2. In my decorator jsp file, I use for division content source. Now I encounter a problem that if an action has an action error, there will be a "input" result used. It will cause all in decorator JSP file also execute input result directly. T