PDA

View Full Version : borderLayout



imankhdprst
12 Aug 2009, 2:46 AM
could every one help me?
i was using ext 2 and wrote a form with borderLayout and has been working properly, now i updated to ext 3 and exception "No center region defined in BorderLayout" has been thrown. :-/
i only have updated and not changed any word in my code.
excuse me because of bad english!!!

StuartAshworth
12 Aug 2009, 3:15 AM
If you could post a code snippet from the borderlayout definition we can help you better.

It sounds though (with fear of just repeating the error message!) like you dont have an item that has "region: 'center'" in its configuration.

Animal
12 Aug 2009, 3:19 AM
You have always needed a center region for a border layout, so I don't believe you had a perfect app, and suddenly it didn't work!

The error explains exactly what you did wrong!

12 Aug 2009, 3:32 AM
You have always needed a center region for a border layout, so I don't believe you had a perfect app, and suddenly it didn't work!

The error explains exactly what you did wrong!

exactly. it's awesome that we get these less-cryptic errors now.