Declare FaceletsViewHandler in faces-config.xml in RichFaces projects
---------------------------------------------------------------------
Key: JBSEAM-2196
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2196
Project: JBoss Seam
Issue Type: Task
Reporter: Pete Muir
Assigned To: Pete Muir
Fix For: 2.0.0.GA
From Sergey:
RichFaces has its own view handler. However, the org.ajax4jsf.VIEW_HANDLERS
is not for declaring the RichFaces view handler, but sets the order of other
third party view handlers (if more then one are used).
RichFaces must be the first in the view handlers chain. Previously, it was a
problem when Facelets' VH is declared in the faces-config.xml, as soon as
this means putting in the first position. org.ajax4jsf.VIEW_HANDLERS used to
be only the way how to add facelets view handler after the ajax4jsf's one.
About a year ago (or so), we found the way: The InitPhaseListener in
beforePhase checks if our handler on the first position. If not, puts it to
there.
This is a source:
http://tinyurl.com/2bk9o7
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira