On 7/5/01 5:31 PM, "Jon Stevens" <[EMAIL PROTECTED]> wrote:

> on 7/5/01 2:26 PM, "Mike Haberman" <[EMAIL PROTECTED]> wrote:
> 
>> Does anyone else want this desired behavior?  I like it.
>> Both my templates and my classes no longer need to specify a prefix
>> (unless there's ambiguity)
> 
> This falls apart when you have:
> 
> /account/News.vm
> /news/News.vm
> 
> I don't want to have to answer the user questions...
> 
> Needless to say, you can create your own VelocityScreen and
> TurbineTemplateService and whatever files you needed to modify and use those
> properties instead of using the Turbine supplied ones.

I am trying to incorporate a strategy pattern for the searching
of templates. So the algorithm used in template search can be
pluggable. This will be for locating templates that are localized
either by the template name (index_en_US.vm), or by directory which
is the way jetspeed does it. Hopefully this will allow you to find
templates in any fashion you wish. Still working out the details
and I'm waiting for Ilkka to come back from vacation to fully
work out the details :-)
 
> -jon
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 

jvz.

Jason van Zyl

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to