<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi all,<br>
    <br>
    I'm having problems with the print functionality of qgis webclient.<br>
    Suppose that I made two prject: <i>a.qgs</i> and <i>b.qgs. </i>Suppose
    that the projects have different layers and in both are defined
    different print templates.<br>
    <br>
    <b>Scenario 1</b><br>
    Following the address <a class="moz-txt-link-freetext" href="http://myhost/app.html?map=">http://myhost/app.html?map=</a><b>a</b>.qgs the
    print feature works properly, but if I choose the <b>b</b> project
    from the theme switcher and I try to print, I get the error: <br>
    <br>
    Layer <i>"layername"</i> does not exists<br>
    <br>
    <b>Scenario 2</b><br>
    Following the address <a class="moz-txt-link-freetext" href="http://myhost/app.html?map=">http://myhost/app.html?map=</a><b>b</b>.qgs the
    print feature works properly, but if I choose the <b>a</b> project
    from the theme switcher and I try to print, I get the error: <br>
    <br>
    Layer <i>"layername"</i> does not exists<br>
    <br>
    <br>
    <br>
    Thanks in advantage for the support.<br>
    <br>
    Cheers,<br>
    F.<br>
  
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="https://www.avast.com/antivirus">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                Questa e-mail è stata controllata per individuare virus con Avast antivirus.
                                <br><a href="https://www.avast.com/antivirus">www.avast.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
</body>
</html>