Submitted values lost - view is refilled everytime with model values

2007-04-26 Thread Torsten Krah
Got a problem with clay and flowScoped Spring beans. My view is everytime filled with the model values. The submitted values are lost. I can enter some data in my input fields and submit the form - if i left some required input fields empty, a message appears that something is missing, so far so

How to initialize a bean before initial display

2007-04-26 Thread AM101
How do I initialize a bean before initial display? I want to populate bean values from database table. I can do it in the constructor, phase listener or by adding additional getter method to initialize the bean. But is there any better way? -- View this message in context:

Re: SV: How to initialize a bean before initial display

2007-04-26 Thread AM101
It is a view backing bean. Hermod Opstvedt wrote: Hi What type of bean? Is it ViewController or what? Hermod -Opprinnelig melding- Fra: AM101 [mailto:[EMAIL PROTECTED] Sendt: 26. april 2007 17:30 Til: user@shale.apache.org Emne: How to initialize a bean before

SV: Submitted values lost - view is refilled everytime with model values

2007-04-26 Thread Hermod Opstvedt
Hi I think this is related to [1], since you are missing stuff from scope [1] https://issues.apache.org/struts/browse/SHALE-410 Hermod -Opprinnelig melding- Fra: Gary VanMatre [mailto:[EMAIL PROTECTED] Sendt: 26. april 2007 17:51 Til: user@shale.apache.org Emne: Re: Submitted values

Re: SV: SV: How to initialize a bean before initial display

2007-04-26 Thread AM101
Thanks for your reply. I am now extending AbstractViewController and implemented the init() method but this method is never called. do I need to configure anything? I am new to Shale, I appreciate your help. Hermod Opstvedt wrote: Hi In that case you can initialize it in the init method