[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2690) Facelets & Richfaces integration: view handler should be registered in web.xml

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Sep 8 09:37:40 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBIDE-2690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12428578#action_12428578 ] 

Alexey Kazakov commented on JBIDE-2690:
---------------------------------------

As I understood Nick we should add FaceletViewHandler to web.xml and remove(!) this handler from faces-config. But our "add custom capability" feature can't remove anything. It can only add.
But RichFaces user guid says that moving the handler into web.xml is not necessary for projects which work with RichFaces/Facelets only.
Nick can you help us? When do we have to move the handler?

> Facelets & Richfaces integration: view handler should be registered in web.xml
> ------------------------------------------------------------------------------
>
>                 Key: JBIDE-2690
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-2690
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: integration
>            Reporter: Nick Belaevski
>            Assignee: Alexey Kazakov
>             Fix For: 3.0.0.beta1
>
>
> Addition of Facelets capabilities to Richfaces project should register FaceletViewHandler in web.xml as 
>  <context-param> 
>   <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
>   <param-value>com.sun.facelets.FaceletViewHandler</param-value>
>  </context-param>
> but in faces-config.xml.
> To reproduce:
> 1. Add JSF capabilities to existing project
> 2. Add Richfaces capabilities
> 3. Add Facelets capabilities
> view handler is registered in faces-config.xml, but the right setup for Richfaces projects is to declare it in web.xml 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list