1. #1
    Ext Premium Member
    Join Date
    Dec 2008
    Posts
    2
    Vote Rating
    0
    jemtevans is on a distinguished road

      0  

    Default Array remove and indexof incompatible with SAP EPCF

    Array remove and indexof incompatible with SAP EPCF


    SAP provides client script libraries for use in the SAP Enterprise Portal called EPCF (Enterprise Portal Client Framework). The following code is from the EPCF framework and produces unexpected output when run after ExtJs has added members to Array.

    Is there an ExtJs build that does not add the remove and indexof members?


    [COLOR=blue][FONT=Courier New]

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

      0  

    Default


    Ext specifically checks for existence of indexOf and remove before adding them to the Array prototype. So as long as Ext files are added after the SAP files, there should not be an issue.

    Did you look at the SAP code to see if it's checking for existence of the functions? If it is and you can't include Ext after SAP, maybe you can override the SAP code. You could also edit the ext.js file to remove the inclusion of the 2 functions.

  3. #3
    Ext Premium Member
    Join Date
    Dec 2008
    Posts
    2
    Vote Rating
    0
    jemtevans is on a distinguished road

      0  

    Default


    Tim,

    [COLOR=black][FONT=Verdana]Thanks for your reply. As you suggested, I

Thread Participants: 1