Ok, I've run mvn clean jetty:run and it works now.
Thanks.
On 3 sep, 03:16, David Pollak feeder.of.the.be...@gmail.com wrote:
On Wed, Sep 2, 2009 at 3:55 PM, José María josemariar...@gmail.com wrote:
SOLVED
lazy val id = S.param(id).flatMap(Helpers.asLong) openOr -1L
I changed it to:
What does your snippet code look like? It sounds like it's not having
trouble with the nested snippet so much as getting at your snippet code.
-Ross
On Sep 2, 2009, at 12:16 PM, José María wrote:
Hi.
I've a snippet in one of my HTML files and inside of it I put another
snippet like
I think that I don't understand the flow, maybe the error appears
because PaginaMarca can't
instantiate some value (for example val id).
Well myClass2 is an invented name, I'll post the real code, but not
all (yes I suppose that the
problem will be in the no-pasted zone :p ):
class PaginaMarca
Please post the source for myClass2
On Wed, Sep 2, 2009 at 9:16 AM, José María josemariar...@gmail.com wrote:
Hi.
I've a snippet in one of my HTML files and inside of it I put another
snippet like this:
lift:myClass1.func
lift:myClass2.func2
Hi
/lift:myClass2.func
On Wed, Sep 2, 2009 at 9:47 AM, José María josemariar...@gmail.com wrote:
I think that I don't understand the flow, maybe the error appears
because PaginaMarca can't
instantiate some value (for example val id).
Yep. An exception during instantiation of a snippet will result in: Reason:
SOLVED
I'd a value that was computed using the val id, I've turned it to
def and all works
now. As id can't be retrieved from URL parameters this val generated
an exception.
I think that the error message is a bit misleading :-/
Thanks!
On 2 sep, 16:47, José María josemariar...@gmail.com
On 2 sep, 17:27, David Pollak feeder.of.the.be...@gmail.com wrote:
Try:
lazy val id = S.param(id).flatMap(Helpers.asLong) openOr -1L
I get:
Exception occured while processing /marca/162
Message: java.lang.IncompatibleClassChangeError
net.liftweb.util.Full.flatMap(Box.scala:332)
Are you using JavaRebel? Try doing a clean before jetty:run
Cheers, Tim
On 2 Sep 2009, at 20:57, José María wrote:
On 2 sep, 17:27, David Pollak feeder.of.the.be...@gmail.com wrote:
Try:
lazy val id = S.param(id).flatMap(Helpers.asLong) openOr -1L
I get:
Exception occured while
SOLVED
lazy val id = S.param(id).flatMap(Helpers.asLong) openOr -1L
I changed it to:
lazy val pagina = S.param(numero).openOr(1).toInt
Yes, I'm using JavaRebel
On 2 sep, 20:58, Timothy Perrett timo...@getintheloop.eu wrote:
Are you using JavaRebel? Try doing a clean before jetty:run
On Wed, Sep 2, 2009 at 3:55 PM, José María josemariar...@gmail.com wrote:
SOLVED
lazy val id = S.param(id).flatMap(Helpers.asLong) openOr -1L
I changed it to:
lazy val pagina = S.param(numero).openOr(1).toInt
This is a bad pattern. It will lead to an exception is the parameter
numero
10 matches
Mail list logo