In JSF application we are using richfaces (Final.3.3.3). In pom.xml there is dependency on jsf-api-2.0.2
, jsf-impl-2.0.2
and jsf-facelets-1.1.15.jar
, and in faces-config.xml there is <view-handler>
configured like this:
<application>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
</application>
I know that in JSF2 you don't need jsf-facelets. You also don't need to configure <view-handler>
in faces-config.xml. So I removed facelets jar and <view-handler>
line from faces-config.xml. But when I did it, richfaces didn't work. E.g. rich:toolBarGroup
is not shown.
There is javascript error "document.body is null" that comes from a4j javascript file.
Does richfaces need this specific ViewHandler
from jsf-facelets
?