[richfaces-planning-issues] [JBoss JIRA] (RFPL-3150) Suggest concept of ResourceTracker to JSF SPEC
Lukáš Fryč (JIRA)
issues at jboss.org
Fri Jan 3 10:38:33 EST 2014
[ https://issues.jboss.org/browse/RFPL-3150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933613#comment-12933613 ]
Lukáš Fryč commented on RFPL-3150:
----------------------------------
Additionally this class could consider:
* importance of [Resource Ordering|https://issues.jboss.org/browse/RF-12537]
* resource aggregation (the ResourceTracker could take over resource rendering at all, not just ability to detect state of rendering)
> Suggest concept of ResourceTracker to JSF SPEC
> ----------------------------------------------
>
> Key: RFPL-3150
> URL: https://issues.jboss.org/browse/RFPL-3150
> Project: RichFaces Planning
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Reporter: Lukáš Fryč
>
> From the class source:
> {code}
> /**
> * Tracks what external resources are renderered to the page
> *
> * @author Lukas Fryc
> *
> */
> public interface ResourceTracker {
> /**
> * Returns true if given resource has been already renderered to the page
> *
> * @return true if given resource has been already renderered to the page; false otherwise
> */
> boolean isResourceRenderered(FacesContext facesContext, ResourceKey resourceKey);
> /**
> * Marks given resource as renderered
> */
> void markResourceRendered(FacesContext facesContext, ResourceKey resourceKey);
> }
> {code}
> See https://github.com/richfaces/richfaces/blob/5.0.0.Alpha2/framework/src/main/java/org/richfaces/resource/external/ResourceTracker.java
> Currently we need to use two JSF-impl specific classes:
> * {{[ResourceTrackerForMojarra|https://github.com/richfaces/richfaces/blob/5.0.0.Alpha2/framework/src/main/java/org/richfaces/resource/external/ResourceTrackerForMojarra.java]}}
> * {{[ResourceTrackerForMyFaces|https://github.com/richfaces/richfaces/blob/5.0.0.Alpha2/framework/src/main/java/org/richfaces/resource/external/ResourceTrackerForMyFaces.java]}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-planning-issues
mailing list