I want to increase the width of a primefaces dialog which is already shown. The user clicks on a link/button, the dialog gets extended in the width and shows some more content. All approaches I tried were not successful:
1.: change with jquery:
$('theFormId\\:theDialogId').css('width', 1000);
2.: refer p:dialog width attribute to a backing bean value:
<p:dialog width="#{myBean.dialogWidth}"...
When the link/button is clicked, the backing bean dialogWidth member is changed and the dialog is updated. Unfortunately this closes the dialog.
Is there a possiblity to "live" resize an already displayed dialog?
I am using PF 5.1.16 and JSF 2.2.10
Regards Oliver