[Users] GridPanel not filled or partially filled

Spat lesitedespat05 at free.fr
Thu Apr 29 17:41:11 CEST 2010


Hi Andreas, 

Thanks a lot for your quick and precise answer!
I replaced
   region: "east"
by
   region: "center"
for the child named grid.

and this works fine.

Regards,
Nicolas

----- Mail Original ----- 
De: "Andreas Hocevar" <ahocevar at opengeo.org> 
À: "Spat" <lesitedespat05 at free.fr> 
Cc: users at geoext.org 
Envoyé: Jeudi 29 Avril 2010 17h05:17 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne 
Objet: Re: [Users] GridPanel not filled or partially filled 

Hi, 

this is not GeoExt related, but has to do with the BorderLayout that you are obviously using. Each child of a container with BorderLayout needs a region configured. Obviously you have no component with 

region: "center" 

Regards, 
Andreas. 

On Apr 29, 2010, at 16:54 , Spat wrote: 

> Hi all! 
> 
> I am trying to fill a GridPanel with WFS features. But I have the following exception: "uncaught exception: No center region defined in BorderLayout ext-comp-1002". 
> 
> This exception may happen before WFS request or after. 
> If it happens before, grid is empty. 
> If it happens after, grid only contains one line. 
> 
> Example is here: http://test.vttrack.fr/test/test-geoxt.php 
> 
> Does anyone encountered such problem or could help me, please? 
> Thanks a lot! 
> Nicolas 
> _______________________________________________ 
> Users mailing list 
> Users at geoext.org 
> http://www.geoext.org/cgi-bin/mailman/listinfo/users 



-- 
Andreas Hocevar 
OpenGeo - http://opengeo.org/ 
Expert service straight from the developers. 



More information about the Users mailing list