Just call it:
class FirstSnippet {
def render(ns: NodeSeq): NodeSeq = {
bind(foobar, ns,
otherSnippet - new SecondSnippet.render _)
}
}
class SecondSnippet {
def render(ns: NodeSeq): NodeSeq = divhello!/div
}
-Ross
On Oct 21, 2009, at 7:06 PM, sunanda
That needs to be new SecondSnippet().render or (new SecondSnippet).render
-
Ross Mellgrendri...@gmail.com wrote:
Just call it:
class FirstSnippet {
def render(ns: NodeSeq): NodeSeq = {
bind(foobar, ns,
otherSnippet - new
So true. I need a REPL built in to my email client ;-)
-Ross
On Oct 21, 2009, at 9:50 PM, Naftoli Gugenheim wrote:
That needs to be new SecondSnippet().render or (new
SecondSnippet).render
-
Ross Mellgrendri...@gmail.com wrote:
Just call it:
How about building an email client into your REPL? ;)
-
Ross Mellgrendri...@gmail.com wrote:
So true. I need a REPL built in to my email client ;-)
-Ross
On Oct 21, 2009, at 9:50 PM, Naftoli Gugenheim wrote:
That needs to be new SecondSnippet().render
Screw it, I'll just do all three in emacs. GUIs are for wimps anyway,
right?
-Ross
On Oct 21, 2009, at 10:03 PM, Naftoli Gugenheim wrote:
How about building an email client into your REPL? ;)
-
Ross Mellgrendri...@gmail.com wrote:
So true. I need a
Doesn't emacs already do all three?
Sent on the Now Network™ from my Sprint® BlackBerry
-Original Message-
From: Ross Mellgren dri...@gmail.com
Date: Wed, 21 Oct 2009 22:18:29
To: liftweb@googlegroups.com
Subject: [Lift] Re: Calling a method from other snippet
Screw it, I'll just do
-
From: Ross Mellgren dri...@gmail.com
Date: Wed, 21 Oct 2009 22:18:29
To: liftweb@googlegroups.com
Subject: [Lift] Re: Calling a method from other snippet
Screw it, I'll just do all three in emacs. GUIs are for wimps anyway,
right?
-Ross
On Oct 21, 2009, at 10:03 PM, Naftoli