Simply Lift Css transform question

30 views
Skip to first unread message

Steven Yang

unread,
Jan 27, 2011, 9:30:09 PM1/27/11
to lif...@googlegroups.com
Hi 
I was reading Simply Lift on http://stable.simply.liftweb.net and saw the following:
  • *+ (e.g., "#id *+") appends the value to the the content children nodes
    "#name *+" #> "David" // <span><span id="name"/>Name: </span> -> <span><span id="name>Name: David</span></span>
  • *- (e.g., "#id -*") appends the value to the the content children nodes
    "#name -*" #> "David" // <span><span id="name"/> Pollak</span> -> <span><span id="name>David Pollak</span></span
I think for the "*-" it meant to say "prepends" instead of "appends" right?
and in the example do we have to use "-*" instead of "*-" or both are ok?

on more question, I dont quite understand how to use "^^" for choosing template, will there be a sample on that later on?

Thanks

Diego Medina

unread,
Jan 27, 2011, 11:39:28 PM1/27/11
to lif...@googlegroups.com
Hi,

On Thu, Jan 27, 2011 at 9:30 PM, Steven Yang <kensh...@gmail.com> wrote:
> Hi
> I was reading Simply Lift on http://stable.simply.liftweb.net and saw the
> following:
>
> *+ (e.g., "#id *+") appends the value to the the content children nodes
> "#name *+" #> "David" // <span><span id="name"/>Name: </span> -> <span><span
> id="name>Name: David</span></span>
> *- (e.g., "#id -*") appends the value to the the content children nodes
> "#name -*" #> "David" // <span><span id="name"/> Pollak</span> ->
> <span><span id="name>David Pollak</span></span
>
> I think for the "*-" it meant to say "prepends" instead of "appends" right?
> and in the example do we have to use "-*" instead of "*-" or both are ok?

[skip]

> on more question, I dont quite understand how to use "^^" for choosing
> template, will there be a sample on that later on?

You can see an example here

http://groups.google.com/group/liftweb/browse_thread/thread/89faa8bacb80d048/4ce6ee1a5bf9d26a

Regards
Diego

> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to lif...@googlegroups.com.
> To unsubscribe from this group, send email to
> liftweb+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>

--
Diego Medina
Web Developer
http://www.fmpwizard.com

Steven Yang

unread,
Jan 28, 2011, 1:32:39 AM1/28/11
to lif...@googlegroups.com
thanks for the link 
Reply all
Reply to author
Forward
0 new messages