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
-~----------~----~----~----~------~----~------~--~---

Reply via email to