portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Dimon" <mark.di...@btinternet.com>
Subject jnavigation is null if update or cancel configuration of JSP portlet
Date Fri, 03 May 2002 00:29:55 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message