You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Danny Robinson <da...@gmail.com> on 2008/02/20 11:27:15 UTC
Loading View(.xhtml) from Classpath
Does anyone know if it is possible to load .xhtml files from a jar using
Facelets? If not, what would be required to do this, including ensuring
that facelets templating still works OK?
I know this belongs on the Facelets list - but the facelets site is running
sooo slow for me today.
D.
Re: Loading View(.xhtml) from Classpath
Posted by Matthias Wessendorf <ma...@apache.org>.
Hi Daniel,
On Fri, Feb 22, 2008 at 9:27 AM, Daniel Niklas
<da...@continentale.de> wrote:
>
> Hi Danny,
>
> it is possible, to load xhtml-files from a jar file. Out of the box, this is
> true for templates and custom tags. There is no build in support for this,
> when a page is directly requested from the browser. If you want to do that,
> you can extend the DefaultResourceResolver of facelets.
sounds like a common request;
if you have such a class, why not adding it to our wiki ;-)
Thx,
Matthias
>
> Best regards
> Daniel
> --
> View this message in context: http://www.nabble.com/Loading-View%28.xhtml%29-from-Classpath-tp15586189p15629659.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org
Re: Loading View(.xhtml) from Classpath
Posted by Daniel Niklas <da...@continentale.de>.
Hi Danny,
it is possible, to load xhtml-files from a jar file. Out of the box, this is
true for templates and custom tags. There is no build in support for this,
when a page is directly requested from the browser. If you want to do that,
you can extend the DefaultResourceResolver of facelets.
Best regards
Daniel
--
View this message in context: http://www.nabble.com/Loading-View%28.xhtml%29-from-Classpath-tp15586189p15629659.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.