Create a JSF portlet using facelets flow using navigation-handler in faces-config. Define resource library contracts for various resources loaded in those facelets. Run the application to see contracts successfully resolved for initial view facelet. However, for all the later requests where facelet/view gets loaded from navigation-case defined, we see that contracts resources don't get resolved and resource not found error is thrown for those. The resource is tried to be resolved from the base default location and not in contracts.