This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.
Dear all,
I have populated current maximo user but still getting an error:
initialize()
importPackage(Packages.com.ibm.tivoli.maximo.report.script);
mxReportScriptContext = MXReportScriptContext.initialize(reportContext);
var userID = mxReportScriptContext.getHttpServletRequest().getParameter(
"userName"); <-- error here
...
it says:
TypeError: Cannot find function getHttpServletRequest.
(/report/method[@name="initialize"]#3).
How can i fix this?
Thanks & Best Regards,
Yudi Irianto
Please ignore it,
Solved by adding:
importPackage(Packages.org.eclipse.birt.report.model.api);
importPackage(Packages.org.eclipse.birt.report.model.api.elements);
Best Regards,
Yudi Irianto
yudi.irianto@ytljt.com
Sent by: MAXIMO@yahoogroups.com
08-11-2013 09:14
Please respond to
MAXIMO@yahoogroups.com
To
MAXIMO@yahoogroups.com
cc
Subject
[MAXIMO List] How to get current maximo user in birt
Dear all,
I have populated current maximo user but still getting an error:
initialize()
importPackage(Packages.com.ibm.tivoli.maximo.report.script);
mxReportScriptContext = MXReportScriptContext.initialize(reportContext);
var userID = mxReportScriptContext.getHttpServletRequest().getParameter(
"userName"); <-- error here
...
it says:
TypeError: Cannot find function getHttpServletRequest.
(/report/method[@name="initialize"]#3).
How can i fix this?
Thanks & Best Regards,
Yudi Irianto