Hi Kay!
I've noted that, after clicking on Save-Yes button, when editing (Edit.xhtml) a register, the Dialog doesn't hide, as it did before in the other versions. What I've done was to put a onsuccess="PF('OrcamentoEditDialog').hide()" as above:
<p:commandbutton actionlistener="#{orcamentoController.save}" value="#{orcBundle.Save}" update="display,:OrcamentoListForm:datalist,:growl" oncomplete="handleSubmit(xhr,status,args,OrcamentoEditDialog);" onsuccess="PF('OrcamentoEditDialog').hide()"> <p:confirm header="#{orcBundle.ConfirmationHeader}" message="#{orcBundle.ConfirmEditMessage}" icon="ui-icon-alert"> </p:confirm></p:commandbutton>
Hope it helps.
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
Did it not have the PF() prefix? Maybe I forgot one line in the template. Is this the Edit.xhtml template we're talking about?
PF()
Edit.xhtml
EDIT: This is me, but forgot to log in ;-)
I have the same problem with dialog for creating and editing. Another issue is the growl does not appear
Hi. I think the growl not appearing might be related to Edit and Create not closing the dialog. I will investigate this.
Hi Marcel. Please check out ticket [#18] for the issue and a temporary workaround while I'm working on a bug fix.
Tickets: #18
Hi Marcel: [40037adf] Please download 0.27.2.
Discussion: 40037adf
Kay, I run CRUD app on jdk 8, I have problem with dialog for creating and editing. Please see the attachment image.
nbpfcrudgen-0.27.2-8.0_patch2-impl JDK 8, PrimeFaces 5, TomEE1.6
I tried both jdk 7 and jdk 8 and have the same dialog problem.
Followed video tutorial: http://www.youtube.com/watch?v=89s6zhI6sK0&feature=youtu.be Netbeans 8, TomEE1.6, PrimeFaces 5, Java EE 6, JSF 2.1, jkd 7/8.
There was an issue in one of my previous versions of the generator. Are you using the latest version of the generator?
Hi Kay!
I've noted that, after clicking on Save-Yes button, when editing (Edit.xhtml) a register, the Dialog doesn't hide, as it did before in the other versions.
What I've done was to put a onsuccess="PF('OrcamentoEditDialog').hide()" as above:
<p:commandbutton actionlistener="#{orcamentoController.save}" value="#{orcBundle.Save}" update="display,:OrcamentoListForm:datalist,:growl" oncomplete="handleSubmit(xhr,status,args,OrcamentoEditDialog);" onsuccess="PF('OrcamentoEditDialog').hide()">
<p:confirm header="#{orcBundle.ConfirmationHeader}" message="#{orcBundle.ConfirmEditMessage}" icon="ui-icon-alert">
</p:confirm></p:commandbutton>
Hope it helps.
Did it not have the
PF()
prefix? Maybe I forgot one line in the template. Is this theEdit.xhtml
template we're talking about?EDIT: This is me, but forgot to log in ;-)
Last edit: Kay Wrobel 2014-06-23
I have the same problem with dialog for creating and editing. Another issue is the growl does not appear
Hi. I think the growl not appearing might be related to Edit and Create not closing the dialog. I will investigate this.
Hi Marcel. Please check out ticket [#18] for the issue and a temporary workaround while I'm working on a bug fix.
Related
Tickets:
#18Hi Marcel: [40037adf]
Please download 0.27.2.
Related
Discussion: 40037adf
Kay, I run CRUD app on jdk 8, I have problem with dialog for creating and editing.
Please see the attachment image.
nbpfcrudgen-0.27.2-8.0_patch2-impl
JDK 8, PrimeFaces 5, TomEE1.6
I tried both jdk 7 and jdk 8 and have the same dialog problem.
Followed video tutorial: http://www.youtube.com/watch?v=89s6zhI6sK0&feature=youtu.be
Netbeans 8, TomEE1.6, PrimeFaces 5, Java EE 6, JSF 2.1, jkd 7/8.
There was an issue in one of my previous versions of the generator. Are you using the latest version of the generator?