Haiwei, The purpose of the hidden tag is to keep the property and its value in the dataset of the form. And you will use it, when you don't want to expose the value to the user. Whereas the disabled attribute will exclude the property from the dataset in the request.
For your information. When you would have a unique value for the item presented on the screen and you use <html:text disabled="true" .... >, then you will find out that the property for this unique value is not in your request. With the normal getters and setters, your unique value now gets blanked. "". And gone is your unique code. Hence, the hidden tag and the disabled attribute are more or less mutually exclusive. Kind regards, Robert Lamping -----Original Message----- From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 5:36 PM To: Struts Users Mailing List (E-mail) Subject: html:hidden, disabled attribute Does anyone know whether future Struts release will support the "disabled" attribute for the <html:hidden> tag? For some reason, it is not supported in the Struts 1.1. Does anyone know the reason behind that? Thanks. Haiwei --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

