2006 JR Open Discussion Posted August 22, 2006 Share Posted August 22, 2006 By: bulkao - bulkao Dynamic valorization of attributes ? 2006-04-06 08:01Hi, I would like to valorize an tag attribute (e.g: the height attribute on a <reportElement>) at runtime, that is at "fill" time. So i tried something like this (in jrxml file): [...] <parameter name="hBand" isForPrompting="true" class="java.lang.Integer"/> [...] <reportElement mode="Transparent" x="0" y="10" width="515" height="<![CDATA[integer.parseInt(hBand)]]>" ... /> It fails ! Any workaround ? Thanks in advance. By: bulkao - bulkao RE: Dynamic valorization of attributes ? 2006-04-07 01:32Maybe the solution stands in giving a "key" to the <reportElement>, and adressing the key in a scriptlet ?... But how to do this ? Thanks for any help... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now