Re: Cannot find bean in any scope when form contains errors

2008-11-09 Thread Burton Rhodes
Can't help you there. Sorry. On 11/9/08, Amrinder Sandhu <[EMAIL PROTECTED]> wrote: > Hi, > > Thank you for your response. It seems like Preparable is for Struts 2. I am > using Struts 1.3.8. Any ideas for Struts 1.x? > > Regards, > Amrinder Sandhu > > > On Sun, Nov 9, 2008 at 3:51 PM, Burton Rhod

Re: Cannot find bean in any scope when form contains errors

2008-11-09 Thread Amrinder Sandhu
Hi, Thank you for your response. It seems like Preparable is for Struts 2. I am using Struts 1.3.8. Any ideas for Struts 1.x? Regards, Amrinder Sandhu On Sun, Nov 9, 2008 at 3:51 PM, Burton Rhodes <[EMAIL PROTECTED]>wrote: > You need to have your action object implement Preparable (and perhaps

Re: Cannot find bean in any scope when form contains errors

2008-11-09 Thread Burton Rhodes
You need to have your action object implement Preparable (and perhaps ModelDriven depending on your implementation) and set your action member variables (or bean) in the Prepare method. If there are validation errors, this method will take care of your issue before that error is recognized and sin

Cannot find bean in any scope when form contains errors

2008-11-09 Thread Amrinder Sandhu
Hi, I have an ExecuteTest action which returns a view. The action also sets up some beans that the view will use to display data to the user. The view also contains a form. Everything works when I go to the action, which shows me the view. The page contains the data from the beans and the textbox