[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:32:33 EST 2014
Lukáš Fryč created RFPL-3150:
--------------------------------
Summary: 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