Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Dynamic CSS using HTTPS
amit22285
HI ,
I am implementing an application using JSF + Birt 2.5 . In this we are passing css file path to cross tabs as well as to charts dynamicaly from app (Using param variables).
We deployed our application on a tomcat server, Here if we access it though HTTP it works. But if we access throght SSL (HTTPS) then it wont attaching the given css.
Can you any one help me to resolve this issue ?
Find more posts tagged with
Comments
kclark
Hi amit! Are you getting any sort of errors on the page when accessing it through https or does it just show the page without the css?
amit22285
<blockquote class='ipsBlockquote' data-author="'kclark'" data-cid="111933" data-time="1354200617" data-date="29 November 2012 - 07:50 AM"><p>
Hi amit! Are you getting any sort of errors on the page when accessing it through https or does it just show the page without the css?<br /></p></blockquote>
<br />
Hi kclark,<br />
<br />
When report is loading its showing me below error. ( report is loading and showing the data but only css is not applied ) <br />
<br />
<br />
<span style='color: #FF0000'>Caused by: org.mozilla.javascript.WrappedException: Wrapped org.eclipse.birt.report.model.api.command.CssException: The style sheet with the name "<a class='bbc_url' href='
https://localhost:8443/iepm/resources/css/crosTabStyle.css'>https://localhost:8443/iepm/resources/css/crosTabStyle.css"</a>
; is not found.</span> (/report/method[
@name="
;beforeFactory"]#2)<br />
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1654)<br />
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:175)<br />
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)<br />
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)<br />
at org.mozilla.javascript.gen.c192._c0(/report/method[
@name="
;beforeFactory"]:2)<br />
at org.mozilla.javascript.gen.c192.call(/report/method[
@name="
;beforeFactory"])<br />
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)<br />
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)<br />
at org.mozilla.javascript.gen.c192.call(/report/method[
@name="
;beforeFactory"])<br />
at org.mozilla.javascript.gen.c192.exec(/report/method[
@name="
;beforeFactory"])<br />
at org.eclipse.birt.report.engine.javascript.JavascriptEngine.evaluate(JavascriptEngine.java:256)<br />
at org.eclipse.birt.core.script.ScriptContext.evaluate(ScriptContext.java:152)<br />
at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:706)<br />
at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:637)<br />
at org.eclipse.birt.report.engine.script.internal.ScriptExecutor.handleScriptInternal(ScriptExecutor.java:61)<br />
at org.eclipse.birt.report.engine.script.internal.ScriptExecutor.handleScript(ScriptExecutor.java:48)<br />
at org.eclipse.birt.report.engine.script.internal.ReportScriptExecutor.handleBeforeFactory(ReportScriptExecutor.java:72)<br />
... 38 more