Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getViewResources method(s) to get list of physical view resources and logical views #1435

Closed
eclipse-faces-bot opened this issue Jan 3, 2017 · 5 comments

Comments

@eclipse-faces-bot
Copy link

The ServletContext has a method to acquire all paths to resources within a web application; getResourcePaths().

In JSF resources are handled by the ResourceHandler This has a method createViewResource that takes a path and effectively returns a URL, just like ServletContext has a getResource method taking a path and returning a URL.

In both cases, the usage is to abstract the actual location of resources, which could therefor transparently be on a local or remote filesystem, in a database, custom jar location, or whatever.

The JSF specific ResourceHandler however does not have a getResourcePaths() equivalent.

I'd like to propose to rectify this by introducing such method for JSF view resources.

Care should be taken that it can both physical and logical views, and both views that can be requested for a top level request only, and all views (including those for includes).

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Reported by @arjantijms

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Marked as fixed on Wednesday, January 25th 2017, 1:20:00 am

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-1435

@eclipse-faces-bot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants