Thanks Eelco,
Andrew
On 10/20/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
I believe that's what style property of session/component is for:
* <li><b>Style </b>- The style ("skin") for a component is available through
* [EMAIL PROTECTED] Component#getStyle()}, which is equivalent to
* getSession().getStyle(). Styles are intended to give a particular look to a
* Component or Resource that is independent of its Locale. For example, a style
* might be a set of resources, including images and markup files, which gives
* the design look of "ocean" to the user. If the Session's style is set to
* "ocean" and these resources are given names suffixed with "_ocean", Wicket's
* resource management logic will be prefer these resources to other resources,
* such as default resources, which are not as good of a match.
Eelco
On 10/20/05, Andrew Berman <[EMAIL PROTECTED]> wrote:
> I have set up my Wicket app such that I have a template page as the parent
> and each page as the child (using the wicket:child and wicket:extend tags).
> However, I have a requirement where I need to change the template page (the
> shell of the HTML) on the fly based on info I pull from the database so that
> it looks different for different companies. Since the html is tied to the
> template class, is there a way for me to have the template class use an HTML
> file that I specify? I don't want to change the strategy for finding HTML
> files for all pages, only for the template page.
>
> Thanks for any help,
>
> Andrew
>
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
