@Override
protected void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException {
headerBean.setNodeLevel(getNodeLevel(request));
request.setAttribute("headerbean", headerBean);
PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/jsp/header.jsp");
prd.include(request, response);
}
@Override
protected int getNodeLevel(PortletRequest request) {
int nodeLevel = DEFAULT_NODE_LEVEL;