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 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 Mellgren<dri...@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 or (new >> SecondSnippet).render >> >> ------------------------------------- >> Ross Mellgren<dri...@gmail.com> wrote: >> >> >> Just call it: >> >> class FirstSnippet { >> def render(ns: NodeSeq): NodeSeq = { >> bind("foobar", ns, >> "otherSnippet" -> new SecondSnippet.render _) >> } >> } >> >> class SecondSnippet { >> def render(ns: NodeSeq): NodeSeq = <div>hello!</div> >> } >> >> -Ross >> >> On Oct 21, 2009, at 7:06 PM, sunanda wrote: >> >>> >>> Hi, >>> I have a method updateColumn() in ColumnInfo.scala snippet. >>> I need to call this method form another snippet GridInfo.scala >>> >>> How can I do this. >>> >>> Sunanda >>>> >> >> >> >> >>> > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---