portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11901] - Customizing JSP based portlet breaks navigation bars
Date Thu, 22 Aug 2002 14:37:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11901>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11901

Customizing JSP based portlet breaks navigation bars





------- Additional Comments From mark_orciuch@ngsltd.com  2002-08-22 14:37 -------
Suggested fix by Mark Dimon:

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

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message