<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Andreas,<br>
<br>
thanks for the hint .... unfortunately updating to trunk didn't help.
So I'll try your first suggestion now. <br>
<br>
<br>
BTW - when building the lib out from svn-checkout, I also stopped at
this point:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/pipermail/dev/2010-March/000626.html">http://www.geoext.org/pipermail/dev/2010-March/000626.html</a><br>
<br>
As there is no real working fix for that thread, this is the way it
worked for me:<br>
<br>
I simply replaced the "-j" at line 50 in the Makefile by "-s" and the
build process worked:<br>
<br>
jsbuild full.cfg -v -o $(LIB_NAME)/script/ -s GeoExt.js<br>
<br>
<br>
regards, Till<br>
<br>
<br>
<br>
<br>
Andreas Hocevar wrote:
<blockquote cite="mid:6554D754-40AA-443B-9926-6BB42F0E62C8@opengeo.org"
type="cite">
<pre wrap="">Hi Till,
the example you were looking at is from current trunk, and there were some changes since 0.7. You either have to base your code on the example found in the 0.7 release, or use GeoExt trunk. I would suggest the latter, because printing has been improved since 0.7.
Regards,
Andreas.
On Aug 6, 2010, at 10:51 , adams wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Dear list,
we implemented the print-panel (geoext 0.7) as follows:
var printProvider = new GeoExt.data.PrintProvider({
method: "GET", // "POST" recommended for production use
capabilities: printCapabilities // from the info.json script in
the html
});
printPage = new GeoExt.data.PrintPage({
printProvider: printProvider,
customParams: {
mapTitle: "Geoext is cool!"
}
});
printExtent = new GeoExt.plugins.PrintExtent({
showOnInit: false,
printProvider: printProvider
});
and further down:
mapPanel = new GeoExt.MapPanel({
...
plugins: [printExtent],
....
This was derived from the examples "print-extent" and "print-form". When
opening the print panel in our client, I get an error "page.center is
null [center: page.center.lon, page.center.lat]" .
Comparing our stuff with the example, I see, that in the form-example a
method is called:
printExtent.addPage();
doing this another error comes up: "printExtent.addPage is not a function"
Any hint will make me happy and let me pay a drink in Barcelona... ;-)
Regards, Till
_______________________________________________
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>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
---------------------------------------------------------
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany
Till Adams
Geschäftsführung
Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
<a class="moz-txt-link-abbreviated" href="mailto:adams@terrestris.de">adams@terrestris.de</a> <a class="moz-txt-link-freetext" href="http://www.terrestris.de">http://www.terrestris.de</a>
Amtsgericht Bonn, HRA 6835
---------------------------------------------------------
Komplementärin:
terrestris Verwaltungs GmbH
vertreten durch:
Hinrich Paulsen, Till Adams
</pre>
</body>
</html>