Skip to Content
0
Former Member
Jan 26, 2011 at 12:29 PM

Is all folders expandable fucntionality in DLN possible for EP7.0 SP6??

23 Views

Hi All,

As specified in the below thread we have modified the com.sap.portal.navigation.lightdetailednavigationtree.par as mentioned in the below changes but still the fucntionality of expanding all folders in DLN by default on click of role is not working, still all folders in the Detailed Navigation(DLN) in collapsed mode.

Is it possible to enable this functionality in EP 7.0 SP6 version, which is our current portal version?? or else would we need to have at least SP13 version to achieve this functionality??

Could you please let us know what are other changes required in portal other than below PAR file changes to achieve the functionality??

Any pointers on this issue would be great help to us.

Thanks in advance.

thread : http://forums.sdn.sap.com/thread.jspa?threadID=1650909

*The following are the changes which i made in the jsp file of LightDetailedNavigationTree.jsp in the PAR file.*

a) Replace the nodeInSelectedPath value from false to true

 <nav:recurseNavNodeChildren currentDepth="currentDepth" currentNavNode="currentNavNode">
<% nodeInSelectedPath = true; %>
<nav:ifNavNodeInSelectedPath>
<% nodeInSelectedPath = true; %>
</nav:ifNavNodeInSelectedPath>

b) and commented the below some if condition code(b). 

  if(nodeIsOpen) {
if(nodeIsPressed) {
   openNodes.remove(nodeIDInteger);
   nodeIsOpen = false;
}
} else {
// if(nodeIsPressed) {
//    openNodes.add(nodeIDInteger);
//    nodeIsOpen = true;
 
openNodes.add(nodeIDInteger);
nodeIsOpen = true;
 
// }
}

Regards,

PortalUser100

Edited by: PortalUser100 on Jan 27, 2011 7:13 AM