| how to get listbox in <birt:viewer> [message #1058878] |
Wed, 15 May 2013 10:02  |
4040 4040 Messages: 25 Registered: February 2013 |
Junior Member |
|
|
here they provide parameter in text box.....
display.jsp:
<birt:viewer id="birtViewer"
reportDesign="customerList.rptdesign"
pattern="run"
height="450"
width="900"
format="html"
showParameterPage="False"
baseURL="/ccdjsp">
<birt:param name="custom" value="<%= request.getParameter(\"CustNum\")%>"></birt:param>
</birt:viewer>
index.jsp
<form action="display.jsp" method="post">
CustomerNumber <input type="text" name="CustNum" />
am getting in <birt:parameterPage id="birtParmPage" > by giving parameter name
but my question is how get parameter listbox in jsp for <birt:viewer id="birtViewer">
can u give some idea or sample jsp its helpful for me....
|
|
|
|
|
| Re: how to get listbox in <birt:viewer> [message #1059150 is a reply to message #1059070] |
Thu, 16 May 2013 22:18   |
|
If you have a list box parameter, you'd do it like this in your parameterpage:
Customer Number
<birt:paramDef id="7" name="CustNum" />
To recall the value, you'd use the same request.getParameter that is already in the above JSP code for the viewer.
Maybe I'm not understanding what you're looking for. If not, please explain in more detail what you're wanting. Thanks!
Regards,
Michael Williams
BIRT Exchange
Michael's BIRT Blog
|
|
|
|
|
| Re: how to get listbox in <birt:viewer> [message #1059645 is a reply to message #1059564] |
Tue, 21 May 2013 01:23  |
|
I'm still not certain I know what you're asking. Are you wanting to know how to use the selected value from the listbox in the <birt:viewer> tag? If so, it works the same as how you recall the value from the text box.
For the parameter page showing, I believe that if you have the parameter set to "required" in your design and don't have a default value and don't set the value from the jsp that the parameter page will pop up. Can you set the parameter to not be required and let me know if this is still a problem for you?
Regards,
Michael Williams
BIRT Exchange
Michael's BIRT Blog
|
|
|
Powered by
FUDForum. Page generated in 0.01751 seconds