Search code examples
htmlxmlscalaliftcode-snippets

What's a good way to separate html/xml codes from lift snippet?


Lift is a fun web framework to work with. However, it's really hard for newbies to get the html/xml codes out of snippet codes. Is there a recommended way to do it?


Solution

  • If you use the CSS Selector Transforms (please see http://simply.liftweb.net/index-7.10.html#toc-Section-7.10 ) rather than the Helpers.bind() stuff, you'll find little or no markup in your Scala code.

    Thanks.