In my ViewController project, I have several skins defined in trinidad-skins.xml.
I have created the skins files in a separate way, and these are working fine.
The thing is, I have to choose in a programatically way, which skin I will use for each use case, before I enter in the use case page.
For this purpose, I have a Managed Bean with a String property. When I browse for an use-case there's a invoked method bean in my task-flow which is responsible for setting the appropriate skin.
Everything is working fine until here. The problem is the adf fragment page (jsff) loaded after the invoked mbean method, it is showing the last choose skinning. If I refresh my web browser (F5), the skinning is refreshed.
It seems to be that ADF task-flow is keeping the skinning in cache or something like that. Anyone could help me?
your application needs to re-direct after applying a new skin. This means that instead of a bounded task flow you set the skin on the parent page and then redirect to the same view id. This will make the screen flicker once but this is how skinning gets applied