[Users] hiding the printExtent... one more question

Marc Jansen jansen at terrestris.de
Wed Jul 21 13:58:09 CEST 2010


Hi list,

For the record: https://trac.geoext.org/ticket/307 is the ticket with 
the renamed methods.

One additional question came to my mind:

If a PrintExtent plugin is added to a mappanel, its setUp()-method is 
automatically called from the init()-method, which in my case lead to 
the behaviour, that the PrintExtent was visible on the map, but the 
accordion element with the print-form was hidden.

Should this (the autimatic rendering) be configurable in any way? Or am 
I doing things the wrong way?

Thanks again for your help,

Regards,
Marc




On 21.07.2010 11:32, Antoine Abt wrote:
> Hi,
>
> On 21 July 2010 11:21, Andreas Hocevar<ahocevar at opengeo.org>  wrote:
>    
>> Hi,
>>
>> I'd say tearDown() is the right thing to do. I would propose to change two method names as part of our API review before the 1.0 release:
>>      
> Yep, you get the example in the simple print widgets, to deal with
> accordion (and others):
>
> http://trac.geoext.org/browser/extensions/geoext.ux/ux/SimplePrint/lib/GeoExt.ux/SimplePrint.js?rev=1877#L133
>
> Regards,
>
>    


More information about the Users mailing list