Hello,
Has anyone had any success passing a parameter value from a jsp page to a scripted data set? I tried nesting the birt:param tag within the birt:report tag and then take that birt:param value and use it in a method call within the scripted dataset. I've tried adding both an input and a output parameter to the scripted dataset with the same name as the birt:parm tag. When I use it as input the default value is never overridden (i.e. the value i pass from jsp doesn't get passed) and as output it comes as undefined. Any suggestions?
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri="WEB-INF/tlds/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">
<title>test report</title>
</head>
<body>
<birt:report
id="topspamreport"
baseURL="/birt/"
reportDesign="topspam.rptdesign"
frameborder="no"
scrolling="yes"
height="1500"
width="1000"
format="html">
<birt:param name="test" value="testing"/>
</birt:report>
</body>
</html>