Thanks for your response. We have a need to include a hidden tag in the form; but sometime we want the hidden tag to be disabled so its value will not be posted to the server.
I have filed a bug report. The problem will be fixed in the future Struts releases. -----Original Message----- From: Robert Lamping [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 6:38 PM To: Struts Users Mailing List Subject: RE: html:hidden, disabled attribute 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

