tags:

views:

400

answers:

1
+2  Q: 

lift snippet help

+2  A: 

Maybe lift doesn't get how to handle your return value. Try forcing an implicit conversion to NodeSeq by specifing it as returntype.

....
def list(xhtml: NodeSeq) : NodeSeq = 
....
jitter
That worked, thanks alot.How could one discover that in a good way? The error was not really helpfull...
Mikael Sundberg
An exception should direct you to the log.You'll probably see in your log that there was a failure trying to match the snippet. It's standard that snippets need return types, so that should prompt you to check the type signature on your snippet delcaration.
Joe