Okay, I figured the rest of it out. When it's working, I'll write it
up. Thanks for your help, Jon and John.
Travis (another John, actually...JATL =)
Travis Low wrote:
>
> Note to all: the Apache-Turbine-20000712.tar.gz snapshot doesn't
> compile, but the latest CVS codebase does.
>
> John McNally wrote:
> >
> > I would recommend using FreeMarkerSiteLayout and FreeMarkerSitePage as your
> > defaults in TurbineResources. Make sure to get the latest copy of these as
> > well as TurbineFreeMarkerService as I just checked in a small change.
>
> Thanks, got it. But please bear with me. I think you mean the
> following:
>
> # This is the default layout to apply.
> # Default: DefaultLayout
> layout.default=FreeMarkerSiteLayout
>
> # This is the default page module. You probably do not want
> # to modify this.
> # (I don't?!?!?)
> # Default: DefaultPage
> page.default=FreeMarkerSitePage
>
> BUT, should I change any of the following? (Note the guesses)
>
> # default: /default.wm
> # Used by the Turbine as the default if no other templates are
> specified
> default.template=/default.fm
>
> # Used to set the template homepage if you are using a
> # template layout.
> # default: /index.wm
> template.homepage=/index.fm
>
> # This is the default screen to show to people when they
> # first access the system. You can override this by
> # specifying module.packages to include your own modules.
> ### Where FMLogin extends BaseFreeMarkerScreen
> screen.homepage=FMLogin
>
> # This is the page that is shown on an incorrect login
> # attempt. It is referenced in the LoginUser action
> ### Where FMLogin extends BaseFreeMarkerScreen
> screen.login=FMLogin
>
> # This is the default error screen
> ### Where FMError extends BaseFreeMarkerScreen
> screen.error=FMError
>
> > ...Please note the comma...
>
> Noted, thanks.
>
> > The FreeMarker stuff needs to be brought up-to-date with the WebMacro
> > service. Its still very usable but Dave Bryson, et. al. have improved the
> > WM service and the FM service can take advantage of these improvements
> > (caching). I will try to get to it, but I have a few other things on my
> > plate and I am not using FM for anything right now. If you can live with
> > its limitations you might want to use WM, as you will find more support.
> > But I still think some of the stuff in FM is worth the ugly syntax.
>
> Which ugly syntax? I find FM much easier on the eyes, and unlike
> WebMacro, it doesn't give you enough rope to hang yourself.
>
> I'm currently in a race with my junior developer. If I configure
> Turbine with FreeMarker before he configures it with WebMacro, then
> we're using FreeMarker. If I win, we'll try to schedule time to
> improve the Turbine FreeMarker integration, including the improvements
> you mention.
>
> -- Travis Low
> [EMAIL PROTECTED]
> 1-301-592-6305 (direct)
>
> || StayConnect
> || 10750 Columbia Pike, Silver Spring MD 20901
> || 1-888-304-7829 (toll free) 1-301-592-6304 (fax)
> || http://www.stayconnect.com
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
-- Travis Low
[EMAIL PROTECTED]
1-301-592-6305 (direct)
|| StayConnect
|| 10750 Columbia Pike, Silver Spring MD 20901
|| 1-888-304-7829 (toll free) 1-301-592-6304 (fax)
|| http://www.stayconnect.com
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]