-
2 May 2011 4:15 AM #1
MVC - reference to the viewport?
MVC - reference to the viewport?
There is a strange result with
it returns a reference to Ext.MessageBox ?!Code:this.getViewport()
The problem is that the reference is not available, but the viewport is the heart of the application.
I was not able for now to add/remove items in the viewport, even when i use itemId and ComponentQuery, for example
i can get a reference byCode:region: 'center', itemId: 'CenterView', items: [{ //... }]
but centerView.removeAll() throws an error.Code:var centerView = Ext.ComponentQuery.query('#CenterView');vg Steffen
--------------------------------------
Release Manager of TYPO3 4.5
energlobe.de - german online magazine
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Viewport problems.. how to load a window in the center region in viewport
By farout in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 4 Nov 2010, 12:43 AM -
a string reference vs. object reference passed to a function
By dolittle in forum Community DiscussionReplies: 2Last Post: 1 Nov 2008, 8:45 AM -
Ext.Viewport - adding a listener to a viewport region's items
By rbastic in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 1 Apr 2008, 12:21 PM -
API Reference
By dot.Scott in forum Ext.nd for Notes/DominoReplies: 4Last Post: 31 Jan 2008, 1:15 PM -
viewport.destroy() deletes BODY-tag incl.! after that new viewport not possible
By wm003 in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 25 Oct 2007, 12:58 AM


Reply With Quote