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 boolean isMutable() {
return this.mutable;
}
public void reset(ActionMapping mapping,
HttpServletRequest request) {
if (isMutable()) {
.....
}
}
------------------------
In my prepareAction() class, i set it to false:
myForm.setMutable (false);
mapping.findMapping ("success");
The prepareAction is defined in struts-config as:
<action path="/admin/StartNewOrgWorkflow"
type="net.canal.admin.action.PrepareOrgAction">
<forward name="success" path=".createOrgDef"/>
</action>
-----------------------
In my JSP file:
<html:form action="/admin/OrgAction">
......
</html:form>
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 ?
many thanks !
li xin
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]