Hi,
I'm using Apex 19.1 with Apache Tomcat 9.0.17 and ords 19.1.0.092.1545. In an interactive grid I've defined a button to open a modal dialog wizard.
Code snippet IG JavaScript Initialization Code:
config.initActions = function( actions ) {
actions.add( {
name: "Create",
action: function(event, focusElement) {
apex.navigation.redirect(apex.item("P10\_URL").getValue());
}
}),
actions.add( {
name: "Refresh",
action: function(event, focusElement) {
apex.region("SNAPSHOT\_REPORT").refresh();
}
} );
}
The code to populate P10_URL is specified in a DA (Set Value) with PL/SQL Function Body, affected elemnt is set to P10_URL:
RETURN APEX_UTIL.PREPARE_URL(p_url => 'f?p=' || :APP_ID || ':13:' || :APP_SESSION || ':::::');
The url generated looks ok (in my opinien)

but the modal page does not open and I receive a: Uncaught SyntaxError: Unexpected token &
Web console:


Looks like a problem with at the beginning in apex.navigation.dialog.
Any help is appreciated.
Regards,
mätes