Ew, I find @Border an abomination tbh.
1) It breaks up the .html so it no longer looks like a normal html page
2) It assumes that header remains the same across pages.

Or at least it seemed that way to me when I started using Tap.

Henrik
----- Original Message ----- From: "Henri Dupre" <[EMAIL PROTECTED]>
To: "Tapestry development" <[email protected]>
Sent: Monday, July 31, 2006 5:58 PM
Subject: Re: Idea for @Shell improvement


Not sure what you mean... Can't you create your own @Border component that
wraps a @Shell with your defaults?


On 7/31/06, devel - Fashion Content <[EMAIL PROTECTED]> wrote:

I have been using my own custom Shell component for a while now, and have
come up with an improvement along the lines of the AjaxDelegate.

I think a Cache flagging mechanism would be very good, but I will put that
in a separate suggestion.

On most sites you would want a common setup for :

doctype
stylesheet
stylesheets

You might even want to implement a skinnable concept and vary the
stylesheets depending on the user.

How about new parameter IShellDefaults getShellDefaults().

interface IShellDefault {
   String getDoctype();
   String[] getBaseStylesheets(); // Always used
   String[] getStylesheets(); // Used if none are specified
   IDelegate getDelegate(String pageName); // Can be used for favicon etc
}

I can submit a patch if my approach sounds good.

Henrik




--
Henri Dupre
Actualis Center



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to