webtier@glassfish.java.net

Re: [webtier] JSF 1.2?

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Wed, 05 Aug 2009 13:46:22 -0700

On 8/5/09 1:22 PM, Jeffrey Blattman wrote:
> i'm using icefaces, which requires JSF 1.2. i used to be able to
> uninstall JSF 2.0 and install 1.2 by following these instructions,
>
> http://www.icefaces.org/JForum/posts/list/11335.page
>
> however, now when i try to remove 2.0, it says that it is required by
> another pkg (web 3.0.0?), and the JSF 1.2 pkgs listed there are no
> longer available.
Bundle the JSF 1.2 implementation JARs with your application.

Include a sun-web.xml that looks something like:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD GlassFish
Application Server 3.0 Servlet 3.0//EN"
"http://www.sun.com/software/appserver/dtds/sun-web-app_3_0-0.dtd">
<sun-web-app>
<class-loader delegate="false"/>
<property name="useBundledJsf" value="true"/>
</sun-web-app>

in WEB-INF of your war and deploy it without changing the jars included
with v3.
>
> ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>