Please read this message and the following link before posting any questions about snippets not properly being invoked:http://www.assembla.com/wiki/show/liftweb/HtmlProperties_XHTML_and_HTML5
The XHTML parser (the traditional Lift parser) and the Html5 parser are different. Specifically:
- The Html5 parser converts all element labels and attribute names to lower case. This means if you are trying to invoke a snippet named FooBar via <lift:FooBar/> it will not work. Why? First, the Html5 parser doesn't deal with self-closed tags, so <lift:FooBar/> is silently discarded. So, next we try <lift:FooBar></lift:FooBar>. But the Html5 parser converts it to <lift:foobar></lift:foobar> and the FooBar class is not found. If you're using the Html5 parser, please, please, please use the designer friendly invocation mechanisms *exclusively*. This means that <div class="lift:FooBar">stuff</div> is the best way to go with the Html5 parser.
- The Html5 parser converts attribute names to lower case. This means that snippets that are looking for camel-case attribute names will not find the attributes. Yes, this is the same thing I said in the above paragraph, but I'm saying it again because this seems to have led to a lot of confusion on the Lift list. So, if you're using the Html5 parser, use designer friendly snippet invocation.
Lift, the simply functional web framework http://liftweb.net