Hi Klaus,
let me first add a disclaimer because this is old information: it was
very long since I worked on the theme functionality and it has been
redesigned and improved since. But it used to be designed for the
scenario you describe, by having the theme functionality calculate and
set an attribute representing the theme name in session scope. The token
was set only once, when the customer first connects to the Woodstock
application, so that it would be possible to override it with data from
the customer's profile when they log in.
I haven't had a chance to go see if this is still the case, but if you
have Woodstock running it will be easy to verify.
Theme names are configured in the manifest of the jar that contains the
theme resources, but you probably already know that part.
Ana
Klaus Stake wrote:
> The use case is the following.
>
> Users are starting at login page. Depending on the login the user
> shall see his theme (to enable corporate identity). Different users
> belong to different companies and all companies have their own look
> and fee.
>
> Got it?
>
> Thanks,
> Klaus
>
> 2007/4/20, Ratnadeep Bhattacharjee <Ratnadeep.Bhattacharjee_at_sun.com>:
>> Klaus Stake wrote:
>> > Hi,
>> >
>> > this is the 2nd try to send this question to this mailing list. The
>> > first attempt seems to be lost in nirvana. Here my question:
>> >
>> > Is it somehow possible to switch the theme at runtime?
>> >
>>
>> I don't believe that is the case. Do you have a use case where you may
>> want to change theme at runtime?
>>
>> Thanks,
>> -Deep.
>>
>> > Thanks
>> > Klaus
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
>> > For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
>> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>