Hi Ivelin,

You mean that the form.remove() method should call only when you restart your app?

But if you call this method in prepare(), you call it each time you call the app.

Is there a better place to call this method?

Thank you
Regards
Sylvain

-----Message d'origine-----
De: Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
Date: vendredi, 24. janvier 2003 15:24
À: [EMAIL PROTECTED]
Objet: Re: [XMLForm] removing old form


It is only necessary when you handle restart of the wizard.


-=Ivelin=-
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 24, 2003 3:56 AM
Subject: [XMLForm] removing old form


Hello,

This line is in the prepare() method within an XMLForm action (howto
example):
Form.remove(getObjectModel(), getFormId());

For what I know it is a method that remove a form from a request and
session.

This means that you create a new form (getForm() method) each time you call
a page of the form (if you have a multi-pages form), right?

But why is it necessary to remove the form each time?


Thank you
Regards
Sylvain



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to