lsouza Posted August 1, 2006 Share Posted August 1, 2006 The same xml when i use the format PDF is working, but when I use format HTML the image and some fields don't appear.Why ?? :( My image tag is:Code:<image vAlign="Top" onErrorType="Icon" scaleImage="Clip"><reportElement width="155" height="48" y="0" x="0"/><graphicElement/><imageExpression class="java.lang.String">"tradeReportLogo.jpg"</imageExpression></image> Is this correct? Thanks for any help. Link to comment Share on other sites More sharing options...
Alexander Merz Posted August 1, 2006 Share Posted August 1, 2006 Take a look on the generated HTML output and check what the src attribute of the <img> tag contains and look where the images are stored actually. Maybe you need to adjust the location of the images via the export parameter IMAGES_URI. Also take care of the value of IS_OUTPUT_IMAGES_TO_DIR. Link to comment Share on other sites More sharing options...
lsouza Posted August 1, 2006 Author Share Posted August 1, 2006 But when I open the page source that was generated, It puts in place of the fields this: Code:<img alt="" src="/Web/images/px" style="width: 120px; height: 25px"/> Link to comment Share on other sites More sharing options...
lsouza Posted August 2, 2006 Author Share Posted August 2, 2006 How do I set this parameters like IMAGES_URI??? Link to comment Share on other sites More sharing options...
lsouza Posted August 2, 2006 Author Share Posted August 2, 2006 is there anyone who can help me?please... Link to comment Share on other sites More sharing options...
lsouza Posted August 2, 2006 Author Share Posted August 2, 2006 I'm using webwork, the only thing that i edit is the xml file, how can i set this parameters IMAGE_DIR, IMAGE_URI... Link to comment Share on other sites More sharing options...
Alexander Merz Posted August 2, 2006 Share Posted August 2, 2006 These properties are set via setParameter() defined by the JRExporter interface. AFAIK it exists no way to pass the parameters through the XML report template. Link to comment Share on other sites More sharing options...
lsouza Posted August 3, 2006 Author Share Posted August 3, 2006 Ok, I'm using webwork that has already a result for Jasper and it's the place they set this parameters.I think I'll reimplement another result for jasper.And I also find one of the reasons that i was using the px image, I can set to false the parameter IS_USING_IMAGES_TO_ALIGN. 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