Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Unexpected behavior difference between IReportContext.setGlobalVariable/setPageVariable
Unexpected behavior difference between IReportContext.setGlobalVariable/setPageVariable [message #830951] Wed, 28 March 2012 05:04 Go to next message
Alexey Romanov is currently offline Alexey Romanov
Messages: 263
Registered: May 2010
Senior Member
When trying to set a non-existent variable, setGlobalVariable adds it (as I expected), while setPageVariable silently ignores. Is this really desired behavior?
Re: Unexpected behavior difference between IReportContext.setGlobalVariable/setPageVariable [message #832180 is a reply to message #830951] Thu, 29 March 2012 17:45 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Alexey,

I believe this is because page variables are added graphically in the
Data Explorer view and this is the designed behavior.

Jason

On 3/28/2012 5:04 AM, Alexey Romanov wrote:
> When trying to set a non-existent variable, setGlobalVariable adds it
> (as I expected), while setPageVariable silently ignores. Is this really
> desired behavior?
Previous Topic:Problems with hyperlinks on images/report designer
Next Topic:hiding labels for zero values using API
Goto Forum:
  


Current Time: Wed Aug 27 07:15:56 EDT 2014

Powered by FUDForum. Page generated in 0.02055 seconds