it should work in any released version.

-Igor


On 4/26/06, Andrew Strickland <[EMAIL PROTECTED] > wrote:
Would that answer be relevant for 1.2 or is this something that should be working in 1.1.1?  I can't seem to get that to work.
 
Andy

>Bean bean=3Dnew Bean();

>Form.setModelObject(bean);

>where bean is the bean backing the form, and form has the compound model,

>-Igor


>>On 4/26/06, Andrew Strickland < [EMAIL PROTECTED]> wrote:
>>
>>  How would I go about resetting a form to a blank state after it validate=

s
>> it's data and stores it to a database?  Subsequent visits to the Page the
>> form is on still contains the data from the last submission.
>>
>> I tried re-initializing the object that backs the
> BoundCompoundPropertyModel but that didn't seem to work.
>
>  The FormComponent(s) inherit their model from the
> BoundCompoundPropertyModel of the Panel they are on, which in turn gets t=
he

> model object from the Page.
>
> Andy

Reply via email to