to assign a style you must get the name of the host so basically i didnt find
any way to do this inside session or somewhere else

jwcarman wrote:
> 
> Have you looked into Wicket's "skin" support?  Basically, you can
> assign a "style" to each session.
> 
> On Wed, Mar 26, 2008 at 6:08 AM, kman <[EMAIL PROTECTED]> wrote:
>>
>>  i am currently working on a simple CMS based on wicket.
>>  I want the resulting application to support multiple sites based on host
>>  name.
>>  i have a CustomResourceStreamLocator which lookups templates inside
>> WEB-INF
>>  folder.
>>  is there an easy way to customize ResourceStreamLocator to lookup html
>> files
>>  based on virtual host?
>>  for example html files for example.com to be in
>>  WEB-INF/templates/example.com
>>  and for example2.com to be in WEB-INF/templates/example2.com
>>  ?
>>  --
>>  View this message in context:
>> http://www.nabble.com/Page-templates-per-virtual-host-tp16299142p16299142.html
>>  Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>>  For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Page-templates-per-virtual-host-tp16299142p16301536.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to