Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsWhere to put a function that is referenced in a master page?
https://www.eclipse.org/forums/index.php/mv/msg/213158/683346/#msg_683346
I have a helper function that is used in the computation of a data element in a grid that is contained in the header of a master page. The master page itself is defined in a rpt library which my report pages link to.
So far the only place I seem to be able to put the function definition that the header can see is in the initialize exit for the actual report definition. This sort of defeats the purpose of the master page in that I would have to copy this function to every page that uses this master page in order for the master page to work.
Where in the rpt library and/or master page can I put this function so that it will be visible?
Thanks,
Mike]]>Mike Wulkan2011-06-13T15:01:00-00:00(no subject)
https://www.eclipse.org/forums/index.php/mv/msg/213158/683426/#msg_683426
Does it not work if you put the function in the onPrepare of the grid?
Jason
On 6/13/2011 11:01 AM, Mike Wulkan wrote:
> Hopefully a simple one here.
>
> I have a helper function that is used in the computation of a data
> element in a grid that is contained in the header of a master page. The
> master page itself is defined in a rpt library which my report pages
> link to.
> So far the only place I seem to be able to put the function definition
> that the header can see is in the initialize exit for the actual report
> definition. This sort of defeats the purpose of the master page in that
> I would have to copy this function to every page that uses this master
> page in order for the master page to work.
>
> Where in the rpt library and/or master page can I put this function so
> that it will be visible?
>
> Thanks,
> Mike]]>Jason Weathersby2011-06-13T17:17:58-00:00Re: (no subject)
https://www.eclipse.org/forums/index.php/mv/msg/213158/683768/#msg_683768
Mike Wulkan2011-06-14T11:55:56-00:00