Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Problem using a library with a template
Problem using a library with a template [message #262685] Wed, 05 December 2007 08:50 Go to next message
Eclipse UserFriend
Originally posted by: Bernd.Laengerich.web.de

Hi everyone,

I encountered a probelm where I want to use a master page from a
library in a template. The master page in the library contains an
embedded image named LogoAPS.png. I can drag the embedded image from
the lib to the template, then the XML says:

<structure>
<property name="name">LogoAPS.png</property>
<property name="libReference">APS.LogoAPS.png</property>
</structure>

this seems correct to me.
Whenever I drag the master page, the image becams red crossed and the
property editor says Reference: APS.png.

Any hints?
I am using 2.2.0 in eclipse.

Bernd
Re: Problem using a library with a template [message #262797 is a reply to message #262685] Thu, 06 December 2007 09:23 Go to previous message
Eclipse UserFriend
Originally posted by: Bernd.Laengerich.web.de

Bernd Laengerich wrote:

> I am using 2.2.0 in eclipse.

Update:

I just tried 2.2.1 and the problem still exists.
Furthermore, the same situation when correcting the template to use
the embedded images (just reassign the correct embedded image to the
reference) and then registering the template and using it to create a
new design. Images in master page are red crossed and reference set to
"APS.png", which does not exist.

There must be some issue with inheritance, as the generated xml file is:

<page-setup>
<simple-master-page name="APS Portrait A4" id="531"
extends="APS.APS Portrait A4"/>
<simple-master-page name="APS Landscape A4" id="532"
extends="APS.APS Landscape A4"/>
</page-setup>
<list-property name="images">
<structure>
<property name="name">DotLineAPS.png</property>
<property name="libReference">APS.DotLineAPS.png</property>
</structure>
<structure>
<property name="name">LogoAPS.png</property>
<property name="libReference">APS.LogoAPS.png</property>
</structure>
</list-property>

There is no such reference to APS.png in the xml file.

Bernd
Previous Topic:Problem with using scripting in a report design
Next Topic:Items disappear when using a grid within a grid
Goto Forum:
  


Current Time: Sun Oct 06 09:15:07 GMT 2024

Powered by FUDForum. Page generated in 0.03212 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top