1. #1
    Sencha Premium Member
    Join Date
    Feb 2011
    Location
    Illes Balears
    Posts
    22
    Vote Rating
    0
    _matias_ is on a distinguished road

      0  

    Default [PR3] Ext.form.CompositeField has disappeared?

    [PR3] Ext.form.CompositeField has disappeared?


    Hi,

    Although it still is in the API list, Ext.form.CompositeField doesn't have an API page anymore and trying to use it returns the following error: Cannot create an instance of unrecognized alias: widget.compositefield.

    It was still present in PR2. Does this mean it will no longer be supported or merely that it has been temporarily removed? In the former case, will there be a replacement?

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    Have you looked at PR4, released today? It has a pretty extensive list of changes in the release notes.

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2011
    Location
    Illes Balears
    Posts
    22
    Vote Rating
    0
    _matias_ is on a distinguished road

      0  

    Default


    Thanks for the heads up. As far as I can judge, the issue has been clarified in [PR4], by removing any mention of Ext.form.CompositeField from the API index. Pending its being supported again, I guess. Anyway, it is consistent at least.

  4. #4
    Sencha User
    Join Date
    Dec 2007
    Posts
    18
    Vote Rating
    0
    SharePat is on a distinguished road

      0  

    Default


    Hi,

    Any idea when compositefield will return to API ?
    Outside forms, there is no problem, fieldcontainers can replace them.
    But I use compositefields quiet often in my forms, and there fieldcontainers can't replace them.

    For example my company selector is a compositefield of code and name comboboxes returning 1 value (id_company). The same with zip and location comboboxes returning 1 value (id_location).
    Or a drilldown compositefield of company+project+task comboboxes returning 1 value (id_task).

    As I would like to migrate to Ext4 as soon as possible, is there (in the mean time I hope) an alternative way to simulate compositefields in forms ?

    Thanks in advance for your help,

    Patrick

  5. #5
    Sencha User
    Join Date
    Dec 2007
    Posts
    18
    Vote Rating
    0
    SharePat is on a distinguished road

      0  

    Default


    Hi,

    Is there any news on this issue ?

    To clarify my problem: compositefields in 3.4 have a "name" config and have value setters and getters, like any other form field. Up to me to override setValue/getValue for updating the individual fields in this composite.

    However, fieldcontainers in 4.1 don't have this config and methods...
    Anyone out there who can give me a workaround for this problem ?

    Thanks

Similar Threads

  1. last form with compositefield is not shown in IE7
    By matei in forum Ext 3.x: Bugs
    Replies: 0
    Last Post: 19 Jan 2011, 7:37 AM
  2. Ext.form.CompositeField -> clearInvalid()
    By tobiu in forum Ext 3.x: Bugs
    Replies: 0
    Last Post: 15 Dec 2010, 9:13 AM
  3. [DUPE-949] CompositeField and Form.find
    By KimSchneider in forum Ext 3.x: Bugs
    Replies: 6
    Last Post: 8 Jul 2010, 9:52 PM
  4. CompositeField and Form.find
    By KimSchneider in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 6 Jul 2010, 11:26 PM
  5. Plz Help--Form content getting disappeared
    By ald_2008 in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 22 Jun 2009, 10:32 AM

Thread Participants: 2

Tags for this Thread