I have a clue : The name of the application is not printed, and the reload button does not appears in the sidebox.
But, if the link to the ajax version of the page is loaded into target _blank. In this case, the reload button appears and reload the index of the application AND the application is perfectly working.
Here the code for the buttons in my home-made application
public function index(array $content=null)
{
$a = Framework::link(
'/index.php',
['menuaction' =>
'bacula.EGroupware\Bacula\Bacula.failingrotation',
'ajax' => 'true'
]
);
print ( "<a href='$a' target='_blank'>Failing Rotation (Ajax)</a><br/>");
$a = Framework::link(
'/index.php',
['menuaction' =>
'bacula.EGroupware\Bacula\Bacula.countinretention',
'ajax' => 'true'
]
);
print("<a href='$a' target='_blank'>Count in retention</a><br/>");
}
So, if I manage to put those links into a sidebox menu, my application will works as expected.