[richfaces-issues] [JBoss JIRA] (RF-11739) Components that don't require jsf.js can break ResourceMapping

Brian Leathem (Commented) (JIRA) jira-events at lists.jboss.org
Thu Nov 24 21:10:40 EST 2011


    [ https://issues.jboss.org/browse/RF-11739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645526#comment-12645526 ] 

Brian Leathem commented on RF-11739:
------------------------------------

Given that tapping into the JSF resource handling mechanism is problematic, an alternative to resolve this issue is to have to compressed files.  One for JS resources that require jsf.js, and another for resources that don't require jsf.js.

Adding a single extra file to the page download will not significantly effect performance.
                
> Components that don't require jsf.js can break ResourceMapping
> --------------------------------------------------------------
>
>                 Key: RF-11739
>                 URL: https://issues.jboss.org/browse/RF-11739
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component
>    Affects Versions: 4.0.0.CR1
>            Reporter: Brian Leathem
>             Fix For: 4.2.0.Tracking
>
>
> This bug is only observable when resourceMapping is enabled.
> If a component doesn't require jsf.js, and it is the first component to require a resource, it will trigger packed.js to redner before jsf.js.  This breaks some of the scripts in packed.js, that require jsf.js.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list