You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Julia Stobbe <st...@projust.de> on 2001/06/06 22:07:12 UTC

Mapping template names to java classes

hi,
I "upgraded" my working turbine-test webapp from cvs-snapshot-20010206 to 
the turbine release (turbine-src-2.1), using a TR.props file from snapshot 
20010523.
After adapting a couple of things, doing the torque magic, etc. everything 
worked fine except:

The mapping of the templates names to java classes seems now to be 
case-sensitive:
"index.wm" no longer maps to Index.class; instead my 
webmacro.default.screen (TR.props) gets called.
After changing the template name to "Index.wm" everything works as expected.

Did I miss a new setting somewhere?
Thank you in advance
Julia

P.S. Great work on the release!
P.P.S will switch over to Velocity any day now ;-)


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


Re: Mapping template names to java classes

Posted by Jon Stevens <jo...@latchkey.com>.
on 6/6/01 1:07 PM, "Julia Stobbe" <st...@projust.de> wrote:

> The mapping of the templates names to java classes seems now to be
> case-sensitive:
> "index.wm" no longer maps to Index.class; instead my
> webmacro.default.screen (TR.props) gets called.
> After changing the template name to "Index.wm" everything works as expected.
> 
> Did I miss a new setting somewhere?
> Thank you in advance
> Julia
> 
> P.S. Great work on the release!
> P.P.S will switch over to Velocity any day now ;-)

Yea, if it wasn't case sensitive before, that was a bug.

-jon

-- 
"Open source is not available to commercial companies."
            -Steve Balmer, CEO Microsoft
<http://www.suntimes.com/output/tech/cst-fin-micro01.html>


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