Re: [Lift] Re: how to set boolean (non-string) value in NodeSeq?

2010-02-11 Thread Naftoli Gugenheim
If you want it false just leave it out. 2010/2/10 wm > > Do it XML style: > > > > > > > > The problem is even after setting disabled="" (empty string), it's > still treated as "true"; I found it behave as expected only when > setting it to boolean true/false. > > -- > You received this message

Re: [Lift] Re: how to set boolean (non-string) value in NodeSeq?

2010-02-11 Thread David Pollak
On Wed, Feb 10, 2010 at 8:12 PM, wm wrote: > > Do it XML style: > > > > > > > > The problem is even after setting disabled="" (empty string), it's > still treated as "true"; I found it behave as expected only when > setting it to boolean true/false. > > -- > You received this message because

[Lift] Re: how to set boolean (non-string) value in NodeSeq?

2010-02-10 Thread wm
> Do it XML style: > > > The problem is even after setting disabled="" (empty string), it's still treated as "true"; I found it behave as expected only when setting it to boolean true/false. -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to

[Lift] Re: how to set boolean (non-string) value in NodeSeq?

2010-02-10 Thread harryh
Do it XML style: On Feb 10, 10:56 pm, wm wrote: > def seq(): NodeSeq = { >       >       >   } > > it errors out: > error: in XML literal: ' or " delimited attribute value or '{' scala- > expr '}' expected > > 0 doesn't work either, only string "" is accepted. > > Why is there such a restric