RE: Enabling/Disabling of form fields on page load

2001-08-09 Thread Bajaj, Simrandeep

i was doing the same thing.
I am doing this way.

I am adding attributes in formbean respective to fields which has boolean
values that it is read only or not.I am setting the values in the action
depending on user role.

Then i enable and disable the fields in jsp through javascript and getting
the values from form bean.


thanks

-Original Message-
From: B Manikandan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 2:10 PM
To: struts
Subject: Enabling/Disabling of form fields on page load


Hi,
   I have a requirement where I need to enable/disable form fields on
page load up.The enabling/disabling depends on user access and I have
the access rights as on object in context.

   How do I use this object ? I do not want to resort to 
as my code will become big.

Mani






Enabling/Disabling of form fields on page load

2001-08-09 Thread B Manikandan

Hi,
   I have a requirement where I need to enable/disable form fields on
page load up.The enabling/disabling depends on user access and I have
the access rights as on object in context.

   How do I use this object ? I do not want to resort to 
as my code will become big.

Mani





The Information contained and transmitted by this E-MAIL is proprietary to 
Wipro Limited and is intended for  use only by the individual or entity to which 
it is addressed, and may contain information that is privileged, confidential or 
exempt from disclosure under applicable law. If this is a forwarded message, 
the content of this E-MAIL may not have been sent with the authority of the 
Company. If you are not the intended recipient, an agent of the intended 
recipient or a  person responsible for delivering the information to the named 
recipient,  you are notified that any use, distribution, transmission, printing, 
copying or dissemination of this information in any way or in any manner is 
strictly prohibited. If you have received this communication in error, please 
delete this mail & notify us immediately at [EMAIL PROTECTED] 


The Information contained and transmitted by this E-MAIL is proprietary to 
Wipro Limited and is intended for  use only by the individual or entity to which 
it is addressed, and may contain information that is privileged, confidential or 
exempt from disclosure under applicable law. If this is a forwarded message, 
the content of this E-MAIL may not have been sent with the authority of the 
Company. If you are not the intended recipient, an agent of the intended 
recipient or a  person responsible for delivering the information to the named 
recipient,  you are notified that any use, distribution, transmission, printing, 
copying or dissemination of this information in any way or in any manner is 
strictly prohibited. If you have received this communication in error, please 
delete this mail & notify us immediately at [EMAIL PROTECTED]