Created
October 4, 2011 22:14
-
-
Save rotty3000/1262994 to your computer and use it in GitHub Desktop.
embed navigation tag directly without portlet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Embedded navigation tag | |
#set ($navigationTag = $portal.class.forName("com.liferay.taglib.ui.NavigationTag").newInstance()) | |
#set ($V = $navigationTag.setPageContext($pageContext)) | |
#set ($V = $navigationTag.setBulletStyle("main")) | |
#set ($V = $navigationTag.setDisplayStyle("[custom]")) | |
#set ($V = $navigationTag.setHeaderType("root-layout")) | |
#set ($V = $navigationTag.setIncludedLayouts("all")) | |
#set ($V = $navigationTag.setNestedChildren(1)) | |
#set ($V = $navigationTag.setRootLayoutLevel(1)) | |
#set ($V = $navigationTag.setRootLayoutType("absolute")) | |
#set ($V = $navigationTagg.runTag()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment