RE: Making the fields non editable dynamically using a form bean element

2004-02-02 Thread Navjot Singh
guess there is some attribute called readonly for html:text. set that to true. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 4:06 PM To: [EMAIL PROTECTED] Subject: Making the fields non editable dynamically using a form bean element

RE: Making the fields non editable dynamically using a form bean element

2004-02-02 Thread anant.parnami
, 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent

Re: Making the fields non editable dynamically using a form bean element

2004-02-02 Thread Claire Wall
Anant, You can do the following: set up a boolean flag at the top of the jsp page that will be used to disable fields on your page like so: % boolean flag = false; % and then set this according to the value of the flag in your form using logic tags: logic:equal name=FormName property=xxx

RE: Making the fields non editable dynamically using a form bean element

2004-02-02 Thread anant.parnami
Thanks a ton It worked for me :-) Regards Anant -Original Message- From: Claire Wall [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 6:09 PM To: Struts Users Mailing List Subject: Re: Making the fields non editable dynamically using a form bean element Anant, You can do