Results 1 to 3 of 3

Thread: Undocumented FormPanel and XmlReader config properties?

  1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    5
    Vote Rating
    0
      0  

    Question Undocumented FormPanel and XmlReader config properties?

    The "Ajax with XML forms" example:

    ( http://dev.sencha.com/deploy/dev/exa.../xml-form.html
    http://dev.sencha.com/deploy/dev/exa...rm/xml-form.js
    http://dev.sencha.com/deploy/dev/exa...m/xml-form.xml )

    shows a 'reader' config property for FormPanel, as well as a 'success' config property (not 'successProperty') for XmlReader.

    However, http://dev.sencha.com/deploy/dev/doc...XmlReader.html doesn't list 'success', and I don't see any mention of 'reader' in the FormPanel docs or related docs.

    Where are these documented, or what gives?

    Thanks!
    Arya
    Last edited by aryairani; 2 Mar 2011 at 12:57 PM. Reason: Fix url

  2. #2
    Sencha User fay's Avatar
    Join Date
    Apr 2007
    Location
    Ireland
    Posts
    1,750
    Vote Rating
    12
      0  

    Default

    The 'reader' config is described in the BasicForm documentation. A FormPanel will always implement a BasicForm, so this is just a 'shortcut' to the BasicForm's config. From the docs:

    Although not listed as configuration options of FormPanel, the FormPanel class accepts all of the config options required to configure its internal Ext.form.BasicForm...
    You'll find this type of "shortcut" in different areas of ExtJS, e.g., you can specify JsonReader config options when declaring a JsonStore.

    'success' was the name of the config option in Ext JS 2.x; I can't remember when it was deprecated, but I think 'successProperty' was introduced along with totalProperty\messageProperty, etc. Obviously, the XML Forms example should be updated to use the 'successProperty'. When you come across something like this, you can post a "documentation bug" here.

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    5
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by fay View Post
    You'll find this type of "shortcut" in different areas of ExtJS, e.g., you can specify JsonReader config options when declaring a JsonStore.
    Yeah I had seen it for JsonStore, but couldn't find it here until you pointed it out.

    Quote Originally Posted by fay View Post
    When you come across something like this, you can post a "documentation bug" here.
    Will do; thanks Fay.

    -Arya

Similar Threads

  1. Undocumented Config Options / Methods
    By walesmd in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 29 Nov 2010, 7:07 PM
  2. Add new config properties to a Field
    By taxidriver in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 19 Nov 2010, 5:20 AM
  3. XmlReader config problem
    By Robert82 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 18 Mar 2010, 10:28 AM
  4. XMLReader Config
    By marco76 in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 28 Apr 2008, 5:56 AM
  5. this.config[col] has no properties
    By ntulip in forum Ext 1.x: Help & Discussion
    Replies: 14
    Last Post: 24 May 2007, 6:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •