Chart HTML and no image src tag [message #60035] |
Wed, 20 July 2005 02:48  |
Eclipse User |
|
|
|
Originally posted by: attley.gmail.com
Hello all,
When I create an .html file from an .rptdesign file, the image which I'm
assuming represents my chart, does not show. If you view source only the
<img style=""> is created, there is no src="..imgname.png"
Someone else suggested to do this:
HTMLRenderContext renderContext = new HTMLRenderContext( );
renderContext.setImageDirectory( EngineAccessor.ImageDirectory );
renderContext.setBaseImageURL( request.getContextPath( ) +
EngineAccessor.ImageBaseUrl );
However I do not have access to the request object in my case, furthermore
what is EngineAccessor, my IDE complains when I try to code this constant?
Thanks,
Simon
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02322 seconds