<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><br>thank you<br><br>actually i never did that.<br><br>i have just two layers to add<br><br><br>var layerDashBoard_commune = new OpenLayers.Layer.WMS(<br>     &quot;commune&quot;,<br>
     &quot;<a href="http://localhost:8080/geoserver/sf/wms" target="_blank">http://localhost:8080/geoserver/sf/wms</a>?&quot;,<br>
     {layers: &quot;sf:commune&quot;, <br>     format: &quot;image/png&quot;,&#39;transparent&#39;:&#39;true&#39;}<br><br>            ,{&#39;opacity&#39;: 1.0, &#39;isBaseLayer&#39;: false, &#39;visibility&#39;: true}               <br>

    );<br><br>and<br><br>var layerDashBoard_province = new OpenLayers.Layer.WMS(<br>
     &quot;province&quot;,<br>
     &quot;<a href="http://localhost:8080/geoserver/sf/wms" target="_blank">http://localhost:8080/geoserver/sf/wms</a>?&quot;,<br>
     {layers: &quot;sf:province&quot;, <br>
     format: &quot;image/png&quot;,&#39;transparent&#39;:&#39;true&#39;}<br>
<br>
            ,{&#39;opacity&#39;: 1.0, &#39;isBaseLayer&#39;: false, &#39;visibility&#39;: true} <br>
                      <br>
    );<br><br>thanks for the help<div><div></div><div class="h5"><br><br><div class="gmail_quote">2011/6/16 Volker Nathusius <span dir="ltr">&lt;<a href="mailto:nathusius@terrestris.de" target="_blank">nathusius@terrestris.de</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


  
    
    
  
  <div bgcolor="#ffffff" text="#000000">
    Am 16.06.2011 16:15, schrieb hassane allouch:
    <blockquote type="cite"><div><div></div><div>
      <div dir="ltr">
        <div class="gmail_quote">
          <div>
            <div>
              <div dir="ltr">
                <div class="gmail_quote">
                  <div dir="ltr">Hi,<br>
                    <br>
                    i have 5 wms i would to print them, but i want to
                    give the user the hand to choose the wms he want to
                    print (put the 5 wms in a comobobox  or something
                    else).<br>
                    <br>
                    i working with the example :<br>
                    <br>
                    <a href="http://api.geoext.org/1.0/examples/print-form.html" target="_blank">http://api.geoext.org/1.0/examples/print-form.html</a><br>
                    <br>
                    It works, i just want to add the possibility to
                    choose the wms to print. How can i do that ?<br>
                    <br>
                    thank you<br>
                  </div>
                </div>
                <br>
              </div>
            </div>
          </div>
        </div>
        <br>
      </div>
      </div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@geoext.org" target="_blank">Users@geoext.org</a>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    Basically, you use a layer tree that allows (un)selecting layers. <br>
    <br>
    Example:<br>
    <a href="http://api.geoext.org/1.0/examples/tree.html" target="_blank">http://api.geoext.org/1.0/examples/tree.html</a><br>
    <br>
    Do you already have that?<br>
    <br>
    Regards,<br>
    <br>
    <pre cols="72">-- 

  Volker von Nathusius

  terrestris GmbH &amp; Co. KG
  Irmintrudisstraße 17
  53111 Bonn

  Tel:    ++49 (0)228 / 96 28 99 -53
  Fax:    ++49 (0)228 / 96 28 99 -57

  Email:  <a href="mailto:nathusius@terrestris.de" target="_blank">nathusius@terrestris.de</a>
  Web:    <a href="http://www.terrestris.de" target="_blank">http://www.terrestris.de</a>

  Amtsgericht Bonn, HRA 6835
  Komplementärin:  terrestris Verwaltungsgesellschaft mbH
  vertreten durch: Hinrich Paulsen, Till Adams  </pre>
  </div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org" target="_blank">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div></div>
</div><br></div>