Having a skin for your application is great to manage how it looks and feels from a central location, but giving the user an option to change the skin at runtime is also a great feature that many applications might want to provide to their users.
In this recipe, we will know how to provide the user with the capability to change skins at runtime and swap between two skins.
You can continue from the last recipe, or you can grab the
ADFFacesSwapSkins application from the Git repository.
To know how to change skins at runtime, perform the following steps: