|
Re: Birt:param tag, need help [message #912508 is a reply to message #911885] |
Thu, 13 September 2012 17:27   |
|
I got this to work using the following (Note that I changed the baseURL to 3.7.2 because that is where my viewer is at(.
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
</head>
<body>
<form action="display.jsp" method="post">
CustomerNumber <input type="text" name="CustNum" />
<input type="submit" value ="Submit" />
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/birt.tld" prefix="birt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body>
<birt:viewer id="birtViewer"
reportDesign="testBirt.rptdesign"
pattern="run"
height="450"
width="900"
format="html"
showParameterPage="False"
baseURL="/3.7.2">
<birt:param name="CustId" value="<%= request.getParameter(\"CustNum\")%>"></birt:param>
</birt:viewer>
</body>
</html>
Jason
|
|
|
|
Powered by
FUDForum. Page generated in 0.02484 seconds