Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/teedjay/playground-primefaces

Playing around with PrimeFaces
https://github.com/teedjay/playground-primefaces

Last synced: 7 days ago
JSON representation

Playing around with PrimeFaces

Awesome Lists containing this project

README

        

# playground-primefaces
Playing around with PrimeFaces using Java 8, Jetty 8 and JSF 2.2 (Mojarra implementation).
Consider to add CDI and other EJB features later (alternatively switch to TomEE-plume).

## How to compile and run using Jetty :
Use the commands below to compile and run in Jetty, then open your browser at [http://localhost:8080/](http://localhost:8080/)

mvn clean package

mvn jetty:run

## Context Parameters (in web.xml)
Use these ** to tweak the settings of JSF and PrimeFaces.

| context-param | default | description |
| ------------- | ------- | ----------- |
| javax.faces.PROJECT_STAGE | Development | *Development*, *Production*, *SystemTest*, *UnitTest* |
| javax.faces.FACELETS_SKIP_COMMENTS | false | Comments are part of the XHTML DOM and would count as a column if used in PanelGrid etc |
| primefaces.THEME | artisto (built-in) | Theme of the application, remember to add maven dependency for the theme jar |
| primefaces.SUBMIT | full | Select *full* or *partial* ajax submit mode |
| primefaces.RESET_VALUES | false | When enabled, ajax updated inputs are reset first (*true* or *false*) |
| primefaces.CLIENT_SIDE_VALIDATION | false | Controls client side validatation (*true* or *false*) |
| primefaces.UPLOADER | auto | Defines uploader mode; *auto*, *native* or *commons* |
| primefaces.DIR | ltr | Rendering orientation left-to-right (*ltr*) og right-to-left (*rtl*) |
| primefaces.SECRET | primefaces | Secret key to encrypt-decrypt value expressions exposed in rendering StreamedContents |
| primefaces.PUSH_SERVER_URL | null | Custom server url for PrimeFaces Push (not sure if this is used in 5.x) |