You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Mark Dimon <ma...@btinternet.com> on 2002/05/03 02:29:55 UTC
jnavigation is null if update or cancel configuration of JSP portlet
Hi All.
Should the following 3 lines be added to the end of "JetspeedJspPage" ?
Context context = TurbineVelocity.getContext(data);
TurbineVelocity.getContext(data).put("jnavigation", new JetspeedTemplateNavigation(data));
data.getTemplateInfo().setTemplateContext(VelocityService.CONTEXT, context);
Without them , if you cancel or update the config of a JSP portlet then the TOP and LEFT menus disappear as jnavigation is null
Regards Mark.