on 05-15-2014 11:42 PM
Hello forum ,
We have a irpt file containing a <img> tag which src contains a CHARTSERVLET call . It used to work fine, but now it does not show the chart . ¿ What might be the cause ? .
Thanks in advance,
Note 1:
We are running a 12.2.3 BUILD 167 SP5 MII plataform
Note 2 ( part of the javscript code ) :
var GrafProduccion = document.getElementById("GrafProduccion");
GrafProduccion.src="/XMII/ChartServlet?StartDate=" + fechaHaceUnMes + "&EndDate=" + fechaGraf + "&XAxisMajorTickCount=" + TickCount + "&Title=Produccion&Width=400&QueryTemplate=ReporteDiarioLPG%2FQueries%2FGraficaProduccionXacute&DisplayTemplate=ReporteDiarioLPG%2FDisplays%2FGraficaProduccion&Content-Type=image%2Fpng&Height=200";
Note 3 ( somewhere inside a table tag ) :
<img id = "GrafProduccion" width="100%"></img>
Please, can anyone can help me out ?
Thanks in advance ..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jeremy,
I found that everything works fine on the ipads, by passing directly the environment variables to the src atributte of the img tag . I used to have the practice to assign environment variables to input tags and then recover their values on some javascript function for further processing. Fortunally, in this case I do not process any further the environmet variables.
In other words, this is a work around for this particular case . If I needed some additional processing for the environment variables , I would be in trouble .
I will close this discussion, marking yours as the right solution .
Thanks again Jeremy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello again,
I forgot to tell that this problems is for the iPADS only . In IE we have no problem.
Best regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.