The Dialog is created with this code called from a p:commandButton
Code: Select all
public String openNewDialog() {
DialogFrameworkOptions options = DialogFrameworkOptions.builder()
.widgetVar( "newPopup_" + schemaDefName )
.modal( true )
.closeOnEscape( true )
.blockScroll( true )
.position( "center" )
.width( "90%" )
.resizable( false )
.fitViewport( true )
.build();
PrimeFaces.current().dialog().openDynamic( "/pages/config/popups/newPopup", options, null );
return "";
}
Code: Select all
core.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:16 Widget for var 'newPopup_AcdGroups' not available!
error @ core.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:16
widgetNotAvailable @ core.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:16
PF @ core.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:33
destroyDetachedWidgets @ core.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:65
handle @ core.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:63
(anonym) @ core.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:56
c @ jquery.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:2
fireWith @ jquery.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:2
l @ jquery.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:2
(anonym) @ jquery.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:2
load (async)
send @ jquery.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:2
ajax @ jquery.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:2
send @ core.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:55
offer @ core.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:44
handle @ core.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:45
PrimeFaces.ajax.PrimeFaces.ab @ core.js.xhtml?ln=primefaces&v=12.0.4&e=12.0.7:38
onclick @ AcdGroups.xhtml?jfwid=901b0:242
Can this error be ignored, or is it more critical than it looks?
Thanks
Lewis