Hi Leonardo,
> Am 04.02.2015 um 04:35 schrieb Leonardo Uribe <leonardo.uribe_at_irian.at>:
>
> …snip
thanks for the clarification.
>
> One proposal could be this:
>
> - Allow load views from /views folder
> - Allow load views from META-INF/views from the classpath.
> - Allow load views from a resource library contract like this:
> <contract-name>/views . This would make the libraryName "views"
> reserved, so we need to take care about this to do not leak views from
> createResource(...) (potential security hazard).
> - Keep the existing rules as is.
I don’t like the /views folder, because this forces JSF developers to structure their facelets technically. If the developers work domain driven, they usually structure by the domain. E.g. a folder /account will have all facelets belonging to the domain account including the corresponding views.
Ciao Frank