[RESOLVIDO]JSF + Primefaces mobile

Como faço para criar um projeto de jsf com primefaces mobile ?

tenho como criar com dynamic web project e utilizar o primefaces mobile ?

alguem tem um tutorial de inicio para mim ?

Olá,

Tem algumas coisas usando o primeface:

http://www.primefaces.org/showcase-labs/mobile/index.jsf

não consegui achar algum tutorial de pelo menos um hello para iniciar com a lib do mobile

Dá uma olhada:
http://www.primefaces.org/documentation.html

Mobile Guide
0.9.4

No manual ele não tem um passo a passo de como criar, só fala das dependencias…não diz se pode ser por web ou pelo maven…

Então no manual mostra tudo certo sim, o modo de criar é como qualquer tela de jsf a única diferença é que vai importar o jar de mobile.

Criei um projeto como Dynamic Web Project no eclipse e coloquei na pasta lib as bibliotecas…

javax.faces-2.0.10.jar
jstl.jar
primefaces-3.2.jar
primefaces-mobile-0.9.4.jar
standard.jar

porém quando eu coloco a lib primefaces-mobile-0.9.4.jar, o eclipse me dá esse erro:

[quote]

Ago 21, 2013 10:08:41 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
Ago 21, 2013 10:08:41 AM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Ago 21, 2013 10:08:41 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source’ to ‘org.eclipse.jst.jee.server:Hello’ did not find a matching property.
Ago 21, 2013 10:08:42 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
Ago 21, 2013 10:08:42 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [“http-apr-8080”]
Ago 21, 2013 10:08:42 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [“ajp-apr-8009”]
Ago 21, 2013 10:08:42 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2326 ms
Ago 21, 2013 10:08:43 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Ago 21, 2013 10:08:43 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.42
Ago 21, 2013 10:08:46 AM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Inicializando Mojarra 2.0.10 (SNAPSHOT 20121218-2005) para o contexto '/Hello’
Ago 21, 2013 10:08:48 AM com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: Anotações PostConstruct/PreDestroy presentes. Os métodos ManagedBeans marcados com essas anotações informarão as anotações processadas.
Ago 21, 2013 10:08:49 AM com.sun.faces.config.ConfigManager initialize
INFO: Unsanitized stacktrace from failed start…
com.sun.faces.config.ConfigurationException:
Source Document: jar:file:/C:/Users/Robinho/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Hello/WEB-INF/lib/primefaces-mobile-0.9.4.jar!/META-INF/faces-config.xml
Cause: Class ‘org.primefaces.mobile.renderkit.GrowlRenderer’ is missing a runtime dependency: java.lang.NoClassDefFoundError: org/primefaces/renderkit/UINotificationRenderer
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:279)
at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderers(RenderKitConfigProcessor.java:313)
at com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:179)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ManagedBeanConfigProcessor.process(ManagedBeanConfigProcessor.java:270)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ValidatorConfigProcessor.process(ValidatorConfigProcessor.java:120)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ConverterConfigProcessor.process(ConverterConfigProcessor.java:126)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ComponentConfigProcessor.process(ComponentConfigProcessor.java:117)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:341)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:216)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:33
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:220)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4937)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NoClassDefFoundError: org/primefaces/renderkit/UINotificationRenderer
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2895)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at com.sun.faces.util.Util.loadClass(Util.java:223)
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:311)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:240)
… 28 more
Caused by: java.lang.ClassNotFoundException: org.primefaces.renderkit.UINotificationRenderer
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
… 38 more

Ago 21, 2013 10:08:49 AM com.sun.faces.config.ConfigureListener contextInitialized
SEVERE: Critical error during deployment:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.primefaces.renderkit.UINotificationRenderer
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:220)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4937)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: org.primefaces.renderkit.UINotificationRenderer
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2895)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at com.sun.faces.util.Util.loadClass(Util.java:223)
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:311)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:240)
at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderers(RenderKitConfigProcessor.java:313)
at com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:179)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ManagedBeanConfigProcessor.process(ManagedBeanConfigProcessor.java:270)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ValidatorConfigProcessor.process(ValidatorConfigProcessor.java:120)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ConverterConfigProcessor.process(ConverterConfigProcessor.java:126)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ComponentConfigProcessor.process(ComponentConfigProcessor.java:117)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:341)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:216)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:33
… 11 more

Ago 21, 2013 10:08:49 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.primefaces.renderkit.UINotificationRenderer
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:287)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4937)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.primefaces.renderkit.UINotificationRenderer
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:220)
… 10 more
Caused by: java.lang.ClassNotFoundException: org.primefaces.renderkit.UINotificationRenderer
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2895)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at com.sun.faces.util.Util.loadClass(Util.java:223)
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:311)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:240)
at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderers(RenderKitConfigProcessor.java:313)
at com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:179)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ManagedBeanConfigProcessor.process(ManagedBeanConfigProcessor.java:270)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ValidatorConfigProcessor.process(ValidatorConfigProcessor.java:120)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ConverterConfigProcessor.process(ConverterConfigProcessor.java:126)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ComponentConfigProcessor.process(ComponentConfigProcessor.java:117)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:341)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:216)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:33
… 11 more

Ago 21, 2013 10:08:49 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Ago 21, 2013 10:08:49 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/Hello] startup failed due to previous errors
Ago 21, 2013 10:08:49 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“http-apr-8080”]
Ago 21, 2013 10:08:49 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“ajp-apr-8009”]
Ago 21, 2013 10:08:49 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6288 ms [/quote]

http://www.hascode.com/2012/01/create-mobile-websites-using-java-server-faces-and-primefaces-mobile/

opa, valew, vou tentar esse ai…qualquer coisa posto informações aqui…

blz, qualquer coisa coloca como resolvido no titulo

Boa sorte

Como que eu configuro as dependências no pom.xml ? pelo eclipse

http://tocadojava.blogspot.com.br/2011/12/maven-e-eclipse-m2e.html

consegui colocar as dependencias, porém a cada passo aparece vários problemas…bom consegui seguir mais ou menos esse tutorial http://www.hascode.com/2012/01/create-mobile-websites-using-java-server-faces-and-primefaces-mobile/

porém criei o projeto como web e depois fiz a conversão para maven project, coloquei as dependencias no pom.xml

[code]

4.0.0
primefaces
primefaces
0.0.1-SNAPSHOT
war

src


maven-compiler-plugin
3.1

1.6
1.6



maven-war-plugin
2.3

WebContent
false



prime-repo Prime Repo http://repository.primefaces.org
	<dependency>
		<groupId>org.primefaces</groupId>
		<artifactId>primefaces</artifactId>
		<version>3.3</version>
	</dependency>

	<!-- JSF 2 -->
	<dependency>
		<groupId>com.sun.faces</groupId>
		<artifactId>jsf-api</artifactId>
		<version>2.1.11</version>
	</dependency>
	<dependency>
		<groupId>com.sun.faces</groupId>
		<artifactId>jsf-impl</artifactId>
		<version>2.1.11</version>
	</dependency>

	<dependency>
		<groupId>javax.servlet</groupId>
		<artifactId>jstl</artifactId>
		<version>1.2</version>
	</dependency>

	<dependency>
		<groupId>javax.servlet</groupId>
		<artifactId>servlet-api</artifactId>
		<version>2.5</version>
	</dependency>

	<dependency>
		<groupId>javax.servlet.jsp</groupId>
		<artifactId>jsp-api</artifactId>
		<version>2.1</version>
	</dependency>

	<!-- EL -->
	<dependency>
		<groupId>org.glassfish.web</groupId>
		<artifactId>el-impl</artifactId>
		<version>2.2</version>
	</dependency>

	<!-- Tomcat 6 need this 
	<dependency>
		<groupId>com.sun.el</groupId>
		<artifactId>el-ri</artifactId>
		<version>1.0</version>
	</dependency>
	-->
</dependencies>

[/code]

então no WebContent criei o demo.xhtml :

<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui" xmlns:pm="http://primefaces.org/mobile" contentType="text/html" > <pm:page title="hasCode.com PrimeFaces Mobile Tutorial - Simple Navigation"> <pm:view id="viewChapter1"> <pm:header title="First Chapter"/> <pm:content> <h:form> <p:commandButton value="Go to second chapter" action="pm:viewChapter2"/> </h:form> This is the first chapter </pm:content> </pm:view> <pm:view id="viewChapter2"> <pm:header title="Second Chapter"/> <pm:content> <h:form> <p:commandButton value="Go to first chapter" action="pm:viewChapter1"/> </h:form> This is the second chapter </pm:content> </pm:view> </pm:page> </f:view>

e no web.xml coloquei :

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>hasCode.com PrimeFaces Mobile Tutorial</display-name> <context-param> <param-name>javax.faces.PROJECT_STAGE</param-name> <param-value>Development</param-value> </context-param> <context-param> <param-name>com.sun.faces.allowTextChildren</param-name> <param-value>true</param-value> </context-param> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> </servlet> <servlet> <servlet-name>Resource Servlet</servlet-name> <servlet-class>org.primefaces.resource.ResourceServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>Resource Servlet</servlet-name> <url-pattern>/primefaces_resource/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.xhtml</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>/demo.xhtml</welcome-file> </welcome-file-list> </web-app>

quando executo ele dá esses erros, que já procurei muito na net, fiz várias coisas e não consegui solucionar…

to quase desistindo do primefaces mobile…afff rs

Alguém pode me ajudar ?

Ninguém trabalhou com o primefaces Mobile ?

Tem outro framework que posso usar que não dá tanto problema quanto esse ?

Amigos estou com o mesmo problema, conseguiram ?:

Alguém pode me ajudar ?

Eu tive o mesmo problema e acabei de resolver colocando esse monte de tag render no meu faces-config.xml:
Espero que ajude…

Boa sorte!

<?xml version="1.0" encoding="utf-8"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
    version="2.0">
    <!--
    No ManagedBean declarations here as we are using @ManagedBean Annotations.
    -->
	<application>
	    <default-render-kit-id>PRIMEFACES_MOBILE</default-render-kit-id>
	</application>

	<render-kit>
		<render-kit-id>PRIMEFACES_MOBILE</render-kit-id>
		<render-kit-class>org.primefaces.mobile.renderkit.MobileRenderKit</render-kit-class>
        <renderer>
            <component-family>org.primefaces.component</component-family>
            <renderer-type>org.primefaces.component.CommandButtonRenderer</renderer-type>
            <renderer-class>org.primefaces.mobile.renderkit.CommandButtonRenderer</renderer-class>
        </renderer>
        
        <renderer>
            <component-family>org.primefaces.component</component-family>
            <renderer-type>org.primefaces.component.ButtonRenderer</renderer-type>
            <renderer-class>org.primefaces.mobile.renderkit.ButtonRenderer</renderer-class>
        </renderer>

        <renderer>
            <component-family>org.primefaces.component</component-family>
            <renderer-type>org.primefaces.component.DataListRenderer</renderer-type>
            <renderer-class>org.primefaces.mobile.renderkit.DataListRenderer</renderer-class>
        </renderer>
        
        <renderer>
            <component-family>org.primefaces.component</component-family>
            <renderer-type>org.primefaces.component.InputTextRenderer</renderer-type>
            <renderer-class>org.primefaces.mobile.renderkit.InputTextRenderer</renderer-class>
        </renderer>
        
        <renderer>
            <component-family>org.primefaces.component</component-family>
            <renderer-type>org.primefaces.component.InputTextareaRenderer</renderer-type>
            <renderer-class>org.primefaces.mobile.renderkit.InputTextareaRenderer</renderer-class>
        </renderer>
        
        <renderer>
            <component-family>javax.faces.Panel</component-family>
            <renderer-type>javax.faces.Grid</renderer-type>
            <renderer-class>org.primefaces.mobile.renderkit.PanelGridRenderer</renderer-class>
        </renderer>
        
        <renderer>
            <component-family>javax.faces.Output</component-family>
            <renderer-type>javax.faces.Link</renderer-type>
            <renderer-class>org.primefaces.mobile.renderkit.OutputLinkRenderer</renderer-class>
        </renderer>
        
        <renderer>
            <component-family>org.primefaces.component</component-family>
            <renderer-type>org.primefaces.component.PanelRenderer</renderer-type>
            <renderer-class>org.primefaces.mobile.renderkit.PanelRenderer</renderer-class>
        </renderer>
        
        <renderer>
            <component-family>org.primefaces.component</component-family>
            <renderer-type>org.primefaces.component.AccordionPanelRenderer</renderer-type>
            <renderer-class>org.primefaces.mobile.renderkit.AccordionPanelRenderer</renderer-class>
        </renderer>
                
        <renderer>
            <component-family>org.primefaces.component</component-family>
            <renderer-type>org.primefaces.component.SelectBooleanCheckboxRenderer</renderer-type>
            <renderer-class>org.primefaces.mobile.renderkit.SelectBooleanCheckboxRenderer</renderer-class>
        </renderer>
        
        <renderer>
            <component-family>org.primefaces.component</component-family>
            <renderer-type>org.primefaces.component.SelectManyCheckboxRenderer</renderer-type>
            <renderer-class>org.primefaces.mobile.renderkit.SelectManyCheckboxRenderer</renderer-class>
        </renderer>
        
        <renderer>
            <component-family>org.primefaces.component</component-family>
            <renderer-type>org.primefaces.component.SelectOneRadioRenderer</renderer-type>
            <renderer-class>org.primefaces.mobile.renderkit.SelectOneRadioRenderer</renderer-class>
        </renderer>
		<renderer>
			<component-family>org.primefaces.mobile.component</component-family>
			<renderer-type>org.primefaces.mobile.component.ButtonGroupRenderer</renderer-type>
			<renderer-class>org.primefaces.mobile.component.buttongroup.ButtonGroupRenderer</renderer-class>
		</renderer>
		<renderer>
			<component-family>org.primefaces.mobile.component</component-family>
			<renderer-type>org.primefaces.mobile.component.ContentRenderer</renderer-type>
			<renderer-class>org.primefaces.mobile.component.content.ContentRenderer</renderer-class>
		</renderer>
		<renderer>
			<component-family>org.primefaces.mobile.component</component-family>
			<renderer-type>org.primefaces.mobile.component.FieldRenderer</renderer-type>
			<renderer-class>org.primefaces.mobile.component.field.FieldRenderer</renderer-class>
		</renderer>
		<renderer>
			<component-family>org.primefaces.mobile.component</component-family>
			<renderer-type>org.primefaces.mobile.component.FooterRenderer</renderer-type>
			<renderer-class>org.primefaces.mobile.component.footer.FooterRenderer</renderer-class>
		</renderer>
		<renderer>
			<component-family>org.primefaces.mobile.component</component-family>
			<renderer-type>org.primefaces.mobile.component.HeaderRenderer</renderer-type>
			<renderer-class>org.primefaces.mobile.component.header.HeaderRenderer</renderer-class>
		</renderer>
		<renderer>
			<component-family>org.primefaces.mobile.component</component-family>
			<renderer-type>org.primefaces.mobile.component.InputRangeRenderer</renderer-type>
			<renderer-class>org.primefaces.mobile.component.inputrange.InputRangeRenderer</renderer-class>
		</renderer>
		<renderer>
			<component-family>org.primefaces.mobile.component</component-family>
			<renderer-type>org.primefaces.mobile.component.NavBarRenderer</renderer-type>
			<renderer-class>org.primefaces.mobile.component.navbar.NavBarRenderer</renderer-class>
		</renderer>
		<renderer>
			<component-family>org.primefaces.mobile.component</component-family>
			<renderer-type>org.primefaces.mobile.component.PageRenderer</renderer-type>
			<renderer-class>org.primefaces.mobile.component.page.PageRenderer</renderer-class>
		</renderer>
		<renderer>
			<component-family>org.primefaces.mobile.component</component-family>
			<renderer-type>org.primefaces.mobile.component.UISwitchRenderer</renderer-type>
			<renderer-class>org.primefaces.mobile.component.uiswitch.UISwitchRenderer</renderer-class>
		</renderer>
		<renderer>
			<component-family>org.primefaces.mobile.component</component-family>
			<renderer-type>org.primefaces.mobile.component.ViewRenderer</renderer-type>
			<renderer-class>org.primefaces.mobile.component.view.ViewRenderer</renderer-class>
		</renderer>
	</render-kit>	
</faces-config>

colocando essas configurações…dá esses erros:

[code]Ago 27, 2013 5:02:02 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Borland\Delphi7\Bin;C:\Program Files (x86)\Borland\Delphi7\Projects\Bpl;C:\Program Files\Broadcom\Broadcom 802.11\Driver;;;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;.
Ago 27, 2013 5:02:02 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source’ to ‘org.eclipse.jst.jee.server:Hello_mavenm’ did not find a matching property.
Ago 27, 2013 5:02:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [“http-bio-8080”]
Ago 27, 2013 5:02:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [“ajp-bio-8009”]
Ago 27, 2013 5:02:02 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 677 ms
Ago 27, 2013 5:02:03 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Ago 27, 2013 5:02:03 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.42
Ago 27, 2013 5:02:03 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(D:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Hello_mavenm\WEB-INF\lib\el-api-2.2.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/el/Expression.class
Ago 27, 2013 5:02:03 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(D:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Hello_mavenm\WEB-INF\lib\jsp-api-2.1.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/el/Expression.class
Ago 27, 2013 5:02:03 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(D:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Hello_mavenm\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Ago 27, 2013 5:02:05 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Inicializando Mojarra 2.1.11 ( 20120711-1632) para o contexto '/Hello_mavenm’
Ago 27, 2013 5:02:05 PM com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: Anotações PostConstruct/PreDestroy presentes. Os métodos ManagedBeans marcados com essas anotações informarão as anotações processadas.
Ago 27, 2013 5:02:06 PM com.sun.faces.config.ConfigureListener contextInitialized
SEVERE: Critical error during deployment:
com.sun.faces.config.ConfigurationException:
Source Document: jndi:/localhost/Hello_mavenm/WEB-INF/faces-config.xml
Cause: Unable to find class 'org.primefaces.mobile.renderkit.MobileRenderKit’
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:273)
at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderKits(RenderKitConfigProcessor.java:242)
at com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:159)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ManagedBeanConfigProcessor.process(ManagedBeanConfigProcessor.java:270)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ValidatorConfigProcessor.process(ValidatorConfigProcessor.java:120)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ConverterConfigProcessor.process(ConverterConfigProcessor.java:126)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ComponentConfigProcessor.process(ComponentConfigProcessor.java:117)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:340)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:362)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4937)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.primefaces.mobile.renderkit.MobileRenderKit
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at com.sun.faces.util.Util.loadClass(Util.java:347)
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:311)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:240)
… 28 more

Ago 27, 2013 5:02:06 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException:
Source Document: jndi:/localhost/Hello_mavenm/WEB-INF/faces-config.xml
Cause: Unable to find class 'org.primefaces.mobile.renderkit.MobileRenderKit’
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:295)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4937)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.faces.config.ConfigurationException:
Source Document: jndi:/localhost/Hello_mavenm/WEB-INF/faces-config.xml
Cause: Unable to find class 'org.primefaces.mobile.renderkit.MobileRenderKit’
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:273)
at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderKits(RenderKitConfigProcessor.java:242)
at com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:159)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ManagedBeanConfigProcessor.process(ManagedBeanConfigProcessor.java:270)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ValidatorConfigProcessor.process(ValidatorConfigProcessor.java:120)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ConverterConfigProcessor.process(ConverterConfigProcessor.java:126)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ComponentConfigProcessor.process(ComponentConfigProcessor.java:117)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:340)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:362)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228)
… 10 more
Caused by: java.lang.ClassNotFoundException: org.primefaces.mobile.renderkit.MobileRenderKit
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at com.sun.faces.util.Util.loadClass(Util.java:347)
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:311)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:240)
… 28 more

Ago 27, 2013 5:02:06 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Ago 27, 2013 5:02:06 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/Hello_mavenm] startup failed due to previous errors
Ago 27, 2013 5:02:06 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“http-bio-8080”]
Ago 27, 2013 5:02:06 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“ajp-bio-8009”]
Ago 27, 2013 5:02:06 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3239 ms
[/code]

alguém pode ajudar ?

eu consegui montar o projeto, mas simplesmente quando abre a pagina fica em branco