I have to set that statically i-e My problem is to try to do that dynamically, I have a flag in form bean, if that is true then disable the textbox else if false then enable it -----Original Message----- From: Navjot Singh [mailto:navjot.s@net4india.net] Sent: Monday, February 02, 2004 5:49 PM To: Struts Users Mailing List Subject: RE: Making the fields non editable dynamically using a form bean element guess there is some attribute called readonly for html:text. set that to true. >-----Original Message----- >From: anant.parnami@wipro.com [mailto:anant.parnami@wipro.com] >Sent: Monday, February 02, 2004 4:06 PM >To: struts-user@jakarta.apache.org >Subject: Making the fields non editable dynamically using a form bean >element > > > > >Hi ppl, > > >I have a situation where I do not want the user to edit the fields if >the history record flag in the form bean is true. Can you suggest me >how to go about it. Can I use a form bean element >(java.lang.Boolean/String) to disable a dynamically >depending on its value. > >If yes then how can I do it? >Thanks a ton in advance >Regards > >Anant Parnami > > > >Confidentiality Notice >The information contained in this electronic message and any >attachments to this message are intended for the exclusive use of the >addressee(s) and may contain confidential or privileged information. If >you are not the intended recipient, please notify the sender at >Wipro or Mailadmin@wipro.com immediately >and destroy all copies of this message and any attachments. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: struts-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately and destroy all copies of this message and any attachments. --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org