Configuring the faces-config.xml file
In the faces-config.xml file, we have to set the default render kit for Trinidad.This can be done with just a single element:
We also have to make sure that we do not set the Facelets view handler in the faces-config.xml file. If you ever get a java.lang.IllegalStateException stating No RenderingContext from the Trinidad renderer, then it is probably because the Facelets view handler is defined in the faces-config.xml file.
In the faces-config.xml file, we have to set the default render kit for Trinidad.This can be done with just a single element:
<default-render-kit-id> org.apache.myfaces.trinidad.core </default-render-kit-id>
We also have to make sure that we do not set the Facelets view handler in the faces-config.xml file. If you ever get a java.lang.IllegalStateException stating No RenderingContext from the Trinidad renderer, then it is probably because the Facelets view handler is defined in the faces-config.xml file.
Comments
Post a Comment