Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member
    Join Date
    May 2008
    Location
    Austria, Vienna
    Posts
    209
    Vote Rating
    1
    abraxxa is on a distinguished road

      0  

    Default Ext.form.Panel misses buttons config

    Ext.form.Panel misses buttons config


    The buttons config is missing in the component config listing.
    Adding a custom config option called 'buttons' as a workaround doesn't work either because the value is set as string.

    This happens with the beta version 2.0.0 build 268.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,883
    Vote Rating
    102
    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


    This is/was intentional. However, the buttons configuration is no longer marked as deprecated. http://docs.sencha.com/ext-js/4-0/#!...el-cfg-buttons

    I will check with the Ext JS framework team to see if it will stick around. That being said a better way of doing this is by placing a Toolbar in as a dockedItem, setting the dock config to 'bottom' and the ui to 'footer'.

    On a different note, when adding custom configurations the designer will automatically assume that it is a string unless you denote to it that it will be some other sort of object. If you put in "buttons: []" and then clicked add you would see that it would create the buttons configuration as an array instead of a string.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Ext JS Premium Member
    Join Date
    May 2008
    Location
    Austria, Vienna
    Posts
    209
    Vote Rating
    1
    abraxxa is on a distinguished road

      0  

    Default


    Thanks for the infos Aaron!
    Please highlight this feature for custom configurations in the UI somehow, maybe with a dropdown between config key and add button which defaults to string and has an array and hash option too.

  4. #4
    Sencha Premium Member
    Join Date
    Sep 2010
    Posts
    127
    Vote Rating
    1
    Tod is on a distinguished road

      0  

    Default


    You might consider changing the examples such as "simple form" to use this approach. Also note that Architect does not support 'component', you have to use a container.
    -Tod

Thread Participants: 2

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar