Error-Message "Item not defined on current page" after Page submit - AJAX
670770Mar 30 2009 — edited Mar 31 2009Hello,
a lot of subpages (regions) are loaded over htmldb_get and displayed on a master page.
The parts loaded over AJAX are reports. The report regions of these reports contain a hidden and protected field, which hold the page number (&APP_PAGE_ID.)
This was necessary because I had to overwrite the standard pagination function $a_report on the master page. Otherwise the standard pagination function uses always the page number of the master page and not the page number of the loaded subpages. The overwritten function $a_report is placed in the master page header and searchs for the hidden + proteced field, containing the page number of the loaded subpage.
This works already fine.
But after submitting the master page with before loaded subpages over htmldb_get, I get following error message:
Error Item ID (15348310159873659) is not an item defined on the current page .
Setting the hidden + protected field on the subpage to never display, the error message disappear, but the pagination function doesn´t work any more.
Where is the mistake I made?
Greetings
Michael