tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cri_sys <ser...@gmail.com>
Subject Re: javax.el.PropertyNotFoundException in JSF
Date Fri, 13 Jul 2012 08:16:24 GMT
yeah it is, is workiing perfectly when im using Faces annotations, but not
with CDI.
THis is my web.xml

<servlet>
		<servlet-name>Faces Servlet</servlet-name>
		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
		<load-on-startup>1</load-on-startup>
	</servlet>
	<filter>
		<filter-name>PrettyFilter</filter-name>
		<filter-class>com.ocpsoft.pretty.PrettyFilter</filter-class>
	</filter>
	<filter-mapping>
		<filter-name>PrettyFilter</filter-name>
		<url-pattern>/*</url-pattern>
		<dispatcher>FORWARD</dispatcher>
		<dispatcher>REQUEST</dispatcher>
		<dispatcher>ERROR</dispatcher>
		<dispatcher>ASYNC</dispatcher>
	</filter-mapping>
	<context-param>
		<param-name>javax.faces.PROJECT_STAGE</param-name>
		<param-value>Development</param-value>
	</context-param>	
	<context-param>
		<param-name>primefaces.THEME</param-name>
		<param-value>smoothness</param-value>
	</context-param>
	<servlet-mapping>
		<servlet-name>Faces Servlet</servlet-name>
		<url-pattern>/faces/*</url-pattern>
	</servlet-mapping>
    
	<servlet-mapping>
		<servlet-name>Faces Servlet</servlet-name>
		<url-pattern>*.xhtml</url-pattern>
	</servlet-mapping>
	<filter>
		<filter-name>guice</filter-name>
		<filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
	</filter>
	<filter-mapping>
		<filter-name>guice</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
	<listener>
		<description>guice init</description>
		<listener-class>com.polyglong.guice.DI</listener-class>
	</listener>
	<context-param>
		<param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
		<param-value>true</param-value>
	</context-param>
	<error-page>
		<error-code>500</error-code>
		<location>/</location>
	</error-page>

 maybe theres a listerner missing, i have try with and without

	<listener>
	
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
	</listener>	

the logs are just showing me the exception i posted before.

Thanks

--
View this message in context: http://openejb.979440.n4.nabble.com/javax-el-PropertyNotFoundException-in-JSF-tp4656218p4656269.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message