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

Reply via email to