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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to