I am using Jetspeed+turbine. This is how I resolved this issue:
I created an empty layout without(navbars) as shown below:
Compare this to a default.jsp (that has all navbars). That will help you to
understand this. If your screen name is plainData.jsp, you should name this
layout file with the same name (except that it should reside in layouts
folder). Hope this helps.
-Raje
--------------------------------------------------
<%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed'
%>
<%@ page import = "org.apache.turbine.util.*" %>
<% String screenJsp = (String)request.getAttribute("screenJsp");
RunData rundata = (RunData)request.getAttribute("rundata");
%>
<jsp:include page="<%= screenJsp %>" flush="true" />
--------------------------------------------------
-----Original Message-----
From: Dave Everson
To: Turbine Users List
Sent: 11/14/01 7:29 AM
Subject: Displaying a "printer friendly" version of page
I want to add a hyperlink in my web application that allows the user to
view a "printer friendly" version of the information that is currently
displayed on the page. The printer friendly view would be displayed in
a new browser window (could be a popup) and it would basically just
contain the template currently displayed in the $screen_placeholder.
Basically, it would get rid of the top banner and navigation menu.
Could someone please provide me with a code snippet or advise on how to
implement this in a Turbine application.
Thanks!
Dave
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>