Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Nov 2009
    Location
    Readin, UK
    Posts
    137
    Vote Rating
    2
    intro is on a distinguished road

      0  

    Default [FIXED] Hi when i try to submit form i can not get on.click to work.

    [FIXED] Hi when i try to submit form i can not get on.click to work.


    Hi when i try to submit form i can not get on.click to work..

    i try to get button submit

    Code:
    this.SaveAddNewsSubmit.on('click', this.SpremiAddNews, this);
    Here is big code i dont know why this is not working after update designer...

    Code:
    MyForm9Ui = Ext.extend(Ext.form.FormPanel, {
        padding: 10,
        itemId: 'FormAddNews',
        autoDestroy: false,
        id: 'FormAddNews',
        initComponent: function() {
            this.initialConfig = Ext.apply(this.initialConfig, {
                fileUpload: true
            });
            this.items = [
                {
                    xtype: 'textfield',
                    fieldLabel: 'Naziv Hrvatski',
                    anchor: '100%',
                    itemId: 'NazivHR',
                    autoShow: true,
                    ref: 'NazivHR',
                    id: 'NazivHR'
                },
                {
                    xtype: 'textfield',
                    fieldLabel: 'Naziv Engleski',
                    anchor: '100%',
                    itemId: 'NazivEN',
                    ref: 'NazivEN',
                    id: 'NazivEN'
                },
                {
                    xtype: 'hidden',
                    fieldLabel: 'Upload slike',
                    anchor: '100%',
                    inputType: 'file',
                    autoWidth: true,
                    labelStyle: '',
                    itemId: 'FileUpload',
                    ref: 'FileUpload',
                    id: 'FileUpload'
                },
                {
                    xtype: 'htmleditor',
                    anchor: '100%',
                    height: 150,
                    fieldLabel: 'Tekst mali hrvatski',
                    itemId: 'TextHR',
                    ref: 'TextHR',
                    id: 'TextHR'
                },
                {
                    xtype: 'htmleditor',
                    anchor: '100%',
                    height: 150,
                    fieldLabel: 'Tekst mali Engleski',
                    itemId: 'TextEN',
                    ref: 'TextEN',
                    id: 'TextEN'
                },
                {
                    xtype: 'radio',
                    fieldLabel: 'Odabir veze',
                    boxLabel: 'Link',
                    anchor: '100%',
                    itemId: 'LinkOdabir',
                    name: 'LinkOdabir',
                    autoShow: true,
                    ref: 'LinkOdabir',
                    id: 'LinkOdabir'
                },
                {
                    xtype: 'radio',
                    boxLabel: 'HTML',
                    anchor: '100%',
                    itemId: 'HTMLOdabir',
                    name: 'HTMLOdabir',
                    autoShow: true,
                    ref: 'HTMLOdabir',
                    id: 'HTMLOdabir'
                },
                {
                    xtype: 'fieldset',
                    title: 'Link upis',
                    style: 'margin-top:20px;',
                    hidden: true,
                    itemId: 'LinkSelect',
                    ref: 'LinkSelect',
                    id: 'LinkSelect',
                    items: [
                        {
                            xtype: 'textfield',
                            fieldLabel: 'Link Hrvatski',
                            anchor: '100%',
                            itemId: 'LinkHR',
                            autoShow: true,
                            ref: '../LinkHR',
                            id: 'LinkHR'
                        },
                        {
                            xtype: 'textfield',
                            fieldLabel: 'Link Engleski',
                            anchor: '100%',
                            itemId: 'LinkEN',
                            autoShow: true,
                            ref: '../LinkEN',
                            id: 'LinkEN'
                        }
                    ]
                },
                {
                    xtype: 'fieldset',
                    title: 'HTML Upis',
                    hidden: true,
                    itemId: 'HTMLSel',
                    ref: 'HTMLSelect',
                    id: 'HTMLSel'
                }
            ];
            this.fbar = {
                xtype: 'toolbar',
                itemId: 'SaveAddNewstab',
                autoShow: true,
                enableOverflow: true,
                ref: 'SaveAddNewstab',
                id: 'SaveAddNewstab',
                items: [
                    {
                        xtype: 'button',
                        text: 'Snimite podatke',
                        itemId: 'SaveAddNewsSubmit',
                        type: 'submit',
                        autoShow: true,
                        formBind: true,
                        ref: '../SaveAddNewsSubmit',
                        id: 'SaveAddNewsSubmit'
                    }
                ]
            };
            MyForm9Ui.superclass.initComponent.call(this);
        }
    });

  2. #2
    Sencha User
    Join Date
    Nov 2009
    Location
    Readin, UK
    Posts
    137
    Vote Rating
    2
    intro is on a distinguished road

      0  

    Default


    Hi any ideas... i am still working on it ... any ideas after update designer something changed
    Thanks in advance

  3. #3
    Sencha User
    Join Date
    Nov 2009
    Location
    Readin, UK
    Posts
    137
    Vote Rating
    2
    intro is on a distinguished road

      0  

    Default


    I found out that it is diferent code

    Before:
    Code:
      xtype: 'form',
                    padding: 10,
                    itemId: 'FormAddNews',
                    fileUpload: true,
                    ref: 'FormAddNews',
                    id: 'FormAddNews',
                    items: [
    And now export from designer is
    Code:
    xtype: 'form',
                    padding: 10,
                    itemId: 'FormAddNews',
                    autoScroll: true,
                    autoShow: true,
                    ref: 'FormAddNews',
                    id: 'FormAddNews',
                    initialConfig: Ext.apply(this.initialConfig, {
                        fileUpload: true
                    }),

    Mabe is that problem ?

  4. #4
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    This is due to the same bug as has been previously reported regarding the initialConfig generation. It is fixed in 1.0.2.14.

    Thanks,
    Jarred

  5. #5
    Sencha User
    Join Date
    Nov 2009
    Location
    Readin, UK
    Posts
    137
    Vote Rating
    2
    intro is on a distinguished road

      0  

    Default


    hi do you have manual update because my designer say in 13 all the time...

  6. #6
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    Yes we have manual upgrade instructions located here: http://www.sencha.com/forum/showthre...o-xds-1.0.2.14

    Have you had automatic upgrade troubles in the past? Normally on the startup of the Designer, you will get an update notification of a new version if you are connected to the internet.

    Let me know when you have upgraded successfully. Thanks!

  7. #7
    Sencha User
    Join Date
    Nov 2009
    Location
    Readin, UK
    Posts
    137
    Vote Rating
    2
    intro is on a distinguished road

      0  

    Default


    i open restart cp and now he update with designer.. thanks on fast reply

  8. #8
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    Ok perfect, great to hear. Thanks for letting me know.

Similar Threads

  1. form submit dose not work
    By new in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 10 Feb 2010, 4:16 AM
  2. (Xtype) Form Submit doesn't work
    By noso in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 13 Aug 2009, 8:42 AM
  3. Please help with IE.. Form.submit doesn't work
    By shaluniska in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 11 Jan 2009, 5:18 PM
  4. Canceling Form Submit on Click Event
    By yp1052 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 28 Mar 2008, 6:21 AM
  5. Form Json Submit doesn't work but the Load work
    By dieyoudie in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 14 Dec 2007, 2:13 PM

Thread Participants: 1