Is it possible to query and update a page underneath a page include popup?

  • 1
  • Question
  • Updated 4 years ago
Hello again!

If you have a page with an action that launches a popup which contains a page include, is it possible to have a save button in the page include that refreshes models from the page which launched it?
Photo of Louis Skelton

Louis Skelton

  • 4,858 Points 4k badge 2x thumb
  • tremendous

Posted 4 years ago

  • 1
Photo of Louis Skelton

Louis Skelton

  • 4,858 Points 4k badge 2x thumb
Something like 'Actions to run on popup close' would be useful
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
You can, but you have to hack the XML of the popup page include page.

Create the actions in your main page. Copy from main page. Past into page include page.
Photo of Louis Skelton

Louis Skelton

  • 4,858 Points 4k badge 2x thumb
Golly. That worked a treat. I thought that was going to involve event listeners and all sorts of terrors.

Thanks again Pat!

If you're ever in Suffolk, England let me know and I'll buy you an Aspall cider. A fine beverage.