this is the question. what in the above list is a peding el jars? as well, i had to put back jasper-el.jar - otherwise, I got the exception!
Werner Punz-2 wrote: > > I am not an expert on this, but it sounds like an old el lib is still > lingering around, have you cleaned out all lib dirs tomcat has (lib and > commons/lib) of pending el jars? > > Werner > > > Am 23.05.10 14:28, schrieb deligeli: >> >> Hi! >> >> I am trying to use el-api-2.2.jar with myfaces 2.0. >> as i read here:http://wiki.apache.org/myfaces/HowToEnableEl22 >> >> I even added the parameter: >> >> <context-param> >> <param-name>org.apache.myfaces.EXPRESSION_FACTORY</param-name> >> <param-value>com.sun.el.ExpressionFactoryImpl</param-value> >> </context-param> >> >> However, I get this exception: >> >> org.apache.jasper.JasperException: /root.jsp(13,2) The function library >> must >> be used with a prefix when a default namespace is not specified >> at >> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) >> at >> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) >> at >> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148) >> at >> org.apache.jasper.compiler.Validator$ValidateVisitor$1FVVisitor.visit(Validator.java:1478) >> >> When I try to execute: >> >> <h:outputText value="#{libraryBean.library('yes')}"></h:outputText> >> >> and in my bean I have: >> public String getLibrary(String type){ >> return type; >> } >> public String getLibrary(){ >> return "hllo"; >> } >> >> when I remove the variable ('yes') - it works and returns hllo. >> >> I tried to remove jasper-el.jar from tomcat, but i got an exception. >> >> My jars at tomcat: >> annotation-api.jar >> catalina.jar >> catalina-ant.jar >> catalina-ha.jar >> catalina-tribes.jar >> el-api2.2.jar >> el-impl2.2.jar >> jasper.jar >> jasper-jdt.jar >> jsp-api.jar >> servlet-api.jar >> tomcat-coyote.jar >> tomcat-dbcp.jar >> tomcat-i18n-es.jar >> tomcat-i18n-fr.jar >> tomcat-i18n-ja.jar >> >> and at the application i have: >> myfaces-2.0 >> >> >> what am I missing? > > > > -- View this message in context: http://old.nabble.com/using-new-el-api-2.2-with-myfaces2.0-and-tomcat6-tp28649111p28649626.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

