Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Image
KavithaD
Hi,
I am adding image to table cell.
ImageHandle image = efactory.newImage( null );
image.setURL( "D:/workspace_Report/agclReports/WebContent/resources/images/agClinical/icon_unlock.jpg");
checkListTableThirdCell.getContent( ).add( image );
I am getting Error like this,
org.eclipse.birt.report.engine.emitter.EmitterUtil getImage
SEVERE: unknown protocol: d
Could any one help me out in this?
Find more posts tagged with
Comments
mwilliams
Hi Kavitha,
I have not seen this issue before. By saying "unknown protocol: d", it may be just seeing the d in your string and chopping off at the special characters. I don't know if it is the '/' not being recognized in the string. I have seen issues where changing '/' to '' made a difference and other times where doubling the '/' to '//' made a difference. These would both be worth a shot. Let me know. I'll let you know if I find anything else on this.
KavithaD
I could able to solved this problem by,
ImageHandle image = (ImageHandle)design.getElementFactory().newImage("");
image.setURL(""file:///D:/workspace_Report/agclReports/WebContent/resources/images/agClinical/agclinical_logo.gif"");
design.getBody().add(image);
Thanks & regards
Kavitha
mwilliams
Kavitha,
Glad you got it working.