Re: [Engine-devel] webadmin: How to make a text box readonly.

2013-02-05 Thread Tomas Jelinek
- Original Message - From: "Daniel Erez" To: snmis...@linux.vnet.ibm.com Cc: ov...@redhat.com, engine-devel@ovirt.org Sent: Tuesday, February 5, 2013 7:55:31 AM Subject: Re: [Engine-devel] webadmin: How to make a text box readonly. - Original Message - > Fro

Re: [Engine-devel] webadmin: How to make a text box readonly.

2013-02-04 Thread Daniel Erez
- Original Message - > From: "Kanagaraj" > To: snmis...@linux.vnet.ibm.com > Cc: ov...@redhat.com, engine-devel@ovirt.org > Sent: Tuesday, February 5, 2013 6:36:28 AM > Subject: Re: [Engine-devel] webadmin: How to make a text box readonly. > > Hi, >

Re: [Engine-devel] webadmin: How to make a text box readonly.

2013-02-04 Thread Kanagaraj
Hi, If you have a corresponding EnityModel for that Editor, you could use entityModel.setIsChangable(false). Now the textbox will be grayed out and the user will not be able to edit the value. For setting a default value, you can use entityModel.setEntity("XYZ"). Thanks, Kanagaraj On 02/05

[Engine-devel] webadmin: How to make a text box readonly.

2013-02-04 Thread snmishra
Hi, I am trying to populate a text box (EntityModelTextBoxOnlyEditor) with a default value that is read only (can't be changed by user). Can someone help me with how I can do that? Thanks Sharad Mishra ___ Engine-devel mailing list Engine-deve