Looks like there is a confusion about the renderkits for Trinidad and ADF Faces. Today a colleague asked me what’s up with these renderkit IDs:
- oracle.adf.core
- oracle.adf.desktop
- oracle.adf.pda
- oracle.adf.rich
The last one (oracle.adf.rich) is the one that you want to use, when running ADF Faces Rich Client (checkout the demo: http://tinyurl.com/adf-faces-live) – However JDeveloper takes care of the faces-config.xml set up.
The first three are legacy IDs from ADF Faces 10g. Once the project was donated to Trinidad the IDs have been changed. When you are running Trinidad, you want to use the (previously oracle.adf.core) in your faces-config.xml file:
<faces-config>
...
<application>
<default-render-kit-id>
org.apache.myfaces.trinidad.core
</default-render-kit-id>
...
If you are interested about ADF Faces 10g to Trinidad migration, checkout this helpful document.
Skinning
Now these other IDs, used for Skinning, are also now namespaced under the “org.apache.myfaces.trinidad” ID:
- org.apache.myfaces.trinidad.desktop
- org.apache.myfaces.trinidad.pda
- org.apache.myfaces.trinidad.core
So when you now create your own skin, use one of the above to point to a specific RenderKit. A quick example on of doing own skinning for (mobile) Trinidad applications is written here.
Advertisement
Like this:
Be the first to like this post.
Pingback: ADFFaces Features im Überblick « Berthold Maier’s Weblog