RE: setInput method of ActionMapping
A possible solution might be to 1. Set validate="false" for your action. 2. Configure forwards for each of your error pages 2. Explicitly call form.validate() in your action 3. Call saveErrors() if validation fails 4. Redirect to the appropriate forward Lance. -Original Message- From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] Sent: 14 November 2006 11:41 To: Struts Users Mailing List Subject: Re: setInput method of ActionMapping As for my understanding this cantnot be set after the struts-config is loaded., - Original Message - From: "chamal desilva" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 14, 2006 7:37 AM Subject: setInput method of ActionMapping > Hi, > > > I want to call > > mapping .setInput() method inside my validate method > of a form bean. > > But it throws an Exception. > > > java.lang.IllegalStateException: Configuration is > frozen at > org.apache.struts.config.ActionConfig.setInput(ActionC > > > Please help me to correct this issue. > > Thanking You, > Chamal. > > > > > Do you Yahoo!? > Everyone is raving about the all-new Yahoo! Mail beta. > http://new.mail.yahoo.com > > - > 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: setInput method of ActionMapping
As for my understanding this cantnot be set after the struts-config is loaded., - Original Message - From: "chamal desilva" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 14, 2006 7:37 AM Subject: setInput method of ActionMapping Hi, I want to call mapping .setInput() method inside my validate method of a form bean. But it throws an Exception. java.lang.IllegalStateException: Configuration is frozen at org.apache.struts.config.ActionConfig.setInput(ActionC Please help me to correct this issue. Thanking You, Chamal. Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com - 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]
RE: setInput method of ActionMapping
Can u Pls mention ur struts version ? Regards, Mano -Original Message- From: chamal desilva [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 14, 2006 1:08 PM To: user@struts.apache.org Subject: setInput method of ActionMapping Hi, I want to call mapping .setInput() method inside my validate method of a form bean. But it throws an Exception. java.lang.IllegalStateException: Configuration is frozen at org.apache.struts.config.ActionConfig.setInput(ActionC Please help me to correct this issue. Thanking You, Chamal. Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com - 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]
setInput method of ActionMapping
Hi, I want to call mapping .setInput() method inside my validate method of a form bean. But it throws an Exception. java.lang.IllegalStateException: Configuration is frozen at org.apache.struts.config.ActionConfig.setInput(ActionC Please help me to correct this issue. Thanking You, Chamal. Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]