I would like to add a new Tab in the in the browser's frame. I follow the instruction to add one to display Nagios informations, but if I would like add one more for my internal purpose what I can do? I can not call 2 or 3 time the DisplayBareRelations in the same abstract class InfrastructureCI extends Device.
Thanks a lot in advance for your help
Laura
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
functionDisplayBareRelations(WebPage$oPage,$bEditMode=false){parent::DisplayBareRelations($oPage,$bEditMode);if(!$bEditMode){$oPage->SetCurrentTab('My Tab 1');$oPage->p("Here is my custom tab");$oPage->SetCurrentTab('My Tab 2');$oPage->p("Here is another tab");}}
Regards,
Romain
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everybody,
I would like to add a new Tab in the in the browser's frame. I follow the instruction to add one to display Nagios informations, but if I would like add one more for my internal purpose what I can do? I can not call 2 or 3 time the DisplayBareRelations in the same abstract class InfrastructureCI extends Device.
Thanks a lot in advance for your help
Laura
Hi,
In the same single implementation of
, you may create as many tabs as needed:
Regards,
Romain
Hi Romain,
I did not understand that the declaration/use of $oPage could be multiple.
Thanks a lot
Laura