So... there is no way to use MyFaces on SJAS 9.0, isn't it?
On 6/19/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> I've noticed the presence of javax.faces.FacesServlet in javaee.jarunder > AS9 / Glassfish (which is also in myfaces-api.jar), I didn't look further if > implementations are the same, but I reminded I saw your post so I said it > may interest you: yes, a JavaEE container has to ship a) the API (javax.faces.***) b) the IMPL of the spec Any MyFaces has to ship the API as well (in case of Geronimo, the JSF-API is the one from MyFaces, in AS9 it is the JSF RI) -M > > If you don't see the sens : javaee.jar is implicitely added to your > classpath, so nothing guaranties your desired version of FacesServlet (and > maybe other classes) will be the one that is executed. > > Regards, > Zied > > > 2007/6/18, Matthias Wessendorf <[EMAIL PROTECTED]>: > > SJAS 9 is JavaEE 5 > > > > removing jsf-impl means, you removed the used IMPL > > And only jsf-api (also shipped by the RI) is left. > > > > A JavaEE5 container has to ignore a JSF runtime (and API), shipped > > inside WEB-INF/lib. > > Therefore myfaces-api / myfaces-impl aren't used. > > > > I am not sure, how easy it is to *change* the used JSF runtime on SJAS 9. > > JBoss has a parameter for this, AFAIK. > > > > -Matthias > > > > On 6/13/07, Juan Ignacio Sánchez Lara <[EMAIL PROTECTED]> wrote: > > > Has anybody managed to make MyFaces 1.1.5 work on SJAS 9? When I try to > load > > > a jsf page it throws an exception: > > > > > > java.lang.UnsupportedOperationException > > > > javax.faces.application.Application.getELResolver(Application.java:443) > > > ... > > > > > > It throws it even when I remove jsf-impl from server's lib directory, so > I > > > assume it's due to servlet version. > > > > > > -- > > > Juan Ignacio Sánchez Lara > > > Ingeniero Informático + Técnico de Sistemas > > > > > > Diario: http://juanignaciosl.blogspot.com > > > Ideas + Ingeniería del Software: http://iiso.blogspot.com/ > > > > > > Fotos (todas): > http://www.flickr.com/photos/juanignaciosl > > > Fotos (selección): > http://jpgmag.com/people/juanignaciosl > > > > > > -- > > Matthias Wessendorf > > > > further stuff: > > blog: http://matthiaswessendorf.wordpress.com/ > > mail: matzew-at-apache-dot-org > > > > > > -- > Zied Hamdi > zatreex.sourceforge.net -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail: matzew-at-apache-dot-org
-- Juan Ignacio Sánchez Lara Ingeniero Informático + Técnico de Sistemas Diario: http://juanignaciosl.blogspot.com Ideas + Ingeniería del Software: http://iiso.blogspot.com/ Fotos (todas): http://www.flickr.com/photos/juanignaciosl Fotos (selección): http://jpgmag.com/people/juanignaciosl

