[Lift] Re: Snippets; having trouble with a simple example

2009-04-10 Thread David Pollak
On Wed, Apr 8, 2009 at 4:13 PM, Douglas F Shearer wrote: > > I've found the solution to this. It seems that for some reason I > needed to provide the return type on the posts method, as so: > > def posts(html: NodeSeq): NodeSeq = { > ... > > Odd it should fail in such a manner without it, I would

[Lift] Re: Snippets; having trouble with a simple example

2009-04-08 Thread Douglas F Shearer
I've found the solution to this. It seems that for some reason I needed to provide the return type on the posts method, as so: def posts(html: NodeSeq): NodeSeq = { ... Odd it should fail in such a manner without it, I would expect the return type to be inferred by the compiler, or an error give

[Lift] Re: Snippets; having trouble with a simple example

2009-04-08 Thread Timothy Perrett
Hi, What happens when you do a clean build? Do you still get the error? Are you getting any snippet failure errors in the console when jetty is running? Thanks, Tim On Apr 8, 9:10 pm, Douglas F Shearer wrote: > Hi there. > > I'm having issues with a simple snippets example. > > The error, vie