[Users] PrintLayout and config.yaml issue

Shafey shafey at omnilink.com.au
Fri May 13 00:38:42 CEST 2011


I am struggling to create print layout page with map fish print. 

I had setup  mapfish print servlet in Apache tomcat6, When I try to make any
change in the config.yaml its always crash and can not provide me print
capabilities.

Can some one tell me how can I make change in the config.yaml to make header
, scale bar , legend add in the print layout.

 

Regards,

 

Shafey

 

Md Abdul Lahel Shafey

Spatial Information Consultant

Mobile : 0401422407

 

-----Original Message-----
From: users-bounces at geoext.org [mailto:users-bounces at geoext.org] On Behalf
Of Ralph Dell
Sent: Friday, May 13, 2011 5:31
To: Ralph Dell; users at geoext.org
Subject: Re: [Users] printProvider question - all problems solved

 

I have posted two questions recently concerning the printProvider and am
posting what I have learned for those that may follow and make some of the
same stupid mistakes I have made.

 

On the front end I did not know if printProvider and printPage were going to
provide me with a nicely formatted output of headers, map, attributes and
footer.

The proof of concept went well and config.yaml wasn't difficult to figure
out and I was very happy with the results. All my development was done with
firefox using the printProvider GET method. I then realized that IE 7 & 8
versions had trouble parsing my urls and the GET url could easily become too
long.

 

I got stuck implementing  the POST method, because of proxy problems, until
Matt Priour pointed me to override-ext-ajax.js. I did not know that module
existed. Including it in the geoext build was simple with the builder tool
http://localhost/GeoExt-1.0/docs/builder/v1.0.html which I was also unaware
of.

 

The issues I had with using the <script> tag to load info.json or using the
printProvider url: and autoload: did not have anything to do with geoext or
the geoserver print module. They were caused by  a firewall setting and the
way I had set up apache proxy settings. Those issues did not affect my other
mapping apps but they came to light when trying to get the printing to work.

 

I would like to thank the geoext developers for such a great tool. Being
able to produce a nicely formatted map is a significant step for me in
continuing to develop our mapping apps with open source tools rather than
former, current and future esri options. 

 

Ralph Dell

 

 

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.901 / Virus Database: 271.1.1/3632 - Release Date: 05/12/11
05:12:00


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110513/2c5d1f71/attachment.htm 


More information about the Users mailing list