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.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)
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to