Bonjour,
j'ai un Problème de génération de pdf avec Birt en passant des données avec le Text Block, voilà mon erreur :
31 oct. 2007 11:19:20 org.eclipse.birt.report.engine.executor.ExecutionContext evaluate GRAVE: TypeError: [JavaPackage web.doc] n'est pas une fonction (<inline>#2) org.mozilla.javascript.EcmaError: TypeError: [JavaPackage web.doc] n'est pas une fonction (<inline>#2) at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3240) at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3230) at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3246) at org.mozilla.javascript.ScriptRuntime.typeError1(ScriptRuntime.java:3258) at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3317) at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3308) at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2057) at org.mozilla.javascript.gen.c4._c0(<inline>:2) at org.mozilla.javascript.gen.c4.call(<inline>) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:304) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2769) at org.mozilla.javascript.gen.c4.call(<inline>) at org.mozilla.javascript.gen.c4.exec(<inline>) at org.eclipse.birt.core.script.ScriptContext.eval(ScriptContext.java:223) at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:571) at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:550) at org.eclipse.birt.report.engine.script.internal.ScriptExecutor.handleJSInternal(ScriptExecutor.java:60) at org.eclipse.birt.report.engine.script.internal.ScriptExecutor.handleJS(ScriptExecutor.java:44) at org.eclipse.birt.report.engine.script.internal.ReportScriptExecutor.handleInitialize(ReportScriptExecutor.java:30) at org.eclipse.birt.report.engine.api.impl.EngineTask.loadDesign(EngineTask.java:1083) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:89) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:71) at Main.main(Main.java:85)
*******
Et voilà mon code dans le script de mon report :
dossierDoc = new Packages.web.doc ();
Quelqu'un peut il m'aider ?