Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

176
Vistas
Dialog close Dynamic action not being fired

I'm opening a normal page as a dialog using javascript:apex.navigation.dialog('f?p=&APP_ID.(...),{title:'Page',height:'900',width:'1800',maxWidth:'1600',modal:true,dialog:null},'t-Dialog--standard'); through the "Redirect to URL" action of a button. In addition, I've a dynamic action (Dialog closed) associated to that button.

On the page that's opened, I've a button with a DA that has a javascript action with apex.navigation.dialog.close(true);.

I was expecting the dialog closed DA would fire as I closed the 'dialog' page, when I clicked the button referenced above. What am I missing?

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

There is no close event registered if you open the dialog this way. You can achieve this by firing a custom event on close of the dialog. This is clearly explained in Max' blog here. However, you state "I'm opening a normal page" which means you can't configure that solution as described.

You're trying to mix 2 things: some dialog functionality (a dynamic action on close) and redirect (which is completely different than a dialog and does not have the properties a dialog has). In a redirect, there is no relation anymore between the calling page and the opened page so you'll have to come up with your own custom solution.

about 4 years ago · Juan Pablo Isaza Denunciar

0

I was able to find a workaround for this issue by creating a modal page with a "Dynamic Content" region. In it I coded an iFrame: htp.p('<iframe id ="test" scrolling="no" src="#URL_OF_THE_NORMAL_PAGE" style="padding-top:5px;border:0px;width:1900px;height:1100px;"></iframe>');

In the modal page I cretated a button with the action "Close Dialog" on click. This way, the normal page would be presented in a modal page look and the DA "Dialog close" on the parent page would fire when I clicked the button.

To make the normal page look more like a dialog, I've used some css to hide the menus under certain conditions (if the page was being open through the iframe).

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda