<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Error with the URL generating a linked BIRT report
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/cacelis">Carlos Celis Osorio</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/message/621504#621504">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi there.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I have a problem when I try to generate a linked report from a column located in other report.</p><p>The problem is that URL is not valid because BIRT puts stranger characters on it and relative path isn't correct.</p><p><span class="hps">In addition</span><span>, the parameters are</span> <span class="hps atn">in brackets [</span>] <span class="hps">when they should not</span> <span class="hps">be among</span> <span class="hps">them.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Following is the source report:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><table id="__bookmark_1"><tbody><tr align="center" class="style_2" valign="middle"><th class="style_3" style="border: solid #000000;font-weight: bold;"><p id="AUTOGENBOOKMARK_2">Fecha</p></th><th class="style_3" style="border: solid #000000;font-weight: bold;"><p id="AUTOGENBOOKMARK_3">Zona</p></th><th class="style_3" style="border: solid #000000;font-weight: bold;"><p id="AUTOGENBOOKMARK_4">Cantidad</p></th><th class="style_3" style="border: solid #000000;font-weight: bold;"><p id="AUTOGENBOOKMARK_5">Porcentaje</p></th></tr><tr align="center" class="style_4" style="font-size: 12pt; background-color: #80ffff;" valign="top"><td class="style_3" style="border: solid #000000;"><p class="style_5"><a class="jive-link-external-small" href="http://localhost:8080/ElTiempo/distribution/report/run?__report=%2FC%3A%2FUsers%2Fdesktopins8%2Fworkspace%2F.metadata%2F.plugins%2Forg.jboss.ide.eclipse.as.core%2FJBoss_6.0_Runtime_Server1312301217418%2Fdeploy%2FElTiempo.war%2Fdistribution%2Fdesign%2FreporteConDetalle.rptdesign&amp;TipoReporte=%5BD%5D&amp;FechaInicioString=%5B2011%2F08%2F01%5D&amp;FechaFinString=%5B2011%2F08%2F01%5D&amp;Zona=%5B00440500%5D&amp;__overwrite=true" target="_blank">2011/08/01</a> </p></td><td class="style_3" style="border: solid #000000;"><p class="style_5">00440500</p></td><td class="style_3" style="border: solid #000000;"><p class="style_5">2</p></td><td class="style_3" style="border: solid #000000;"><p class="style_5">100%</p></td></tr><tr align="center" class="style_4" valign="top"><td class="style_3" style="border: solid #000000;"><p class="style_5"><a class="jive-link-external-small" href="http://localhost:8080/ElTiempo/distribution/report/run?__report=%2FC%3A%2FUsers%2Fdesktopins8%2Fworkspace%2F.metadata%2F.plugins%2Forg.jboss.ide.eclipse.as.core%2FJBoss_6.0_Runtime_Server1312301217418%2Fdeploy%2FElTiempo.war%2Fdistribution%2Fdesign%2FreporteConDetalle.rptdesign&amp;TipoReporte=%5BD%5D&amp;FechaInicioString=%5B2011%2F08%2F05%5D&amp;FechaFinString=%5B2011%2F08%2F05%5D&amp;Zona=%5B00440500%5D&amp;__overwrite=true" target="_blank">2011/08/05</a> </p></td><td class="style_3" style="border: solid #000000;"><p class="style_5">00440500</p></td><td class="style_3" style="border: solid #000000;"><p class="style_5">1</p></td><td class="style_3" style="border: solid #000000;"><p class="style_5">100%</p></td></tr><tr align="center" class="style_4" style="font-size: 12pt; background-color: #80ffff;" valign="top"><td class="style_3" style="border: solid #000000;"><p class="style_5"><a class="jive-link-external-small" href="http://localhost:8080/ElTiempo/distribution/report/run?__report=%2FC%3A%2FUsers%2Fdesktopins8%2Fworkspace%2F.metadata%2F.plugins%2Forg.jboss.ide.eclipse.as.core%2FJBoss_6.0_Runtime_Server1312301217418%2Fdeploy%2FElTiempo.war%2Fdistribution%2Fdesign%2FreporteConDetalle.rptdesign&amp;TipoReporte=%5BD%5D&amp;FechaInicioString=%5B2011%2F08%2F08%5D&amp;FechaFinString=%5B2011%2F08%2F08%5D&amp;Zona=%5B00440500%5D&amp;__overwrite=true" target="_blank">2011/08/08</a> </p></td><td class="style_3" style="border: solid #000000;"><p class="style_5">00440500</p></td><td class="style_3" style="border: solid #000000;"><p class="style_5">1</p></td><td class="style_3" style="border: solid #000000;"><p class="style_5">100%</p></td></tr><tr align="left" valign="top"><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td></tr></tbody></table><p>17/08/2011 12:07</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>As you can see, in column "Cantidad" there are 2 units for the date 2011/08/01 in column "Fecha".</p><p>When I do click on 2011/08/01, I should view the next report:</p><p class="style_1" id="AUTOGENBOOKMARK_1" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><table id="__bookmark_1"><tbody><tr align="center" class="style_2" valign="top"><th class="style_3" style=";"><p id="AUTOGENBOOKMARK_2">Fecha</p></th><th class="style_3" style=";"><p id="AUTOGENBOOKMARK_3">Zona</p></th><th class="style_3" style=";"><p id="AUTOGENBOOKMARK_4">Nombre</p></th><th class="style_3" style=";"><p id="AUTOGENBOOKMARK_5">Ciudad</p></th><th class="style_3" style=";"><p id="AUTOGENBOOKMARK_6">Direccion</p></th><th class="style_3" style=";"><p id="AUTOGENBOOKMARK_7">Descripcion</p></th><th class="style_3" style=";"><p id="AUTOGENBOOKMARK_8">Novedad</p></th><th class="style_3" style=";"><p id="AUTOGENBOOKMARK_9">Telefono</p></th></tr><tr align="center" class="style_4" style="font-size: 12pt; background-color: #80ffff;" valign="top"><td class="style_3" style=";"><p class="style_5">17:05:11</p></td><td class="style_3" style=";"><p class="style_5">00440500</p></td><td class="style_3" style=";"><p class="style_5">XXX&#160; XXX</p></td><td class="style_3" style=";"><p class="style_5">BOGO</p></td><td class="style_3" style=";"><p class="style_5">STREET xxx - xx</p></td><td class="style_3" style=";"><p class="style_5">Tiempo 12 M Cortesia</p></td><td class="style_3" style=";"><p class="style_5" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></td><td class="style_3" style=";"><p class="style_5">xxxxxxx</p></td></tr><tr align="center" class="style_4" valign="top"><td class="style_3" style=";"><p class="style_5">17:46:26</p></td><td class="style_3" style=";"><p class="style_5">00440500</p></td><td class="style_3" style=";"><p class="style_5">YYY YYY</p></td><td class="style_3" style=";"><p class="style_5">BOGO</p></td><td class="style_3" style=";"><p class="style_5">STREET xxx xx - xx</p></td><td class="style_3" style=";"><p class="style_5">Tiempo 12 M</p></td><td class="style_3" style=";"><p class="style_5" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></td><td class="style_3" style=";"><p class="style_5">xxxxxxx</p></td></tr><tr valign="top"><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td><td style=";"><br/></td></tr></tbody></table><p>Aug 17, 2011 12:06 PM</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span class="hps">In fact,</span> <span class="hps">I manage to</span> <span class="hps">view the report</span> <span class="hps">in</span> <span class="hps">report viewer</span> <span class="hps">in</span> <span class="hps">Eclipse</span> <span class="hps">but not in</span> <span class="hps">the website.</span></p><p><span class="hps">I am using Drill-through in Hyperlink options for column "Fecha" in detail row of the table.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The following is the generated URL in the web browser by the system:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code">http://localhost:8080/ElTiempo/distribution/report/run?__report=%2FC%3A%2FUsers%2Fdesktopins8%2Fworkspace%2F.metadata%2F.plugins%2Forg.jboss.ide.eclipse.as.core%2FJBoss_6.0_Runtime_Server1312301217418%2Fdeploy%2FElTiempo.war%2Fdistribution%2Fdesign%2FreporteConDetalle.rptdesign&amp;TipoReporte=[D]&amp;FechaInicioString=[2011%2F08%2F01]&amp;FechaFinString=[2011%2F08%2F01]&amp;Zona=[00440500]&amp;__overwrite=true
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>When, the correct URL should be this:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code">http://localhost:8080/ElTiempo/run?__report=/C:/Users/desktopins8/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.0_Runtime_Server1312301217418/deploy/ElTiempo.war/distribution/design/reporteConDetalle.rptdesign&amp;__format=html&amp;TipoReporte=D&amp;FechaInicioString=2011/08/01&amp;FechaFinString=2011/08/01&amp;Zona=00440500&amp;__overwrite=true
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Can you help me?</p><p>In advance, thanks for your help.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/621504#621504">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>