[Lift] Re: How to disable a textfield
by adding % between - and will: 1. disable the text field as per Sunanda's sample cod 2. or merely preserving element attributes? 3. or Both? I've tried adding % on 1.1-M6 and it is not doing item #1 above. i.e. showing textfield as disabled. Kindly verify. Cheers, yk On Tue, Oct 20, 2009 at 3:02 PM, Timothy Perrett timo...@getintheloop.euwrote: Change - to -% Doing this preserves any element attributes, for example: disabled=disabled Cheers, Tim On Oct 20, 6:30 am, sunanda sunanda.pa...@gmail.com wrote: Hi, I need to disable all the textfield and then want to enable the fields for editing on click of a button. How can i do this with the following sample code. Thanks Regards, Sunanda. bind(add,html, displayname-coldef.displayname.toForm, columntype-coldef.coltype.toForm, sourceview-coldef.sourceview.toForm) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: How to disable a textfield
It's a general purpose arrow to preserve attributes from the template. - YING-KWANG TUying.kwang...@gmail.com wrote: by adding % between - and will: 1. disable the text field as per Sunanda's sample cod 2. or merely preserving element attributes? 3. or Both? I've tried adding % on 1.1-M6 and it is not doing item #1 above. i.e. showing textfield as disabled. Kindly verify. Cheers, yk On Tue, Oct 20, 2009 at 3:02 PM, Timothy Perrett timo...@getintheloop.euwrote: Change - to -% Doing this preserves any element attributes, for example: disabled=disabled Cheers, Tim On Oct 20, 6:30 am, sunanda sunanda.pa...@gmail.com wrote: Hi, I need to disable all the textfield and then want to enable the fields for editing on click of a button. How can i do this with the following sample code. Thanks Regards, Sunanda. bind(add,html, displayname-coldef.displayname.toForm, columntype-coldef.coltype.toForm, sourceview-coldef.sourceview.toForm) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: How to disable a textfield
Change - to -% Doing this preserves any element attributes, for example: disabled=disabled Cheers, Tim On Oct 20, 6:30 am, sunanda sunanda.pa...@gmail.com wrote: Hi, I need to disable all the textfield and then want to enable the fields for editing on click of a button. How can i do this with the following sample code. Thanks Regards, Sunanda. bind(add,html, displayname-coldef.displayname.toForm, columntype-coldef.coltype.toForm, sourceview-coldef.sourceview.toForm) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: How to disable a textfield
Thanks Tim On Oct 20, 6:02 pm, Timothy Perrett timo...@getintheloop.eu wrote: Change - to -% Doing this preserves any element attributes, for example: disabled=disabled Cheers, Tim On Oct 20, 6:30 am, sunanda sunanda.pa...@gmail.com wrote: Hi, I need to disable all the textfield and then want to enable the fields for editing on click of a button. How can i do this with the following sample code. Thanks Regards, Sunanda. bind(add,html, displayname-coldef.displayname.toForm, columntype-coldef.coltype.toForm, sourceview-coldef.sourceview.toForm)- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---