Disabled text fields are not posted to the server per the HTTP spec so Struts can't see it as a parmeter. You'll either have to use a hidden field or put the value in session scope.
Tim -----Original Message----- From: Cheng, Sophia [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 11:28 AM To: 'Struts Users Mailing List' (E-mail) Subject: unable to get property when text field is disabled Hi there, I am trying to get some property value in my SaveEditAction object. I can get the correct property value from ActionForm when my text field is editable in editForm.jsp , like <html:text property="departmentId" size="3"/> However, if I change it to be uneditable, like <html:text property="departmentId" disabled="true" size="3"/> or <bean:write name="departmentForm" property="departmentId"/> Then, I faile to get the departmentId. Thus, I need to use hidden tag to store departmentId, like <html:hidden property="departmentId"/> Then, I need to get departmentId from request instead of from the ActionForm. Is there some other way to handle it? Regards, Sophia -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>