Testing primefaces functionality. This project is in reference to the primefaces forum entry:
http://forum.primefaces.org/viewtopic.php?f=3&t=33107
- Clone the repository
git clone https://github.com/mikedehaan/primefacesTest.git
- Change to the newly cloned project
cd primefacesTest
- Run maven to start tomcat7
mvn clean tomcat7:run
- Access the application in the browser
http://localhost:8080/primefacesTest
-
Click the button marked "ui-button"
-
Read the console logs generated from log4j and notice values are not set
[http-bio-8080-exec-10]12:37:49,370 | DEBUG | SampleDataTablePageBean.validate | - Local: [null] [http-bio-8080-exec-10]12:37:49,371 | DEBUG | SampleDataTablePageBean.validate | - Submitted: [null] [http-bio-8080-exec-10]12:37:49,371 | DEBUG | SampleDataTablePageBean.validate | - Reading Value threw an exception org.apache.myfaces.view.facelets.el.ContextAwareELException: javax.el.ELException: java.lang.ArrayIndexOutOfBoundsException: -1