<html>
<head>
<meta content="text/html; charset=ISO-8859-6"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
the example seems to outdated. You should use the
MapfishPrintProvider. The example is a bit outdated. I opened an
issue for that:<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/geoext/geoext2/issues/161">https://github.com/geoext/geoext2/issues/161</a><br>
<br>
Best regards,<br>
Chris<br>
<pre class="moz-signature" cols="72">
</pre>
On 22.09.2012 15:04, Shadin A wrote:<br>
</div>
<blockquote cite="mid:SNT128-W4499232166088226793891B7980@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<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 moz-do-not-send="true"
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>
<hr id="stopSpelling">Date: Thu, 20 Sep 2012 20:05:05 +0200<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:mayer@terrestris.de">mayer@terrestris.de</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:users@geoext.org">users@geoext.org</a><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 moz-do-not-send="true" 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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a moz-do-not-send="true" 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
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a></div>
</div>
</blockquote>
<br>
</body>
</html>