Use a different forward instead. -----Original Message----- From: Dan Hable [mailto:[EMAIL PROTECTED] Sent: March 3, 2003 12:20 PM To: > Subject: Setting ActionConfig Input At Runtime
I'm in the process of moving an application from struts 1.0 to 1.1 and ran into a problem in the ActionForm bean class. In the validate method, the code is adjusting the state of the input method depending on the state of the object that the user would be editing. When I try the following code, mapping.setInput( mapping.findForward( "display_xxx").getPath()); /* where xxx are different state names */ I get an exception about not being able to change the state of a frozen item. Is there a way to unfreeze the ActionConfig object so I can get the application working without changing the method for editing? Thanks, Daniel T. Hable P&H Mining Application Development & Support 1 (414) 671-7861 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++ This electronic mail transmission contains information from P & H Mining Equipment which is confidential, and is intended only for the use of the proper addressee. If you are not the intended recipient, please notify us immediately at the return address on this transmission, or by telephone at (414) 671-4400, and delete this message and any attachments from your system. Unauthorized use, copying, disclosing, distributing, or taking any action in reliance on the contents of this transmission is strictly prohibited and may be unlawful. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++ --------------------------------------------------------------------- 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]