<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='rtl'>
<br><div style="direction: ltr;">Thanks !</div><div style="direction: ltr;">but this example is using '<span style="font-size: 10pt; ">GeoExt.data.PrintProvider'</span><span style="font-size: 10pt; "> while it is not in the source files </span><a href="https://github.com/geoext/geoext2/tree/master/src/GeoExt/data" style="font-size: 10pt; ">https://github.com/geoext/geoext2/tree/master/src/GeoExt/data</a></div><div style="direction: ltr;">there is a <span style="font-size: 10pt; ">MapfishPrintProvider.js instead</span></div><div style="direction: ltr;"><br></div><div style="direction: ltr;">which one i supposed to use ?</div><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Thu, 20 Sep 2012 20:05:05 +0200<br>From: mayer@terrestris.de<br>To: users@geoext.org<br>Subject: Re: [Users] MapfishPrintProvider in GeoExt2<br><br>
<div class="ecxmoz-cite-prefix">Hello Shadin,<br>
<br>
here is a working examples for a print preview with GeoExt 2:<br>
<br>
<a class="ecxmoz-txt-link-freetext" href="http://geoext.github.com/geoext2/examples/printpreview/print-preview.html" target="_blank">http://geoext.github.com/geoext2/examples/printpreview/print-preview.html</a><br>
<br>
The requirements are defined as follows:<br>
<br>
<pre>Ext.require([
'Ext.Window',
'GeoExt.panel.Map',
'GeoExt.data.PrintProvider',
'GeoExt.panel.PrintMap'
]);
</pre>
Maybe this pushes you forward.<br>
<br>
Best regards,<br>
Chris<br>
<br>
<br>
Am 19.09.2012 10:26, schrieb Shadin A:<br>
</div>
<blockquote cite="mid:SNT128-W554AE2D7AA8D3A5BAE7EA4B79B0@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
--></style>
<div dir="rtl">
<div style="direction:ltr"><span style="font-family:Verdana,\00000d\00000a Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">I am trying
to implement a print preview using GeoExt 2 : </span><br style="font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">
<br style="font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">
<a href="https://github.com/geoext/geoext2/tree/master/examples/printpreview" rel="nofollow" style="color:rgb(85, 26,\00000d\00000a 139);font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)" target="_blank">https://github.com/geoext/geoext2/tree/master/examples/printpreview</a><br style="font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">
<br style="font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">
<span style="font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">everything
seems OK except that when i add : </span><br style="font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">
<br style="font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">
<b style="font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">Ext.require([ <br>
'GeoExt.data.MapfishPrintProvider', <br>
. <br>
. <br>
.</b><br style="font-family:Verdana, Geneva, Helvetica,\00000d\00000a Arial, sans-serif;background-color:rgb(255, 255, 255)">
<br style="font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">
<span style="font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">I got error
says that MapfishPrintProvide.js was not found on GeoExt
path: </span><br style="font-family:Verdana, Geneva,\00000d\00000a Helvetica, Arial, sans-serif;background-color:rgb(255, 255,\00000d\00000a 255)">
<a href="http://geoext.github.com/geoext2/src/GeoExt/" rel="nofollow" style="color:rgb(85, 26,\00000d\00000a 139);font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)" target="_blank">http://geoext.github.com/geoext2/src/GeoExt/</a><br style="font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">
<br style="font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">
<span style="font-family:Verdana, Geneva, Helvetica, Arial,\00000d\00000a sans-serif;background-color:rgb(255, 255, 255)">although all
other files like GeoExt.panel.PrintMap and GeoExt.panel.Map
are being loaded just okay. </span>
</div>
</div>
<br>
<fieldset class="ecxmimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a class="ecxmoz-txt-link-freetext" 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>
<br>_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users</div>                                            </div></body>
</html>