Re: Howto use the UIService
Scott Eade <[email protected]>
| Newsgroups | gmane.comp.jakarta.turbine.user |
|---|---|
| Message-ID | <[email protected]> |
Thomas Vandahl wrote:
> Scott Eade wrote:
>> UITool.setSkin(user, skin);
>
> Right. Tried that. But my observation was, that this does not take
> effect until the tool is initialized again (which does not happen during
> the normal session life cycle). What helps is to reload the application
> which serializes and de-serializes the session...
Looks like I am breaking the rules then:
UITool.setSkin(user, skin);
((UITool) context.get("ui")).init(user);
Scott