I have been trying to figure out how to fit JSP's within the Turbine layout, navigation, screen modules and so far have come up short. Has anyone else come up with a solution? Another scheme which I think has some potential is borrowed from some recent experience with Dreamweaver. In this approach For layouts: you could use the usual parse/include statements for the particular template framework to add navigation modules, or use the adaptors provided by Turbine. Layout modules contain some markers for areas which are to be filled in by the screen. These markers could be unique tags, though I was planning to use the comment structure similar to Dreamweaver (to keep compatibility). For screens: Every screen must start out containing the comment statements giving its template (if any) and marking the regions of unique copy for that screen (e.g. title and content). An offline process would check for changes to a layout and then search the screens for those which use the changed template. It then replaces any code in the screens that is not inside the markers with the updated layout. This new method could be kept fairly compatible with the current scheme and a switch in TurbineResources (or probably a different Page module) would determine the layout scheme. The main disadvantage with this method is that screens end up with (possibly a lot) of code in them that is not supposed to be changed within the screen itself. This works okay in a WYSIWYG editor that can disallow edits to the uneditable parts. It is not quite as nice in code that will probably be changed a text editor. Though it should be obvious to anyone who is advanced enough to be designing or editing html for an application. The advantage is that a screen ends up self-contained (except for the includes which add navigations) so that they can be sent directly to the response stream, which is compatible with JSP and could be seen as the preferred way by those who desire to minimize the response time. Thoughts? John McNally ------------------------------------------------------------ To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/> Problems?: [EMAIL PROTECTED]
