-
24 Feb 2011 2:31 PM #21
Just to clarify... the "preview" release is not intended as a full, ready-to-migrate release. We mentioned up front that there were missing components and that the docs weren't complete, etc. etc. The goal is simply to show what kinds of changes there are in the new architecture and gather feedback on what's there currently. Once the first feature-complete beta is available, along with the migration guide and compatibility layer that are currently being worked on, the migration effort will go much better.
-
27 Feb 2011 4:33 AM #22
Hi Brian,
it would be cool if we would know when all components are in, or just a page where missing components are mentioned (stroke through if they are implemented)
I would like to test with already existing app to see which issues arise. I already tested (with components should be in pr2) and the viewport isn't rendered at all, difficult to say why, as there is no js error at all.
Maybe it's worth to throw exceptions if a component / class is called that is not present, would make the debug much easier.vg Steffen
--------------------------------------
Release Manager of TYPO3 4.5
energlobe.de - german online magazine
-
27 Feb 2011 1:25 PM #23
Ext.reg Exception Helper
Ext.reg Exception Helper
I know that Ext.reg has been deprecated, but it would be nice to update the exception to indicate which xtype is using Ext.reg.
This would make it much easier to track down which xtypes are using the deprecated functionality during migration of an application.Code:reg: function(xtype, cls) { if (Ext.isDefined(window.console)) { console.warn('Using deprecated Ext.reg for the ' + xtype + ' xtype. Please use the alias configuration with the widget. namespace.'); } Manager.setAlias(cls, "widget." + xtype); }Last edited by chrisvensko; 27 Feb 2011 at 1:29 PM. Reason: Cleanup Code Block
-
1 Mar 2011 6:47 AM #24
'ref' config option not recognized in Ext4
'ref' config option not recognized in Ext4
The 'ref' config in Ext3 is not recognized in Ext4. In the API docs for Ext.AbstractComponent, under 'itemId', it gives a reference to see 'ref' and 'id'. I know this is nit-picking, but I only bring it up to get an idea whether or not this is actually planned for Ext4. This it is a very handy feature, and I would be very disappointed to see go away!
-
1 Mar 2011 10:59 AM #25
I am getting an error message described above: 'Using deprecated Ext.reg. Please use the alias configuration with the widget. namespace.' Is there any documentation on how to use aliases in Ext JS 4?
Thank you,
Michael
-
3 Mar 2011 4:40 AM #26
-
3 Mar 2011 4:50 AM #27
is #23 too far away?
vg Steffen
--------------------------------------
Release Manager of TYPO3 4.5
energlobe.de - german online magazine
-
3 Mar 2011 10:07 AM #28
-
3 Mar 2011 9:03 PM #29
-
3 Mar 2011 9:11 PM #30
Lots of migration docs in the works, please be patient just a bit longer...
For this specific issue, it means to switch your class definition to something like this:
Using this new pattern, Ext.reg('widget.mycustomclass', MyCustomClass) is no longer needed since it is now directly part of the class definition (hence the warning).Code:Ext.define('MyCustomClass', { extend: 'Ext.SomeOtherClass', alias: 'widget.mycustomclass', // <-- your custom xtype ... });
For a plugin replace 'widget.' with 'plugin.'
You found a bug! We've classified it as
a bug in our system.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
Similar Threads
-
Migration to 3.0
By tillda in forum Community DiscussionReplies: 5Last Post: 17 Aug 2009, 7:19 AM -
Migration to 2.0
By scaswell1 in forum Ext GWT: Help & Discussion (1.x)Replies: 1Last Post: 7 Jul 2009, 9:56 PM -
migration 1.0 to 3.0
By alien3d in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 1 Jun 2009, 5:38 AM -
Migration GXT 1.2.4 to 2.0
By G.edwin in forum Ext GWT: Help & Discussion (1.x)Replies: 2Last Post: 15 May 2009, 6:26 AM


Reply With Quote
