Well, it's the viewTemplate method, but it's supposed to return a NodeSeq,
so if you're pulling from a file you'll need to do the file load yourself.
You can do that with LiftRules.loadResourceAsXml:

...
override def viewTemplate = LiftRules.loadResourceAsXml("foo") openOr
<p>Error loading template</p>
...

Derek

On Wed, Jun 24, 2009 at 11:10 AM, Peter Robinett <pe...@bubblefoundry.com>wrote:

>
> Hi all,
>
> I'm using CRUDify on one of my models and I'd like to display some
> additional data on the view template. I believe that I need to
> override one of the model definitions with some sort of reference to
> my own XHTML file. Which one? _viewTemplate? Or perhaps the
> viewTemplate method?
>
> Thanks,
> Peter Robinett
>
> >
>

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