kukeltje wrote:Not everything from previous PF Mobile is implemented in PF5 (with mobile embedded)
Thank you for the reply. I now know that and I rolled back to PFM 0.9.4 with Primefaces 4.0 and alot of functionalities like autocomplete, filters, auto dividers were working but the livescroll wasn't implemented until version 0.9.5. So I wanted to use version 0.9.5 instead, but how can I do that? PFM 0.9.5 isn't working with Primefaces 4.0, Netbeans doesn't run the project. I get the error "The module has not been deployed" and on the glassfish logs I have the following error:
Code: Select all
SEVERE: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException:
Source Document: jar:file:/C:/Users/sparrow/Documents/NetBeansProjects/PFMTest/build/web/WEB-INF/lib/primefaces-mobile-0.9.5.jar!/META-INF/faces-config.xml
Cause: Class 'org.primefaces.mobile.renderkit.FileUploadRenderer' is missing a runtime dependency: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItem
The contents of my faces-config.xml file are:
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<faces-config version="2.2"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
<application>
<default-render-kit-id>PRIMEFACES_MOBILE</default-render-kit-id>
</application>
</faces-config>
I can get PFM 0.9.4 working with Primefaces 4.0 but not PFM 0.9.5. What am I doing wrong?