|JSTL tags inside rptdesign file [message #1786659]
||Wed, 09 May 2018 05:45
| Nithya Ranadeerage
Registered: May 2018
We have a very old project which uses Birt 2.3.1. And one of the issues we have come across is that we load the report file using an iframe and the parameters for the report is passed in the URL.
To do that I added the jstl jar to my reporting web application lib folder and added the jstl namespace to the rptdesign file and accessed the URL parameters as following.
<expression name="valueExpr"><c:out value="params['week'].value"/>+" of "+ <c:out value="params['year'].value"/></expression>
JSTL namespace is added as following in the header of rptdesign file.
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.17" id="1"
But when loading the report it is complaining with the following error
Error Code:Error.XMLParserException.UNKNOWN_TAG Message:The XML file contains an unsupported element.
and the report is not found.
* Can not post the jstl url since only eclipse.org is allowed
Anyhelp would be appreciated.
Powered by FUDForum
. Page generated in 0.02875 seconds