1. #1
    Ext User
    Join Date
    Mar 2010
    Posts
    8
    Vote Rating
    0
    konstruktor is on a distinguished road

      0  

    Default '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?

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    I wouldn't think you'd want to set them up on the base class but in the configuration when you implement them.

  3. #3
    Ext User
    Join Date
    Mar 2010
    Posts
    8
    Vote Rating
    0
    konstruktor is on a distinguished road

      0  

    Default 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

  4. #4
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    We will have this in an upcoming release: http://www.extjs.com/forum/showthread.php?t=95598

  5. #5
    Ext User
    Join Date
    Mar 2010
    Posts
    8
    Vote Rating
    0
    konstruktor is on a distinguished road

      0  

    Default 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

  6. #6
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    We're doing a lot of work in the ref area and will come out with recommendations with it when finalized.

  7. #7
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,100
    Vote Rating
    113
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Quote Originally Posted by ExtKD View Post
    Thanks for info. Dreaming of 'auto-ref'...
    '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

  8. #8
    Ext User
    Join Date
    Mar 2010
    Posts
    8
    Vote Rating
    0
    konstruktor is on a distinguished road

      0  

    Default new version

    new version


    thank you guys. can't wait to see 1.0.0.5 ...

Thread Participants: 2