http://www.primefaces.org/showcase If you are working with Primefaces and you don’t know this website you are losing time. This is the … More
Tag: primafeces
Primefaces : How to set the max value for a inputTextarea component ?
You can use this function in Javascript : onkeyup=”if(this.value.length>(max value)){this.value=this.value.substring(0,5);alert(‘(Warning Text)’)}” Example : <h:inputTextarea value=”#{myController.bigtext}” onkeyup=”if(this.value.length>500){this.value=this.value.substring(0,5);alert(‘The maximum value is 500 … More
Primefaces – What to do to not lose the values of the components when has some update ?
Often we need to update a form or a div and the component values are lost . To solve it … More
Primefaces : How to change to the autocomplete component isn’t case sensitive?
Check your implementation driven by “completeMethod”. In this implementation you should perform the dealings só that this query isn’t case … More
Primefaces : How to solve the datatable filter problem is case sensitive after 5.0 version?
If you are in trouble because after version 5.0 the filter components of the type datable are now sensitive case, … More
Primefaces : How to disabling retroactive dates in the calendar component?
A lot of times, you don’t want to allow to user can be selected a retroactive date. Below is a … More
Primefaces : Confirmation dialog with javascript
It works in the situation that you want to ask something for user before really do it. For example, we … More
Primefaces : How to create a autocomplete component that save new objects when don’t find it ?
This code is a autocomplete component and works in this way : User try to find some example with part … More