Maybe a summary below, from a design point of view, could convey a
good solution.
Diethelm Gonzalo wrote:
> > No one way, but like I said I prefer to define the frameset
> > in a Screen and not use Layout modules with Frames.
>
> Yeah, I think this makes sense; otherwise, what would be the
> point in using frames to begin with? Frames do provide for a
> kind of layout definition, so there is an overlap with Layouts
> (this is my crude understanding, there may be lots of things
> that escape me).
* A frameset could replace a layout, so it should be implemented
by the corresponding turbine procedure as Rafal Krzewski wrote:
> In this situation I would use MWOnlySiteLayout, that does not output
> any tags that you don't need, write a layouts/frameset.wm that defines
> any tags and screens/frameset.wm that outputs nothing. Then reference
> the frameset as somehost/somecontext/Turbine/template/frameset.wm
Otherwise as John McNally wrote:
> If you are using a Screen to generate the frameset page it should
> have a null Layout, so that Turbine does not end up adding extra tags.
(this implies that the default layout is skipped ... a feature John
is/has hopefully checked in)
* the frames itself could be simple screens which could use eiter
layout/header.fm, layout/navigation.fm, layout/footer.fm, or any
simple layout adressing the right content screen/template.
I seems possible to access a WM template without having to write
a matching java class if you have configured turbine to use the
WebMacroSite* as defaults and address the template via e.g.:
http://host/app/servlet/Turbine/template/header.fm
* A no-frames HTML could then use a more complex layout including
header, navigation and footer.
I hope im making sense. It seems all this is already possible
with turbine, but an example is missing.
Cheers,
Christoph
--
==============================================================
Deutsches Zentrum fuer Luft- und Raumfahrt (DLR)
Deutsches Fernerkundungs Datenzentrum (DFD)
DLR-DFD, Muenchner Strasse 20, D-82234 Wessling, Germany
============= Currenlty relocated to ESA-ESRIN ===============
ESA ESRIN Tel: +39 06 941 80 589
c/o Christoph Reck (DLR) Fax: +39 06 941 80 512
Via Galileo Galilei mailto:[EMAIL PROTECTED]
I-00044 Frascati (Roma) http://www.dfd.dlr.de
==============================================================
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]