> Without facelets, I think you'd need to extend myfaces' view handler > (org.apache.myfaces.application.jsp.JspViewHandlerImpl) and specify to > use that in faces-config.xml In your custom view handler, you'd have > to load the file from the base app jar and feed the content into some > protected method of JspViewHandlerImpl. If this is possible at all, I > think that's the basic idea of how you'd do it. >
This might be in left field but a technique that I've seen for branding an application is to use the "variant" of the locale object. Generally you only see the country and language used but there is a third "variant" on the constructor that could be used as your branding id. Locale(String language, String country, String variant) A technique that I've seen is to use the domain name to derive a variant. The nice thing is that your properties files will use the third variant. For example, the variant would be "brand1". mypage_en_US_brand1.properties The CSS could be driven from an entry in the properties file and the properties files could contain pages that are included using the JSTL import. This would require a customized view handler. Maybe in the calculateLocale public Locale calculateLocale(FacesContext context); I'm probably making this up but Tiles might also look at the locale variant when pulling in config files? Gary
--- Begin Message ---
signature.asc
Description: OpenPGP digital signature
--- End Message ---

