From: TylerWeir <tyler.w...@gmail.com>
Date: Thu, 15 Jul 2010 07:52:55 -0700 (PDT)
Local: Thurs, Jul 15 2010 10:52 am
Subject: Re: Using templates in Lift modules
My User object has an overridden edit template in it.
Keep in mind the templates inside ProtoUser are option.
If you really want to use something else, you just need to write that
On Jul 15, 10:47 am, Elazar Leibovich <elaz...@gmail.com> wrote:
> The template finder is a good second option, but what I'm really
> looking for is, a way to refactor MegaProtoUser to include a template > XML file for all their login page needs. I want the template to be > inside the module, but not in a scala code. > On Jul 15, 4:54 pm, Daniel Hobi <d.h...@gmx.ch> wrote:
> > I think TemplateFinder is what you are looking for:http://main.scala-tools.org/mvnsites/liftweb-2.0/framework/scaladocs/...
> > In your case it would be something like:
> > Daniel
> > On 15 Jul., 10:34, Elazar Leibovich <elaz...@gmail.com> wrote:
> > > I was reading the MegaProtoUsers and the CRUDify traits' code
> > > I'm trying to modularize my code as much as possible, so I'd rather
> > > Is there a way to include a view XML file in the module?
> > > Assuming there isn't, can I say something like "override def
> > > ><for/><login/></default>"? You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||