Hi,
I have an abstract class which defines snippet methods for the
inheriting snippets.
Here's some sample code (untested, just to show the problem):
abstract class AbstractTestSnippet {
def sayHi(xhtml:NodeSeq):NodeSeq = Text("Hi")
}
class TestSnippet extends AbstractTestSnippet {
def callSayHi(xhmlt:NodeSeq):NodeSeq = sayHi(xhtml)
}
Using <lift:testSnippet.sayHi> doesn't work (the log prints a method
not found error).
Using <lift:testSnippet.callSayHi> works fine, though.
What am I doing wrong here? :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---