on 01-26-2011 12:29 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.