cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

hofmann
Active Contributor
0 Kudos

Hi,

you'll have to code your own DLN application. Take a look at the default DLN PAR and make your changes there or start from scratch, using the navigation taglib.

br,

Tobias

Former Member
0 Kudos

Hi Tobias,

Thanks for your reply.

Can you please let me know what is the name of the PAR file to be changed??

And, what are the changes woule be required in the PAR file??

Thanks,

PortalUser

hofmann
Active Contributor
0 Kudos

Hi,

its the PAR as it is used in the framework page (pcd:portal_content/every_user/general/frameworkpage) from SAP: com.sap.portal.navigation.detailedtree

What you need to change and how depends on you. I would code my own PAR that uses the navigation taglib.

br,

Tobias

Former Member
0 Kudos

Hi Tobias,

Thanks for your reply.

Could you please let me know what are the changes woule be required to be done in the PAR file of com.sap.portal.navigation.detailedtree, where i couldn't see any JSP file to modify. actually our requirement is we need to expand all the folders by default which are displayed in the detailed Navigation. currently as of now all the folders are in collapsed mode, user has to expand the folders manually in DLN.

I have already download the PAR file specified by you and als imported into NWDS, now could you please help what are the changes would require in code to achieve the functionality as mentioned above.

in the PAR file, currently i am able to see only the properties file and one Java Script(JS) file , not find out any JSP file in that PAR file. could you tell me where to do the changes in the JS file and Properties file of the PAR file.

Thanks,

PortalUser100

Answers (0)