-
28 Mar 2010 2:29 PM #1
'ref' config option can't be edited
'ref' config option can't be edited
'ref' config option can't be edited, which would be really useful for event handling.
whats the best way of event handling with ext designer?
-
29 Mar 2010 8:26 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
I wouldn't think you'd want to set them up on the base class but in the configuration when you implement them.
-
29 Mar 2010 8:35 AM #3
event handling
event handling
I wanted to set them up, so I could easily refer to the sub-components within the base class. This way I can set up event handling in the main class.
Could you please give me a good example of event handling in a class that's base class was designed by Ext Designer?
thank you
-
29 Mar 2010 8:44 AM #4Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
-
29 Mar 2010 9:23 AM #5
best practices
best practices
I agree. It would be nice to see some best practices or tutorial videos about Ext Designer. Can't wait to get some help

-
29 Mar 2010 2:48 PM #6Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
We're doing a lot of work in the ref area and will come out with recommendations with it when finalized.
-
30 Mar 2010 1:59 AM #7
'autoRef' has been implemented for xds-1.0.0.5. Any component which is put in a Container will get the Designer configuration autoRef. The autoRef is a plain string without worries of using "../../" etc
autoRef will generate a correct ref path to place your ref configuration on the top level component.
For example if you have a Button within a ButtonGroup within a ToolBar within a Panel, typically you would have to manually calculate the number of "../"'s that you need to place it on the top level class. (For example '../../myBtn').
We would use the autoRef configuration 'myBtn'.
autoRef allows you to add or remove additional levels of nesting within your hierarchy with ease and while calculating the correct ref configuration.Aaron Conran
@aconran
Sencha Architect Development Team
-
30 Mar 2010 4:48 AM #8
new version
new version
thank you guys. can't wait to see 1.0.0.5 ...


Reply With Quote
