Hi all,
I have the following problem:
I use the UIManager to create skins for my application. Since I want
each user to define its own skin, I extend the UIManager tool and override
the setSkin(RunData data) method to set the appropriate skin per request 
(based obviously on a user preference).

The problem is that the skins seem to get mixed up!

I checked the code of TurbinePullService.populateWithRequestTools method
and I see that the ApplicationTools are reused with no syncrhonization (on the actual
web-request of the user). 
As I understand from the code, each ApplicationTool is just init'ed before
being added to the context, but the same instance of the tool is used for 
more than one requests withouth synchronization. So, if for one request
a user is choosing one skin and at the same time another user uses a second
skin, the the actual object instance that is added to the context of both
requests, may be the same (so the mix up)

Is that correct? Am I missing something here? 
Please, give me some feedback on this!

Thanks for your help,
Costas

Reply via email to