"Daniel L. Rall" wrote:
> 
> Jon Stevens wrote:
> >
> > on 9/24/2000 2:46 PM, "Geir Magnusson Jr." <[EMAIL PROTECTED]> wrote:
> >
> > > I guess if this doesn't happen, one can always write a template
> > > preprocessor to do exactly this (expand macros into velocicode) but that
> > > seems to be one of the purposes of a template engine anyway.
> >
> > Solution 5:
> >
> > <input type=text name=email value="$tool.Value($email,"")">
> >
> > I like this solution the best. It doesn't require ANY changes to Velocity as
> > it stands and is cleanly MVC.
> 
> I agree that this is probably the best way to go.

I like this too, after thinking about the MVC implications, but I still
think that it would be useful to allow designers to encapsulate things
that will be repeated into macros.

geir


-- 
Geir Magnusson Jr.
[EMAIL PROTECTED]

Reply via email to