Skip to content

Instantly share code, notes, and snippets.

@rotty3000
Created October 4, 2011 22:14
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save rotty3000/1262994 to your computer and use it in GitHub Desktop.
embed navigation tag directly without portlet
## 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