Skip to Content
0
Former Member
Sep 26, 2005 at 04:06 PM

How to call "navigation panel collapse" event

33 Views

Hi,

I need to create a link (in a jsp) to forced the navigation panel to collapse itself.

To do this in my jsp, I get back the script reference of the standard pageToolBar.par and I call the same javascript function as the one call by it.

So I have:

  • The reference script:

<script language='JavaScript' src='<%=componentRequest.getResource("com.sap.portal.layouts.framework", IResource.SCRIPT, "scripts/scenario/WAandNavPanel.js").getResourceInformation().getURL(componentRequest)%>'></script>

And the function called:

expNavPanel_onclick();

But it still does not work ...

Has somebody any idea ?

Thanks,

Fabien

PS: How can I forced other event as: call pageToolBar personnalize window ...?