mutable variable in ActionForm is always reset to ture ?

2004-08-20 Thread lixin chu
Hi, Could not figure out why the mutable variable is always reset to true. Here is the snipet of my session scoped ActionForm: .. private boolean mutable = true; public void setMutable(boolean mutable) { this.mutable = mutable; } public

Re: mutable variable in ActionForm is always reset to ture ?

2004-08-20 Thread Rick Reumann
lixin chu wrote: I suspect that the mutable variable is reset when rendering the JSP file. But I do not know why. and if it is true, how do I disable this so 'mutable' will not be reset ? Can you be more specific at the times when the 'mutable' variable is not set as you expect? Remember reset

Re: mutable variable in ActionForm is always reset to ture ?

2004-08-20 Thread lixin chu
thank you very much for your promopt response ! I found out the problem: I used a wrong attribute name when I save the form in prepareAction, which causing a new form being created after submitting the JSP file (html:form) --- Rick Reumann [EMAIL PROTECTED] wrote: lixin chu wrote: I