Zamek <[EMAIL PROTECTED]> writes:

>Hello All,

>I _have to_ make a Default class in my modules.pages which is inherits from 
>VelocityPage. It seems my Index.vm, but there aren't any pull tools ($page, 
>$contents, $ui and $link).

These settings are for 2.3-dev. You don't have these classes in 2.2

I'm really sure that you _don't_ need a Default class. If you don't
supply any java classes at all, then these are used. I never create a
custom page class and Turbine always uses VelocityPage.

>services.VelocityService.default.page = VelocityPage
>services.VelocityService.default.screen=VelocityScreen
>services.VelocityService.default.layout = VelocityOnlyLayout
>services.VelocityService.default.navigation=VelocityNavigation

Trust me. It works. :-) You need only Templates.

If you want more information, set the debug level for your turbine log
to DEBUG and you should get some messages if Turbine cannot
instantiate your tools.

For a working example you're welcome to fetch 

ftp://ftp.hometree.net/pub/java/multitemplate/multitemplate-1.0.tar.gz

A ready-to-deploy .war is in the same directory.

        Regards
                Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

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

Reply via email to