|
Re: Test for running inside the Report Designer [message #368462 is a reply to message #368450] |
Mon, 01 June 2009 15:39 |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.windstream.net
Mitch,
Can you wrap your code in something like this?
xyz =
reportContext.getHttpServletRequest().getAttribute("attributeBean ").isDesigner();
if( xyz==true ){
//in designer put dummy code here
}else{
//in production
}
Jason
Mitch Christensen wrote:
> I've got a Data Set with a beforeOpen() handler that contains code that
> can only be evaluated when run in a production environment. This causes
> problems inside the report designer.
>
> Is there an easy way to test whether the report is running inside the
> report designer (as opposed to production)?
>
> Thanks.
> Mitch Christensen
>
|
|
|
Powered by
FUDForum. Page generated in 0.02831 seconds