primefaces

p:messages displays but disapear almost instantly

China☆狼群 提交于 2020-05-15 04:50:05
问题 i have a strange problem with a p:message tag. On page a have a dataTable with data from my db that i can edit in a p:dialog. Once all validations succeds and the update in db is done i refresh the dataTable and add a faces message info to display the succes of the operation. In the front-end i update the form whom contains both the dataTable and the dialog. My problem is that the message is displayed but almost instantly disapears. It's like the message tag is updated with the form. I don't

Primefaces - update datatable with commandButton doesn't work

那年仲夏 提交于 2020-05-12 22:27:59
问题 I'm facing some problems by updating a datatable with a commandButton. This is the xhtml file: <div class="grid_16"> <h:form id="list"> <p:messages></p:messages> <p:dataTable styleClass="result-table" var="user" id="usersList" value="#{listUsersController.users}" widgetVar="userTable" paginator="true" rows="10" paginatorAlwaysVisible="false"> <f:facet name="header"> Listado de usuarios </f:facet> <p:column> <f:facet name="header"> <h:outputText value="#{cms['users.username']}" /> </f:facet> #

Primefaces - update datatable with commandButton doesn't work

半世苍凉 提交于 2020-05-12 22:26:43
问题 I'm facing some problems by updating a datatable with a commandButton. This is the xhtml file: <div class="grid_16"> <h:form id="list"> <p:messages></p:messages> <p:dataTable styleClass="result-table" var="user" id="usersList" value="#{listUsersController.users}" widgetVar="userTable" paginator="true" rows="10" paginatorAlwaysVisible="false"> <f:facet name="header"> Listado de usuarios </f:facet> <p:column> <f:facet name="header"> <h:outputText value="#{cms['users.username']}" /> </f:facet> #

Primefaces - update datatable with commandButton doesn't work

拟墨画扇 提交于 2020-05-12 22:22:28
问题 I'm facing some problems by updating a datatable with a commandButton. This is the xhtml file: <div class="grid_16"> <h:form id="list"> <p:messages></p:messages> <p:dataTable styleClass="result-table" var="user" id="usersList" value="#{listUsersController.users}" widgetVar="userTable" paginator="true" rows="10" paginatorAlwaysVisible="false"> <f:facet name="header"> Listado de usuarios </f:facet> <p:column> <f:facet name="header"> <h:outputText value="#{cms['users.username']}" /> </f:facet> #

Primefaces - update datatable with commandButton doesn't work

荒凉一梦 提交于 2020-05-12 22:22:02
问题 I'm facing some problems by updating a datatable with a commandButton. This is the xhtml file: <div class="grid_16"> <h:form id="list"> <p:messages></p:messages> <p:dataTable styleClass="result-table" var="user" id="usersList" value="#{listUsersController.users}" widgetVar="userTable" paginator="true" rows="10" paginatorAlwaysVisible="false"> <f:facet name="header"> Listado de usuarios </f:facet> <p:column> <f:facet name="header"> <h:outputText value="#{cms['users.username']}" /> </f:facet> #

confirmDialog commandButton does not redirect/ does nothing if you wait for a longer period of time/ idle time session

流过昼夜 提交于 2020-04-17 20:08:01
问题 I have a JSF page where a popup would appear if he is idle for some period of time. 3 min 10 min etc If he is idle for some period of time a confirmDialog box would comeup with a message - "Your session has expired." and a command button id="quitConfirm" OK Upon clicking the button ID it redirects to the home page or what ever path that you mentioned To test this I deployed this in my local weblogic server and after a wait time of 4 min or so clicked on the commandButton OK it redirected as

confirmDialog commandButton does not redirect/ does nothing if you wait for a longer period of time/ idle time session

梦想的初衷 提交于 2020-04-17 20:06:13
问题 I have a JSF page where a popup would appear if he is idle for some period of time. 3 min 10 min etc If he is idle for some period of time a confirmDialog box would comeup with a message - "Your session has expired." and a command button id="quitConfirm" OK Upon clicking the button ID it redirects to the home page or what ever path that you mentioned To test this I deployed this in my local weblogic server and after a wait time of 4 min or so clicked on the commandButton OK it redirected as

confirmDialog commandButton does not redirect/ does nothing if you wait for a longer period of time/ idle time session

一个人想着一个人 提交于 2020-04-17 20:06:11
问题 I have a JSF page where a popup would appear if he is idle for some period of time. 3 min 10 min etc If he is idle for some period of time a confirmDialog box would comeup with a message - "Your session has expired." and a command button id="quitConfirm" OK Upon clicking the button ID it redirects to the home page or what ever path that you mentioned To test this I deployed this in my local weblogic server and after a wait time of 4 min or so clicked on the commandButton OK it redirected as

Adding filterBy to p:dataTable causes java.lang.NullPointerException at javax.faces.component.StateHolderSaver.<init> on postback

纵饮孤独 提交于 2020-04-13 03:50:26
问题 I'm trying to develop a datatable with lazy loading. Unfiltered and filtered records are correctly loaded from the persistence context through the use of UserService (i.e. a simple DAO). I'm 100% sure the problem is not related to the DAO being used because it has been successfully tested and deployed in other packages. The error comes out when I try to insert a filter: the collection of filtered items is correctly loaded on the page but it looks like at the end of the process something goes

Adding filterBy to p:dataTable causes java.lang.NullPointerException at javax.faces.component.StateHolderSaver.<init> on postback

六月ゝ 毕业季﹏ 提交于 2020-04-13 03:48:13
问题 I'm trying to develop a datatable with lazy loading. Unfiltered and filtered records are correctly loaded from the persistence context through the use of UserService (i.e. a simple DAO). I'm 100% sure the problem is not related to the DAO being used because it has been successfully tested and deployed in other packages. The error comes out when I try to insert a filter: the collection of filtered items is correctly loaded on the page but it looks like at the end of the process something goes