Giter Site home page Giter Site logo

primefaces-test's Introduction

Maven Actions Status CI Actions Status Integration Tests Sonar License: MIT Discord Chat Stackoverflow Prime Discussions

PrimeFaces Hero

PrimeFaces

This is an overview page, please visit PrimeFaces.org for more information.

PrimeFaces Logo

Overview


PrimeFaces is one of the most popular UI libraries in Java EE Ecosystem and widely used by software companies, world renowned brands, banks, financial institutions, insurance companies, universities and more. Here are some of the users who notified us or subscribed to a PrimeFaces Support Service.

Community <> Elite <> Pro


This is the open source code and issue tracker of the PrimeFaces master (a.k.a. community version).
Please check the following link for informations about Elite and Pro: PrimeFaces Support

What does that mean?

  • PrimeFaces is developed by PrimeTek and the open source community.
  • The most contributers here on GitHub are working on PrimeFaces in their spare time.
  • PrimeTek pushes fixes and new features from their closed source Elite and Pro repositories to the community edition.
  • We, the community on GitHub, only provide support for issues, which are reproducable with the current SNAPSHOT (scroll down for more information on how to use it).
  • We are NOT able to port bugfixes to elite releases. This is up to PrimeTek and can e.g. be triggered with PrimeFaces PRO.

Versions


Version Binary Source JSF version Java version Documentation
14.0.x JAR Sources 2.3 - 4.0 11 - ? 14.0.0 Documentation
13.0.x JAR Sources 2.0 - 4.0 1.8 - ? 13.0.7 Documentation
12.0.x JAR Sources 2.0 - 4.0 1.8 - ? 12.0.0 Documentation
Archive
Version Binary Source JSF version Java version Documentation
11.0.0 primefaces-11.0.0.jar primefaces-11.0.0-sources.jar 2.0 - 4.0 1.8 - ? 11.0.0 Documentation
10.0.0 primefaces-10.0.0.jar primefaces-10.0.0-sources.jar 2.0 - 3.0 1.8 - ? 10.0.0 Documentation
8.0 primefaces-8.0.jar primefaces-8.0-sources.jar 2.0 - 2.3 1.8 - ? 8.0 Documentation
7.0 primefaces-7.0.jar primefaces-7.0-sources.jar 2.0 - 2.3 1.7 - ? 7.0 Documentation
6.2 primefaces-6.2.jar primefaces-6.2-sources.jar 2.0 - 2.3 1.6 - ? 6.2 Documentation
6.1 primefaces-6.1.jar primefaces-6.1-sources.jar 2.0 - 2.3 1.5 - ? 6.1 Documentation
6.0 primefaces-6.0.jar primefaces-6.0-sources.jar 2.0 - 2.2 1.5 - ? 6.0 Documentation
5.3 primefaces-5.3.jar primefaces-5.3-sources.jar 2.0 - 2.2 1.5 - ? 5.3 Documentation
5.2 primefaces-5.2.jar primefaces-5.2-sources.jar 2.0 - 2.2 1.5 - ? 5.2 Documentation
5.1 primefaces-5.1.jar primefaces-5.1-sources.jar 2.0 - 2.2 1.5 - ? 5.1 Documentation

For a full list of the available downloads, please visit the download page.

Maven


Release
<!-- Java EE / javax.* / JSF 2.2 - JSF 2.3 -->
<dependency>
    <groupId>org.primefaces</groupId>
    <artifactId>primefaces</artifactId>
    <version>13.0.7</version>
</dependency>

<!-- Jakarta EE / jakarta.* / Faces 3.0 - Faces 4.0  -->	
<dependency>
    <groupId>org.primefaces</groupId>
    <artifactId>primefaces</artifactId>
    <version>13.0.7</version>
    <classifier>jakarta</classifier>
</dependency>
SNAPSHOT
<!-- Java EE / javax.* / JSF 2.3 -->
<dependency>
    <groupId>org.primefaces</groupId>
    <artifactId>primefaces</artifactId>
    <version>14.0.0-SNAPSHOT</version>
</dependency>

<!-- Jakarta EE / jakarta.* / Faces 3.0 - Faces 4.0  -->
<dependency>
    <groupId>org.primefaces</groupId>
    <artifactId>primefaces</artifactId>
    <version>14.0.0-SNAPSHOT</version>
    <classifier>jakarta</classifier>
</dependency>

<repositories>
  <repository>
    <id>sonatype-snapshots</id>
    <name>Sonatype Snapshot Repository</name>
    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    <releases>
        <enabled>false</enabled>
    </releases>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>

Usage


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"
	xmlns:jsf="http://xmlns.jcp.org/jsf"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

	<h:head>

	</h:head>

	<h:body>

		<p:spinner />

	</h:body>
</html>

Demo


Please refer to the showcase in order to see the full usage of the components. Sources of PrimeFaces showcase are available within module primefaces-showcase.

Contribution


Visit the contribution page for detailed information.

Release Instructions


  • Run mvn versions:set -DgenerateBackupPoms=false -DnewVersion=14.0.0 to update all modules versions
  • Commit and push the changes to GitHub
  • In GitHub create a new Release titled 14.0.0 to tag this release
  • Run mvn clean deploy -Prelease to push to Maven Central
  • Rename Milestone in GitHub Issues and close it
  • Create a new Milestone

License


Licensed under the MIT License.

primefaces-test's People

Contributors

cagataycivici avatar dependabot[bot] avatar flipwarthog avatar jepsar avatar jxmai avatar melloware avatar mertsincan avatar onursenture avatar tandraschko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

primefaces-test's Issues

Can't resolve dependencies since CDI

I'm having this problem since I synced with the last version of primefaces-test, and I've tried with 2 different networks, same problem:

[WARNING] The POM for org.apache.geronimo.specs:geronimo-jcdi_2.0_spec:jar:1.0.1 is missing, no dependency information available
[WARNING] The POM for org.apache.geronimo.specs:geronimo-interceptor_1.2_spec:jar:1.0 is missing, no dependency information available
[WARNING] The POM for org.apache.geronimo.specs:geronimo-annotation_1.3_spec:jar:1.0 is missing, no dependency information available
[WARNING] The POM for javax.faces:jsf-api:jar:2.0 is missing, no dependency information available
[WARNING] The POM for org.apache.openwebbeans:openwebbeans-impl:jar:2.0.5 is missing, no dependency information available
[WARNING] The POM for org.apache.openwebbeans:openwebbeans-jsf:jar:2.0.5 is missing, no dependency information available
[WARNING] The POM for org.apache.openwebbeans:openwebbeans-web:jar:2.0.5 is missing, no dependency information available
[WARNING] The POM for org.apache.openwebbeans:openwebbeans-el22:jar:2.0.5 is missing, no dependency information available

Cant enable JSF 2.3 features, mainly EL and CDI artifacts injection

I'm trying to use the code below to activate JSF 2.3 and exception is thrown

java.lang.RuntimeException: javax.faces.FacesException: Unable to find CDI BeanManager

package org.primefaces.test;

import javax.faces.annotation.FacesConfig;
import javax.faces.annotation.FacesConfig.Version;

@FacesConfig(version = Version.JSF_2_3)
public class JSFConfigurator {
}

Make JSF "provided"

Deploying to Wildfly, I was getting this error:
The tag named inputFile from namespace http://xmlns.jcp.org/jsf/html has a null handler-class defined

and it went away when I added scope provided for the org.glassfish:javax.faces:2.2.7 dependency

ClassNotFoundExceptions in jakarta branch

It is currently not possible (for me) to run the current jakarta branch:

>mvn clean jetty:run -Pmyfaces40
[INFO] Scanning for projects...
[INFO]
[INFO] Using the MultiThreadedBuilder implementation with a thread count of 20
[INFO]
[INFO] -------------------< org.primefaces:primefaces-test >-------------------
[INFO] Building primefaces-test 1.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ primefaces-test ---
[INFO]
[INFO] >>> jetty:12.0.3:run (default-cli) > test-compile @ primefaces-test >>>
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ primefaces-test ---
[INFO] skip non existing resourceDirectory C:\Users\username\Downloads\primefaces-test-jakarta\src\main\resources
[INFO] Copying 1 resource from src\main\webapp\WEB-INF to target
[INFO]
[INFO] --- compiler:3.11.0:compile (default-compile) @ primefaces-test ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 3 source files with javac [debug release 11] to target\classes
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ primefaces-test ---
[INFO] skip non existing resourceDirectory C:\Users\username\Downloads\primefaces-test-jakarta\src\test\resources
[INFO]
[INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ primefaces-test ---
[INFO] No sources to compile
[INFO]
[INFO] <<< jetty:12.0.3:run (default-cli) < test-compile @ primefaces-test <<<
[INFO]
[INFO]
[INFO] --- jetty:12.0.3:run (default-cli) @ primefaces-test ---
[INFO] Configuring Jetty for project: primefaces-test
[INFO] Classes = C:\Users\username\Downloads\primefaces-test-jakarta\target\classes
[INFO] Context path = /primefaces-test
[INFO] Tmp directory = C:\Users\username\Downloads\primefaces-test-jakarta\target\tmp
[INFO] web.xml file = file:///C:/Users/username/Downloads/primefaces-test-jakarta/target/web.xml
[INFO] Webapp directory = C:\Users\username\Downloads\primefaces-test-jakarta\src\main\webapp
[INFO] Web defaults = org/eclipse/jetty/ee10/webapp/webdefault-ee10.xml
[INFO] Web overrides =  none
[INFO] jetty-12.0.3; built: 2023-10-27T03:25:22.284Z; git: a873259fd5af141dedaa6c7fa8fe8fbdedce0d61; jvm 17.0.5+8-LTS
[WARNING] The XML schema [XMLSchema.dtd] could not be found. This is very likely to break XML validation if XML validation is enabled.
[WARNING] The XML schema [datatypes.dtd] could not be found. This is very likely to break XML validation if XML validation is enabled.
[WARNING] The XML schema [xml.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
[INFO] CdiSpiDecorator enabled in [email protected]@4c513c2c{/primefaces-test,/primefaces-test,b=[file:///C:/Users/username/Downloads/primefaces-test-jakarta/src/main/webapp/, jar:file:///C:/Users/username/.m2/repository/org/apache/myfaces/core/myfaces-impl/4.0.1/myfaces-impl-4.0.1.jar!/META-INF/resources/, jar:file:///C:/Users/username/.m2/repository/org/apache/myfaces/core/myfaces-api/4.0.1/myfaces-api-4.0.1.jar!/META-INF/resources/, jar:file:///C:/Users/username/.m2/repository/org/primefaces/primefaces/13.0.3/primefaces-13.0.3-jakarta.jar!/META-INF/resources/],a=STOPPED,h=oeje10s.SessionHandler@3068a1c9{STOPPED}}{file:///C:/Users/username/Downloads/primefaces-test-jakarta/src/main/webapp/}
Nov. 22, 2023 11:21:51 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
INFO: WELD-ENV-001008: Initialize Weld using ServletContainerInitializer
Nov. 22, 2023 11:21:51 AM org.jboss.weld.bootstrap.WeldStartup <clinit>
INFO: WELD-000900: 5.1.2 (Final)
Nov. 22, 2023 11:21:52 AM org.jboss.weld.bootstrap.WeldStartup startContainer
INFO: WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Nov. 22, 2023 11:21:52 AM org.jboss.weld.event.ExtensionObserverMethodImpl checkRequiredTypeAnnotations
INFO: WELD-000411: Observer method [BackedAnnotatedMethod] org.apache.myfaces.config.annotation.CdiAnnotationProviderExtension.processAnnotatedType(@Observes ProcessAnnotatedType<T>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds.
Nov. 22, 2023 11:21:52 AM org.jboss.weld.environment.jetty.JettyContainer initialize
INFO: WELD-ENV-001213: Jetty CDI SPI support detected, CDI injection will be available in Listeners, Servlets and Filters.
Nov. 22, 2023 11:21:53 AM org.apache.myfaces.webapp.MyFacesContainerInitializer onStartup
INFORMATION: Using org.apache.myfaces.webapp.MyFacesContainerInitializer
[INFO] Session workerName=node0
[INFO] Started oeje10mp.MavenWebAppContext@4c513c2c{/primefaces-test,/primefaces-test,b=[file:///C:/Users/username/Downloads/primefaces-test-jakarta/src/main/webapp/, jar:file:///C:/Users/username/.m2/repository/org/apache/myfaces/core/myfaces-impl/4.0.1/myfaces-impl-4.0.1.jar!/META-INF/resources/, jar:file:///C:/Users/username/.m2/repository/org/apache/myfaces/core/myfaces-api/4.0.1/myfaces-api-4.0.1.jar!/META-INF/resources/, jar:file:///C:/Users/username/.m2/repository/org/primefaces/primefaces/13.0.3/primefaces-13.0.3-jakarta.jar!/META-INF/resources/],a=AVAILABLE,h=oeje10s.SessionHandler@3068a1c9{STARTED}}{file:///C:/Users/username/Downloads/primefaces-test-jakarta/src/main/webapp/}
Nov. 22, 2023 11:21:53 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getWebAppFacesConfig
INFORMATION: Reading config /WEB-INF/faces-config.xml
Nov. 22, 2023 11:21:53 AM org.apache.myfaces.util.ExternalSpecifications lambda$static$1
INFORMATION: MyFaces Core CDI support enabled
Nov. 22, 2023 11:21:53 AM org.apache.myfaces.util.ExternalSpecifications lambda$static$0
INFORMATION: MyFaces Core Bean Validation support disabled
Nov. 22, 2023 11:21:53 AM org.primefaces.webapp.PostConstructApplicationEventListener processEvent
INFORMATION: Running on PrimeFaces 13.0.3
Nov. 22, 2023 11:21:53 AM org.apache.myfaces.webapp.FacesInitializerImpl initFaces
INFORMATION: MyFaces Core has started, it took [817] ms.
[INFO] Started oeje10mp.MavenWebAppContext@4c513c2c{/primefaces-test,/primefaces-test,b=[file:///C:/Users/username/Downloads/primefaces-test-jakarta/src/main/webapp/, jar:file:///C:/Users/username/.m2/repository/org/apache/myfaces/core/myfaces-impl/4.0.1/myfaces-impl-4.0.1.jar!/META-INF/resources/, jar:file:///C:/Users/username/.m2/repository/org/apache/myfaces/core/myfaces-api/4.0.1/myfaces-api-4.0.1.jar!/META-INF/resources/, jar:file:///C:/Users/username/.m2/repository/org/primefaces/primefaces/13.0.3/primefaces-13.0.3-jakarta.jar!/META-INF/resources/],a=AVAILABLE,h=oeje10s.SessionHandler@3068a1c9{STARTED}}{file:///C:/Users/username/Downloads/primefaces-test-jakarta/src/main/webapp/}
[INFO] Started ServerConnector@4094adba{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
[INFO] Started oejs.Server@77a33246{STARTING}[12.0.3,sto=0] @7788ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.210 s (Wall Clock)
[INFO] Finished at: 2023-11-22T11:21:54+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.jetty.ee10:jetty-ee10-maven-plugin:12.0.3:run (default-cli) on project primefaces-test: Error starting jetty: Error forming scan list: java.nio.file.NoSuchFileException: C:\Users\username\Downloads\primefaces-test-jakarta\src\main\conf\jetty-env.xml -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[←[1;34mINFO←[m] Stopped oejs.Server@77a33246{STOPPING}[12.0.3,sto=0]
[←[1;34mINFO←[m] Stopped oeje10mp.MavenWebAppContext@4c513c2c{/primefaces-test,/primefaces-test,b=[file:///C:/Users/username/Downloads/primefaces-test-jakarta/src/main/webapp/, jar:file:///C:/Users/username/.m2/repository/org/apache/myfaces/core/myfaces-impl/4.0.1/myfaces-impl-4.0.1.jar!/META-INF/resources/, jar:file:///C:/Users/username/.m2/repository/org/apache/myfaces/core/myfaces-api/4.0.1/myfaces-api-4.0.1.jar!/META-INF/resources/, jar:file:///C:/Users/username/.m2/repository/org/primefaces/primefaces/13.0.3/primefaces-13.0.3-jakarta.jar!/META-INF/resources/],a=AVAILABLE,h=oeje10s.SessionHandler@3068a1c9{STOPPED}}{file:///C:/Users/username/Downloads/primefaces-test-jakarta/src/main/webapp/}
[←[1;34mINFO←[m] Stopped ServerConnector@4094adba{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
Exception in thread "JettyShutdownThread" java.lang.NoClassDefFoundError: org/eclipse/jetty/io/ManagedSelector$CloseConnections
        at org.eclipse.jetty.io.ManagedSelector.doStop(ManagedSelector.java:135)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:182)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:205)
        at org.eclipse.jetty.io.SelectorManager.doStop(SelectorManager.java:280)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:182)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:205)
        at org.eclipse.jetty.server.AbstractConnector.doStop(AbstractConnector.java:370)
        at org.eclipse.jetty.server.AbstractNetworkConnector.doStop(AbstractNetworkConnector.java:82)
        at org.eclipse.jetty.server.ServerConnector.doStop(ServerConnector.java:241)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
        at org.eclipse.jetty.ee10.maven.plugin.MavenServerConnector.doStop(MavenServerConnector.java:113)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
        at org.eclipse.jetty.server.Server.doStop(Server.java:658)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
        at org.eclipse.jetty.util.thread.ShutdownThread.run(ShutdownThread.java:136)
        Suppressed: java.lang.NoClassDefFoundError: org/eclipse/jetty/io/ManagedSelector$CloseConnections
                ... 17 more
        Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.io.ManagedSelector$CloseConnections
                ... 17 more
        Suppressed: java.lang.NoClassDefFoundError: org/eclipse/jetty/io/ManagedSelector$CloseConnections
                ... 17 more
        Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.io.ManagedSelector$CloseConnections
                ... 17 more
        Suppressed: java.lang.NoClassDefFoundError: org/eclipse/jetty/io/ManagedSelector$CloseConnections
                ... 17 more
        Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.io.ManagedSelector$CloseConnections
                ... 17 more
        Suppressed: java.lang.NoClassDefFoundError: org/eclipse/jetty/io/ManagedSelector$CloseConnections
                ... 17 more
        Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.io.ManagedSelector$CloseConnections
                ... 17 more
        Suppressed: java.lang.NoClassDefFoundError: org/eclipse/jetty/io/ManagedSelector$CloseConnections
                ... 17 more
        Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.io.ManagedSelector$CloseConnections
                ... 17 more
        Suppressed: java.lang.NoClassDefFoundError: org/eclipse/jetty/io/ManagedSelector$CloseConnections
                ... 17 more
        Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.io.ManagedSelector$CloseConnections
                ... 17 more
        Suppressed: java.lang.NoClassDefFoundError: org/eclipse/jetty/io/ManagedSelector$CloseConnections
                ... 17 more
        Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.io.ManagedSelector$CloseConnections
                ... 17 more
        Suppressed: java.lang.NoClassDefFoundError: org/eclipse/jetty/io/ManagedSelector$CloseConnections
                ... 17 more
        Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.io.ManagedSelector$CloseConnections
                ... 17 more
        Suppressed: java.lang.NoClassDefFoundError: org/eclipse/jetty/io/ManagedSelector$CloseConnections
                ... 17 more
        Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.io.ManagedSelector$CloseConnections
                ... 17 more
        Suppressed: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/compression/CompressionPool$Entry
                at org.eclipse.jetty.util.compression.CompressionPool.doStop(CompressionPool.java:112)
                at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
                at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:182)
                at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:205)
                at org.eclipse.jetty.server.Handler$Abstract.doStop(Handler.java:480)
                at org.eclipse.jetty.server.Server.doStop(Server.java:669)
                ... 2 more
                Suppressed: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/compression/CompressionPool$Entry
                        ... 8 more
                Suppressed: java.lang.NoClassDefFoundError: org/eclipse/jetty/ee10/plus/webapp/EnvConfiguration$Dumper
                        at org.eclipse.jetty.ee10.plus.webapp.EnvConfiguration.deconfigure(EnvConfiguration.java:153)
                        at org.eclipse.jetty.ee10.webapp.WebAppContext.stopContext(WebAppContext.java:1235)
                        at org.eclipse.jetty.ee10.servlet.ServletContextHandler.doStop(ServletContextHandler.java:1074)
                        at org.eclipse.jetty.ee10.maven.plugin.MavenWebAppContext.doStop(MavenWebAppContext.java:352)
                        at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
                        at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:182)
                        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:205)
                        at org.eclipse.jetty.server.Handler$Abstract.doStop(Handler.java:480)
                        ... 7 more
                Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.ee10.plus.webapp.EnvConfiguration$Dumper
                        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
                        at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
                        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
                        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
                        ... 15 more
                Suppressed: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/ReservedThreadExecutor$ReservedThread
                        at org.eclipse.jetty.util.thread.ReservedThreadExecutor.doStop(ReservedThreadExecutor.java:196)
                        at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
                        at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:182)
                        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:205)
                        at org.eclipse.jetty.util.thread.QueuedThreadPool.doStop(QueuedThreadPool.java:236)
                        ... 7 more
                Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread
                        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
                        at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
                        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
                        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
                        ... 12 more
        Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.util.compression.CompressionPool$Entry
                at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
                at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
                at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
                at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
                ... 8 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.io.ManagedSelector$CloseConnections
        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
        ... 17 more

f:selectItem itemLabel selected won't always be displayed in 'p:column h

I have created '<p:selectManyCheckbox id="carColumns" value="#{carService.selectedItems}"> as five versions of 'selectManyCheckbox' .

Each of 'Year, Brand, Colour, Price, Sold' as 'f:selectItem itemLabel="xxxxx" itemValue="xxxxx"/> (see the five)

My 'p:dataTable' show each of the 'Year, Brand, Colour, Price, Sold' are five as:
CODE: SELECT ALL

<p:column headerText="Year" sortBy="#{car.year}" rendered="#{carService.yearColumnRendered}">
<h:outputText value="#{car.year}"/>
</p:column>
As each of the 'Year, Brand, Colour, Price, Sold' are selected (all the 100 for each) are displayed. If I then un-click one of the 'p:dataTable' then the list is removed. When I try to click the list of it won't show it again.

i.e Selected 'Brand', clicks it and in 'p:column headerText' and shows the 100 rows of 'Brand'. I un-click the 'Brands' they all disappear. When I click on ''Brand'' they are not shown this time.

primefaces-test-master.zip

Enable PrimeFaces Features

By default we should enable PF features so we can test how the app should really be tested. PR coming to add the following:

    <!-- Enable FontAwesome -->
    <context-param>  
        <param-name>primefaces.FONT_AWESOME</param-name>  
        <param-value>true</param-value>  
    </context-param> 

    <!-- Enable PrimeFaces BeanValidation to HTML -->
    <context-param>
        <param-name>primefaces.TRANSFORM_METADATA</param-name>
        <param-value>true</param-value>
    </context-param>
    
    <!-- Enable PrimeFaces Script optimization to render scripts after DOM loads -->
    <context-param>
        <param-name>primefaces.MOVE_SCRIPTS_TO_BOTTOM</param-name>
        <param-value>true</param-value>
    </context-param>
    
    <!-- Enable PrimeFaces partial ajax submit to reduce network traffic  -->
    <context-param>
        <param-name>primefaces.SUBMIT</param-name>
        <param-value>partial</param-value>
    </context-param>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.