I'd like to embed my JSF 2.2 composite components in the iFrames of another application, and need a way to reference them by URL directly.
For example, I create a composite tag in: src/main/webapp/resources/petstore/PetList.xhtml
If I embed it in my home page using the tag it renders fine.
If I try to access it by URL directly... http://localhost:8080/PetStoreApp/resources/petstore/PetList.xhtml ...The page is rendered without any styling, JavaScript, etc... which are resource bundles mostly bundled with PrimeFaces (v5.0.18)
If anyone knows a strategy to do this 'the right way' in a PrimeFaces/JSF application, that would be much appreciated. Thank you in advance.