The "default" way of specifying a specific layout template for a screen
template is to give them the same name.  Why do you want to override this
behavior in the Screen?

A caching system would be good.

John

----- Original Message -----
From: jon * <[EMAIL PROTECTED]>
To: Turbine <[EMAIL PROTECTED]>
Sent: Saturday, May 06, 2000 1:54 PM
Subject: wmsitelayout feature request


> This is mostly for Dave...
>
> I want to be able to have a Screen class override the layout template that
> will be executed by returning a method from Screen.getLayout(). This would
> happen somewhere in WebMacroSitePage, but I don't want it to interrupt the
> current scheme of doing the layout search path. One idea I was thinking of
> having is a check to see if a Screen has overridded that method by looking
> at the results. If the string ends with ".wm", then consider it overridden
> and attempt to execute it. What do you think of that idea?
>
> Also, we should think about doing a caching system so that the search path
> only happens once on a "production" box. In other words, once the template
> is found, stick with that one template and don't do the search over and
over
> again. What do you think of that?
>
> -jon
>
> --
>     Java Servlet Based - Open Source  |        Collab.Net
>         Bug/Issue Tracking System     |
>        <http://scarab.tigris.org/>    |  <http://Collab.Net/jobs/>
>
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to