You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Jason van Zyl <jv...@apache.org> on 2001/03/30 16:44:08 UTC

Re: cvs commit: jakarta-turbine/src/java/org/apache/turbine/services/jsp TurbineJspService.java

Daniel Rall wrote:
> 
> jon@apache.org writes:
> 
> >    public class TurbineJspService extends TurbineBaseService
> >   -    implements JspService
> >   +    implements JspService, TemplateEngineService
> 
> Does TemplateEngineService apply to FreeMarker as well?

It can apply to all the template engine services but those
template engines will work without implementing the interface.

The only method in the interface is templateExists(name), which
allows the template engine itself to search for the existence of
the template instead of the TurbineTemplateService doing it, which
assumes a file based template hierarchy.

If FreeMarker can pull templates out of jar files, or over
the network then it would make sense to add the templateExists(name)
method to freemarker so it can find templates itself. If it only
deals with template in file systems then we might as well let
the TurbineTemplateService find them.

> 
> Daniel
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org

-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://jakarta.apache.org/velocity
http://jakarta.apache.org/turbine
http://tambora.zenplex.org

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org