[richfaces-issues] [JBoss JIRA] Updated: (RF-983) Check the compatibility issue with com.ibm.faces.renderkit.AjaxRenderKitFactory

Vladislav Baranov (JIRA) jira-events at lists.jboss.org
Wed Apr 9 11:34:07 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-983?page=all ]

Vladislav Baranov updated RF-983:
---------------------------------

    Fix Version/s: 3.2.2
                       (was: 3.1.5)

The reason of the problems with RichFaces resource loading is the feature of ibm faces implementation. Class com.ibm.faces.renderkit.DefaultAjaxRenderer wrappes the actual RichFaces component renderer, which could be retrieved by calling public method getRealRenderer().
RichFaces loads resources for each component from the page by its renderer (done in ViewResources->processHeadResources) checking the instance of the renderer to be the instance of HeaderResourceProducer. In case when the actual component renderer is wrapped by wrapper class (like with DefaultAjaxRenderer) this check fails and scripts and styles are not loaded.

> Check the compatibility issue with com.ibm.faces.renderkit.AjaxRenderKitFactory
> -------------------------------------------------------------------------------
>
>                 Key: RF-983
>                 URL: http://jira.jboss.com/jira/browse/RF-983
>             Project: RichFaces
>          Issue Type: Task
>    Affects Versions: 3.1.0
>            Reporter: Sergey Smirnov
>         Assigned To: Vladislav Baranov
>             Fix For: 3.2.2
>
>         Attachments: test.war
>
>
> Inserting 
> 	<factory>
> 		<faces-context-factory>
> 		com.ibm.faces.context.AjaxFacesContextFactory</faces-context-factory>
> 		<render-kit-factory>
> 		com.ibm.faces.renderkit.AjaxRenderKitFactory</render-kit-factory>
> 	</factory>
> into the faces-config.xml causes the problem with RichFaces resource loading

-- 
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

        



More information about the richfaces-issues mailing list