myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: config web.xml myfaces for use with primefaces
Date Tue, 09 Apr 2013 08:46:48 GMT
hi,

@ #1:
it shouldn't be needed (myfaces-core is doing it automatically).
if you have issues after removing it, please report it to the team of tomee.

regards,
gerhard



http://www.irian.at

Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


2013/4/9 Thomas Andraschko <andraschko.thomas@gmail.com>

> 1) it's necessary
> 2) Just use google... It's a EL Implementation
>
>
> 2013/4/8 maurojava <mauro2java2011@gmail.com>
>
> > tank you for your response.
> > When i create a new project with netbeans 7.3 and tomee server, and i add
> > the JSF framework, i get automatically into web.xml the following
> > configuration for myfaces:
> >
> > <listener>
> >
> >
> >
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
> >     </listener>
> >     <servlet>
> >         <servlet-name>Faces Servlet</servlet-name>
> >         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
> >         <load-on-startup>1</load-on-startup>
> >     </servlet>
> >     <servlet-mapping>
> >         <servlet-name>Faces Servlet</servlet-name>
> >         <url-pattern>*.jsf</url-pattern>
> >     </servlet-mapping>
> >
> > from your response not says over <listener>
> >
> >
> >
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
> >     </listener>
> >
> >
> > it is necessaries?
> >
> > what  it is the work of the <listener>
> >
> >
> >
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
> >     </listener>
> > at startup of my web application??
> >
> >
> > 2)Other questions:
> > from the link:
> >
> http://tandraschko.blogspot.de/2012/08/increase-your-jsf-application.html
> >
> > i read :
> >
> > Use JUEL as EL implementation
> >
> >     Add the newest JUEL API + implementation as depedency
> >     Configure MyFaces to use JUEL:
> >
> >
> >     <context-param>
> >
> <param-name>org.apache.myfaces.EXPRESSION_FACTORY</param-name>
> >
> <param-value>de.odysseus.el.ExpressionFactoryImpl</param-value>
> >     </context-param>
> >
> > Increase expression cache in JUEL
> >
> >     Create src/main/resources/el.properties
> >     Add property javax.el.cacheSize with a custom size. The default size
> is
> > 1000. In my application i use a size of 3000.
> >
> > DO i can download the JUEL ? it is from myfaces core???
> > -----------------------------------------------------------
> > If you use CDI, consider to use OpenWebBeans as implementation and
> > configure
> > this in your web.xml:
> >
> >
> > <context-param>
> >     <param-name>org.apache.myfaces.EL_RESOLVER_COMPARATOR</param-name>
> >
> >
> >
> <param-value>org.apache.myfaces.el.unified.OpenWebBeansELResolverComparator</param-value>
> > </context-param>
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://myfaces.10567.n7.nabble.com/config-web-xml-myfaces-for-use-with-primefaces-tp114536p114539.html
> > Sent from the MyFaces - Users mailing list archive at Nabble.com.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message