Posts by mwramos • 155 points
9 posts
-
0
votes1
answer239
viewsQ: Primefaces 5.2 inputNumber does not send the updated value to the Bean
When the submit of form occurs through the enter, being focused on inputNumber and changing its content, this new value does not update the variable in the Bean. However, if the submit occurs by…
primefacesasked mwramos 155 -
1
votes1
answer277
viewsA: Second Level Cache - JPA and Eclipselink
The problem was in the statement of EntityManager used to pick up the query items: private static final EntityManager em =…
-
2
votes1
answer277
viewsQ: Second Level Cache - JPA and Eclipselink
I would like to totally disable the JPA/Eclipselink cache, but I’m not getting it. I can disable the first level cache using: query.setHint("javax.persistence.cache.storeMode",…
-
1
votes0
answers114
viewsQ: Netbeans + Glassfish
I am using Netbeans 8.0.2 and Glassfish 4.1. Every time I make any changes, in any class of my project, I can’t test it just by clicking on "Run Project (F6)", as I do in other projects that use…
-
1
votes4
answers2941
viewsA: Primefaces datatable number formatting
I’m still looking for a way more siples, but I ended up solving this way: datatable: <h:outputText value="#{bean.format('##.###-###', item.cep, true)}" style="float:left"/> Bean: public String…
-
1
votes4
answers2941
viewsQ: Primefaces datatable number formatting
How can I format a datatable column (ZIP) with the mask "00.000-000"? Example: Valor: 90560120 - Exit: 90.560-120…
-
4
votes1
answer134
viewsQ: How to get the value of the attribute "Lazy" of the datatable primefaces in the bean?
To get the attribute value selectionMode datatable (primefaces) in MB: DataTable dt = (DataTable) FacesContext.getCurrentInstance().getViewRoot().findComponent("IdForm:IdDataTable"); String sm =…
-
0
votes1
answer228
viewsA: Changed database data is not shown in the Primefaces Datatable
In the project I’m testing, the classes were automatically generated by Netbeans. I had already tested the different types of scope, but had not realized that the generator does not create the…
-
5
votes1
answer228
viewsQ: Changed database data is not shown in the Primefaces Datatable
I am trying to disable JPA cache (Eclipselink 2.5.2) through "persistence.xml", but it is not working. Changes made to the tables, externally to the application, are not presented in the Primefaces…