[JAVASERVERFACES-2511] Implement ResourceResourceLibraryContracts Created: 07/Sep/12  Updated: 27/Feb/13  Resolved: 27/Feb/13

Status: Closed
Project: javaserverfaces
Component/s: facelets
Affects Version/s: None
Fix Version/s: 2.2.0-m10

Type: Task Priority: Critical
Reporter: Ed Burns Assignee: Ed Burns
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: 3 days Remaining Estimate: 0 minutes
Σ Time Spent: 16 hours, 36 minutes Time Spent: 16 hours, 36 minutes
Σ Original Estimate: 3 days Original Estimate: Not Specified

Attachments: Text File 20121115-1653-i_moj_2511.patch     Zip Archive 20121115-1653-i_moj_2511.zip    
Issue Links:
depends on JAVASERVERFACES_SPEC_PUBLIC-971 Multi-templating System Closed
depends on JAVASERVERFACES_SPEC_PUBLIC-1142 ResourceLibraryPrefix Introduce "pref... Closed
JAVASERVERFACES-2640 ResourceLibraryContracts startup time Sub-task Closed Manfred Riem  
JAVASERVERFACES-2654 Make it so <f:view contracts=""> attr... Sub-task Closed Manfred Riem  
JAVASERVERFACES-2655 DefaultFaceletFactory.needsToBeRefres... Sub-task Closed  
JAVASERVERFACES-2663 Fix virtual hosting (Host header) test Sub-task Closed Manfred Riem  
JAVASERVERFACES-2671 add a test that asserts that putting ... Sub-task Closed Manfred Riem  
JAVASERVERFACES-2679 Make it so relative paths work with R... Sub-task Closed Frank Caputo  
JAVASERVERFACES-2709 Implement calculateResourceLibraryCon... Sub-task Closed Manfred Riem  


This is the task to track implementation work for JAVASERVERFACES_SPEC_PUBLIC-971

Comment by Ed Burns [ 15/Nov/12 ]


Comment by Ed Burns [ 16/Nov/12 ]

This is what remains as of today for this issue.

Take a look at in the 20121115 PDF.

  • I've only done the <web-app-root>/contracts searching. All of the
    stuff that loads from META-INF/contracts is totally unwritten, but
    straightforward to write.
  • The XML parsing logic that populates the resource library contracts
    data structure needs to be implemented.

This means fleshing out
ApplicationAssociate.getResourceLibraryContracts(), which is called
from WebConfiguration.discoverResourceLibraryContracts(). Lots of
stuff in our crufty XML parsing story has the form of, "do some
parsing and stuff some stuff into a data structure on
ApplicationAssociate. This is no different.

  • The contracts attribute in f:view isn't implemented.
  • FaceletViewHandlingStrategy.calculateResourceLibraryContracts() needs
    to us ethe resource library contract data structure to do the mapping
Generated at Thu Oct 08 20:27:30 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.