<ui:repeat value=”#{myBean.myList}” var=”obj”> <td> <p>#{obj.value}</p> </td> </ui:repeat>
Tag: javaserverfaces
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
Java + Javascript : How to take a user location by browser ?
In this example when the user clicks anywhere inside this form his location will be obtained by the javascript function. … More
JavaServer Faces: How to print the size of a list ?
If you are using a datatable or any other component of Primefaces or JSF and want to print the size of … More
Primefaces : The commandLink, commandButton, nothing was invoking my actions or my actionListeners in the backend. It happens only when I call inside of the my tree or treeTable . How resolve this ?
It’s easy ! You need set true the attribute expand of the yours nodes and parents. Example : public TreeNode … More
JavaServer Faces : java.lang.IllegalStateException: Component ID has already been found in the view. How resolve ?
Firstly you really need validate your code, because this error says that you have two components with the same ID … More