I am making a backend extension that, changes which page it is working on upon clicking a link in the work area to the right of the pagetree. The problem is: the pagetree doesn't update according to the ID that is presented in the work area.
The ID is changed by passing query parameter ID to the mod.php-module, and works as expected. I have tried updating the page tree via
t3lib_BEfunc::openPageTree($this->id); t3lib_BEfunc::setUpdateSignal('updatePageTree');
and later
<script type="text/javascript">'.t3lib_BEfunc::getUpdateSignalCode().'</script>
to be included in the output. This also works (the pagetree is refreshed, and hidden subpages of the passed ID is revealed), except the greyness indicating the current page in the page tree is left at its previous position.
Any idea as to how to make the pagetree reflect the new $this->id
?