[richfaces-issues] [JBoss JIRA] Created: (RF-8963) Create CDK template directive to relocate content into ViewRoot component resources.

Alexander Smirnov (JIRA) jira-events at lists.jboss.org
Wed Jul 21 14:14:52 EDT 2010


Create CDK template directive to relocate content into ViewRoot component resources.
------------------------------------------------------------------------------------

                 Key: RF-8963
                 URL: https://jira.jboss.org/browse/RF-8963
             Project: RichFaces
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: CDK
            Reporter: Alexander Smirnov
            Assignee: Alexander Smirnov
             Fix For: Future_4.X


For better page loading performance, JSF 2.0 supports rendering of JavaScript libraries at the bottom of the page. In this case, all component JavaScript initialization code has to be rendered after libraries. To do that, component has to render its initialization as transient UIOutput component and add it to the ViewRoot componentResources with 'body' target to be rendered at the bottom of the page.
CDK template tag "<cdk:resource> should put enclosed content into componentResource instead of rendering directly to ResponseWriter.

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

        


More information about the richfaces-issues mailing list