Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Master Page footer height depending on report parameter
Master Page footer height depending on report parameter [message #1777855] Tue, 05 December 2017 10:59
Steven Schwarz is currently offline Steven SchwarzFriend
Messages: 1
Registered: December 2017
Junior Member
Hi there :)

I try to change the height of the footer in my master page depending on a boolean report parameter.
I've added a script in "beforeFactory", but it doesn't seem to work.

if(params["hideCampaign"].value){
	reportContext.getDesignHandle().findMasterPage("myPage").setProperty("Footer height","20mm");
} else {
	reportContext.getDesignHandle().findMasterPage("myPage").setProperty("Footer height","40mm");
}


I think the property "Footer height" does not exist. Any Idea how to get this to work?
Previous Topic:Table columns in specific order depending on the parameter
Next Topic:Unable to load image from hard drive on PPC Java Hotspot
Goto Forum:
  


Current Time: Sun Feb 18 02:03:46 GMT 2018

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

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