webtier@glassfish.java.net

Re: [webtier] Load a view file from the classpath?

From: Jason Lee <jasondlee_at_sun.com>
Date: Thu, 05 Nov 2009 15:30:50 -0600

On Nov 5, 2009, at 3:07 PM, webtier_at_javadesktop.org wrote:

> I'm wondering what it would take to load a JSF2 .xhtml View File
> from the Classpath included in a JAR file, and set that as the
> ViewRoot.
>
> It's got to be possible, but how?


Can you decorate the ViewHandler and override createView() ?

         Jason Lee
Senior Java Developer
GlassFish Administration Console

Sun Microsystems, Inc.
Phone x31197/+1 405-343-1964
Email jasondlee_at_sun.com
Blog http://blogs.sun.com/jasondlee
Blog http://blogs.steeplesoft.com