Hi,
I made a plugin that adds a tab to the catalog entry tabs and uses a grid in that tab. But the grid data is not reloaded after editing an item/adding a new item/deleting an item (reload with DAO::getDataChangedEvent()). Reloading the data only works if the whole tab is reloaded.
This is because the submission id empty after the data changed event. OMP manages the reload with:
$this->getAuthorizedContextObject(ASSOC_TYPE_MONOGRAPH)
in the initialize-functions of the grid handlers, but this does not work for me (returns null). It also does not work to implement the authorize function. Can a plugin access this authorized information and if not, is there another way get the submission object/id?
Thanks,
Carola