values of user properties are not being passed properly between report generation and report render [message #869023] |
Wed, 02 May 2012 17:33  |
Eclipse User |
|
|
|
Values of user properties are not being passed properly between report generation and report render when setting the property in onPageBreak() event.
If you run a very simple attached report below, then you see that if
1) you set the user-defined property in onCreate() event, then the property get correctly displayed at render (see onRender())
2) you set the user-defined property in onPageBreak() event that happens after onCreate(), then the property does not get displayed at render - the report output still displays the value set in onCreate().
Is that correct behavior?
generally, what is the purpose of onPageBreak() event? what can you do on this event? Looks like you cannot do any changes to element, correct? I tried to change the style (color etc) but it does not work - it returns an error. The same code works fine in onCreate()
I was looking to do some custom pagination using onPageBreak() event and setting element user properties to be later accessed at view time but it appears that is not allowed...
Thanks,
Aleksey
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04777 seconds