Scripting issues [message #115638] |
Wed, 25 January 2006 13:47 |
Eclipse User |
|
|
|
Originally posted by: jan.tanis.coas.com
Hi,
How can I refer to the color of the row with Javascript. Is is something
like this.row.color???
Thanks,
Jan.
|
|
|
|
Re: Scripting issues [message #116936 is a reply to message #115755] |
Thu, 26 January 2006 06:22 |
Eclipse User |
|
|
|
Originally posted by: jan.tanis.coas.com
Hi,
I have the following code, but it gives an error on it:
this.getStyle().backgroundColor = "#FF0000";
The error I get it:
Error0 : data.engine.InValidExpr ( 1 time(s) )
detail : org.eclipse.birt.data.engine.core.DataException: Invalid
expression to retrieve value in presentation. at
org.eclipse.birt.data.engine.impl.document.RDLoad.getValue(R DLoad.java:206)
at
org.eclipse.birt.data.engine.impl.document.ResultIterator.ge tValue(ResultIterator.java:168)
at
org.eclipse.birt.report.engine.data.dte.DteResultSet.evaluat e(DteResultSet.java:149)
at
org.eclipse.birt.report.engine.presentation.ReportContentLoa der.openQuery(ReportContentLoader.java:774)
at
org.eclipse.birt.report.engine.presentation.ReportContentLoa der.startContent(ReportContentLoader.java:850)
at
org.eclipse.birt.report.engine.presentation.ReportContentLoa der.loadFullContent(ReportContentLoader.java:339)
at
org.eclipse.birt.report.engine.presentation.ReportContentLoa der.excutePage(ReportContentLoader.java:211)
at
org.eclipse.birt.report.engine.presentation.ReportContentLoa der.loadPage(ReportContentLoader.java:162)
at
org.eclipse.birt.report.engine.api.impl.RenderTask.doRender( RenderTask.java:181)
at
org.eclipse.birt.report.engine.api.impl.RenderTask.render(Re nderTask.java:98)
at
org.eclipse.birt.report.services.ReportEngineService.renderR eport(Unknown
Source) at
org.eclipse.birt.report.soapengine.processor.DocumentProcess or.doRenderReport(Unknown
Source) at
org.eclipse.birt.report.soapengine.processor.DocumentProcess or.process(Unknown
Source) at
org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUpdatedObjects(Unknown
Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) at
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
at
org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
at
org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService .java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281 ) at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServle t.java:699)
at
org.eclipse.birt.report.soapengine.servlet.BirtSoapMessageDi spatcherServlet.doPost(Unknown
Source) at
org.eclipse.birt.report.viewer.servlet.ViewerServlet.doPost( Unknown
Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:868)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:663)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
What causes this?
Regards and thanks, Jan.
Jason Weathersby wrote:
> Jan
>
> in the OnCreate it is
> this.getStyle().backgroundColor
>
> Jason
>
> "Jan Tanis" <jan.tanis@coas.com> wrote in message
> news:dr7vi0$c98$1@utils.eclipse.org...
>
>>Hi,
>>
>>How can I refer to the color of the row with Javascript. Is is something
>>like this.row.color???
>>
>>Thanks,
>>
>>Jan.
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04426 seconds