Hi,
I'm doing a project to test Scala and Lift at my company, atm I'm implementing a REST API that shoves XML around. I saw that there is an XMLApiHelper that offers the createTag method that encapsulates the responses in a root element.
So I did this
object RestAPI extends RestHelper with XMLApiHelper {
serve {
…
}
…
def createTag(in: NodeSeq): Elem = <root>{in}</root>
}
This does not seem to work. Am I missing something?
Regards, raichoo