[Opensource] The Great Frames Debate
Thompson, Kris
kris.thompson at seurat.com
Mon Mar 10 07:17:01 PST 2003
As I mentioned in a previous post that the current presentation directories are littered with .inc, jsp and html, what you suggest here I think is a GREAT start in cleaning up the logic behind the presentation and the actual files. This maybe a little bit of an over simplification to the problem, how would we integrate the DBMaint pages, use of a new custom tag? However with that said I would like to hear what Rimov thinks because I never really did understand the functionality that he was worried about losing.
> -----Original Message-----
> From: Peter A. Pilgrim [mailto:peterp at xenonsoft.demon.co.uk]
> Sent: Saturday, March 08, 2003 9:32 PM
> To: opensource at jcorporate.com
> Subject: Re: [Opensource] The Great Frames Debate
>
>
> David Herron wrote:
> >
> > On Monday, Feb 24, 2003, at 13:32 US/Pacific, Michael Rimov wrote:
> >
> >> So, is there anybody that has a suggestion on how to remove the
> >> frames, WITHOUT removing any of the benefits that frames provide?
> >>
> >
>
> --////---
>
> > For the site I'll experiment with Tiles, but at the
> moment what I read
> > in the book doesn't impress me. Sounds like everything you
> might want
> > to do is just as doable with jsp:include or with custom
> tags. But maybe
> > the Tiles let you change the look of a whole site all at
> once just by
> > changing the tile definition.
>
>
> Tiles is great for setting a standard layout for common set
> of web pages.
>
> --////--
>
> Here is a simple tile layout for the Admin pages
>
> <html>
> <body>
>
> <table width="100%" cellspacing="4" cellpadding="0" >
> <tr>
> <td colspan="2">
> <%-- Jcorporate logo and icon button menus --%>
> <tiles:insert attribute="navigation" />
> </td>
> </tr>
> <tr>
>
> <td width="150" >
> <%-- component menu --%>
> <tiles:insert attribute="component-menu" />
> </td>
>
> <td>
> <%-- user content --%>
> <tiles:insert attribute="body" />
> </td>
>
> </tr>
> </table>
>
> </body>
> </html>
>
> then you can use the layout in a JSP
>
> <tiles:insert page="/expresso/templates/AdminDefaultLayout.jsp" >
> <tiles:put put="navigation"
> value="/expresso/standard/navigation.jsp" />
> <tiles:put put="navigation"
> value="/expresso/standard/component-menu.jsp" />
> <tiles:put put="navigation"
> value="/orangetrader/myscreen.jsp" />
> </tiles:insert>
>
> myscreen.jsp is where I define my body content. How difficult is it?
>
> --
> Peter Pilgrim
> __ _____ _____ _____
> / //__ // ___// ___/ + Serverside Java
> / /___/ // /__ / /__ + Struts
> / // ___// ___// ___/ + Expresso Committer
> __/ // /__ / /__ / /__ + Independent Contractor
> /___//____//____//____/ + Intrinsic Motivation
> On Line Resume
> ||
> \\===> `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''
>
>
More information about the Opensource
mailing list