public
Created

embed navigation tag directly without portlet

  • Download Gist
portal_normal.vm
1 2 3 4 5 6 7 8 9 10 11
## 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())

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.