Spry Object Methods / Properties

Since I have been unable to find any documentation on the
full range of methods available with the Spry.Data.XMLDataSet
object (and there seem to be a bunch of posts on this forum of
people looking for the same), I did a dump of the methods and
parameters in the Spry objects to get a quick list. You can
generate your own list by using the JavaScript "for...in" object
collection loops.
If there is someone from adobe monitoring this forum, can you
please point us in the direction of some official documentation.
The link to the data API (
http://labs.adobe.com/technologies/spry/articles/data_api/index.html)
in the Spry Data Set and Dynamic Region Overview article (
http://labs.adobe.com/technologies/spry/articles/data_set_overview/)
sends us to a 404 Page not Found.
Thanks.
See below:
Spry.Data.XMLDataSet
onRequestError
onRequestResponse
setDataFromDoc
setXPath
getXPath
getDocument
setURL
getURL
cancelLoadData
loadData
onDataChanged
onPostSort
onCurrentRowChanged
attemptLoadData
disableNotifications
enableNotifications
notifyObservers
removeObserver
getData
getUnfilteredData
getLoadDataRequestIsPending
getDataWasLoaded
getRowCount
getRowByID
getRowByRowNumber
getCurrentRow
setCurrentRow
getRowNumber
getCurrentRowNumber
setCurrentRowNumber
findRowsWithColumnValues
setColumnType
getColumnType
distinct
getSortColumn
getSortOrder
sort
filterData
filter
startLoadInterval
stopLoadInterval
observers
suppressNotifications
name
internalID
curRowID
data
unfilteredData
dataHash
columnTypes
filterFunc
filterDataFunc
distinctOnLoad
sortOnLoad
sortOrderOnLoad
keepSorted
dataWasLoaded
pendingRequest
lastSortColumns
lastSortOrder
loadIntervalID
url
xpath
doc
dataSetsForDataRefStrings
hasDataRefStrings
useCache
requestInfo
recalculateDataSetDependencies
addObserver
Spry.Data.Region
hiddenRegionClassName
evenRowClassName
oddRowClassName
notifiers
evalScripts
addObserver
removeObserver
notifyObservers
RS_Error
RS_LoadingData
RS_PreUpdate
RS_PostUpdate
enableBehaviorAttributes
behaviorAttrs
setUpRowNumberForEvenOddAttr
setRowAttrClickHandler
processContentPI
PI
getTokensFromStr
processDataRefString
strToDataSetsArray
DSContext
ProcessingContext
Token

According to the ECMAScript 4 specs, instance properties
should remain non-numerable even after value assignment. But in
ActionScript 2 an instance property becomes enumerable after it is
assigned a value (unless the value assignment is part of the
property declaration). This might change as ActionScript evolves.
Class properties - declared as static - are enumerable with a
for-in loop. And dynamic properties are enumerable.
ActionScript 2 doesn't support the ECMAScript 4 enumerable
attribute but you can use the undocumented ASSetPropFlags()
function (Google -> ASSetPropFlags).
In short: just (almost) following the standard.

Similar Messages

  • ODS Object-Specific Properties BUG

    Hi Bhanu & Experts,
    I have a Variable on particular InfoObject. The RSD1 property is "Only Value in the Infoprovider".
    When i use the variable from Infocube it only show the values from the Infoprovider in the Variable screen.But when i use the same variable with an ODS it shows all the values in the variable sceen.
    I tried ODS Object-Specific Properties for my Infoobject in the ODS Maintenance it didn't work.
    Is there any specific setting to be made to the ODS?
    Any idea why the same infoobject show all the values from the master table even in the Query definition?
    Thank you
    Arun

    Hi Bhanu,
      Variable screen is really bugging me a lot.All the requirements i get is in and around this variable popup.
      Don't you think the following line in the SAP Note 626887 is wrong,
    The same applies to the settings to the ODS object ("Edit ODS object" under "Key fields" Context menu call for an InfoObject (right-click), ODS object-specific attributes").
      Why does it tell only "Key Field" if it is whey do you need this setting for the "Data Fields"
    Thank you
    Arun

  • Want to know how to debug the Business Object Method called from CRM

    Hi all,
    I have to debug a Method of a custom Business Object. This is being called when a certain action is performed
    on the CRM  ( CIC0 screen). I can not see an option to set an external break point in the Program of the Business Object
    Method.
    This Business Object calls a standard SAP FM. I tried setting an external break point in that FM and tried executing that.
    But it  is not stopping there.
    Can any one please let me know how I can debug this when triggered from CRM?
    Thanks  in advance.
    Thanks & regards,
    Y Gautham

    Hi,
    I have tried checking the option 'IP MATCHING' option. I have given my user id and also the 'WEBUSER' as well.
    But still I am unable to debug the application.
    Can you please let me know if I am missing anything further.
    Thanks & regards,
    Y Gautham

  • HOWTO: Expose Entity Object Methods to Clients

    By design, clients cannot directly access entity objects. The view object layer provides an extra layer of security--you can choose exactly what data and methods you want clients to see.
    This HOWTO describes the process of exposing an entity object method to client programs.
    First, if you don't already have one, you must base a view object on your entity object and add the view object to your data model. For full details of how to do this, see the help topics under
    +Developing Business Components
    --Working with View Objects, View Links, Application Modules, and Clients
    +----Creating and Modifying View Objects, View Links, Application Modules, and Clients
    For the purposes of this HOWTO, we'll assume that you already have an entity object, Employees, with a method on it, calculateBonus(),
    and a view object EmployeesView based on Employees.
    First, you must generate a view row class. A view row represents one row of the view object's cache; it corresponds to a view of a particular entity object.
    To generate a view row class:
    1. Right-click EmployeesView and choose Edit.
    2. In the View Object Editor, select the Java page.
    3. Select Generate Java File and Generate Accessors for the view row class.
    4. Click Done. This creates a class called EmployeesViewRowImpl.
    Next, you should add a "delegator" method to the view row class--a public method with the exact same signature as the entity method, that simply calls the entity method. For example:
    public int calculateBonus(int rating) {
    return getEmployees().calculateBonus(rating);
    Next, you should export this method.
    1. Right-click EmployeesView and choose Edit.
    2. In the View Object Editor, select the Client Row Methods page.
    3. Shuttle the method you just created into the Selected list and click Done.
    This creates an interface called EmployeesViewRow that contains your method.
    Now you can call the method from your client. You should cast the row returned by EmployeesView.current(), the <jbo:Row> tag, or a similar method or data tag to EmployeesViewRow.
    For example,
    <jbo:Row id="myRow" datasource="ds" action=Current>
    <% out.println(((EmployeesViewRow) myRow).calculateBonus(3)); %>
    </jbo:Row>
    null

    Hi Lisa,
    There's a difference between exporting methods (on an application module, view object, and view row--this is done on the "Client Methods" tab of the view object and application module wizards and the "Client Row Methods" tab of the view object wizard) and making an application module remotable (which is done on the "remote" tab of the application module wizard).
    You should always export methods you want clients to use--and you only need to do this on the application module if you've written methods on your application module (which I didn't in this HOWTO). You can still use these methods in local mode--the interfaces will be present locally. The advantage of exporting methods is that it doesn't lock you into local mode--you'll be able to change to remote mode later (if you decide that's the way to go) with minimal changes--because the interfaces will be present locally even when the implementation classes aren't.
    By contrast, you should only make an application module remotable if you're planning on deploying in a non-local configuration. You can do this step right before deployment.
    Hope this helps,
    Avrom
    null

  • How to manage optional output parameters in an object method ?

    Hi Abapers,
    I've a little coding point to clarify in object programming :
    I've defined an output method parameter as optional.
    I want to prevent execution error with the following test :
    IF et_my_ouput_paramer IS REQUESTED.
       APPEND LINES OF lt_my_data_found TO et_my_ouput_paramer . "*(or other value affectation, no matter)
    ENDIF.
    When activating the code, I obtain the following error :
    "IS REQUESTED" is allowed only with function parameters. This means
    that it is allowed only within the relevant function module and not
    with pure incoming parameters.
    Effectively, I usely use "IS REQUESTED" for module-function... What's the correct syntax in object method ?
    Thanks in advance.

    OK, guys, it was a very tricky and basic error...
    Sorry for this topic, I mistake in declaring type of my parameters.
    Keep programming Quietly !
    Have a nice day.

  • Why is String method called not Object method

    In the below program ::
    class Test
         public void callMethod(Object o)
              System.out.println("Object Method Called");
         public void callMethod(String s)
              System.out.println("String Method Called");
         public static void main(String[] args)
              Test t = new Test();
              t.callMethod(null);
    }

    In the below program ::
    class Test
         public void callMethod(Object o)
              System.out.println("Object Method Called");
         public void callMethod(String s)
              System.out.println("String Method Called");
         public static void main(String[] args)
              Test t = new Test();
              t.callMethod(null);
    }If more than one method could be called the most specific one is called. Since a String is an Object then the String one gets called.

  • Service Objects Extended Properties

    Hi,
    I'm looking for a list of registered keywords and properties
    for the Service Objects extended properties.
    I found servicetobind and forte_generated, but I'm looking
    for the exhaustive set, so that not to interfere with them.
    Thanks for any input,
    j-paul gabrielli
    sema dts

    Hi Denis,
    it worked now. i had didn't stop SIA completely.
    Thanks!!!
    -Pavana

  • Connect to COM(OBJECTS/METHODS) FROM ABAP

    Dear all.
    How can I connect to COM objects/methods from abap?
    Could give me link to example.

    Yes this method raises and exception with this message
    Message ID:          FDT_CORE
    Message number:      085
    DO_IM_DATETIME is not in the context
    The method SET_VALUE corresponds to IF_FDT_CONTEXT. This is the method's calls
          lv_name = 'DO_IM_DATETIME'.
          TRY.
              o_context->set_value( iv_name =  lv_name
                                    ia_value = lv_element_tzone ).
            CATCH cx_fdt INTO lx_fdt.
              RAISE incorrect_parameter.
          ENDTRY.
    I reactivate the aplication, the function, the expression and the data objects.
    But the method is still giving this exception.
    I have only this exception when I try to set up this two parameters:
    DO_IM_DATETIM of type Timepoint
    DO_IM_LANGU which is binding to the element type LANGU
    But in my BRFPlus Function Context I do have this two parameters.
    Thanks !

  • Changing object access properties remotely

    hi,
    how can i change an objects access properties (i.e.
    allows/disallow a user) from a remote system. i currently have
    a system (program) that generates files which i would like to
    place in a certain folder and the program automatically changes
    the rights of the object/file to allow other users read access
    because the default acl on the file will be private. only
    specific users will be given rights to the file.
    tia
    sean

    Bill:
    Please refer to my response in
    Error opening report using WEB.SHOW_DOCUMENT
    Thanks.
    Sung

  • Modify "object layer properties" on all odd/even pages based on...

    Hello,
    looking for a script to modify the "object layer properties" of placed .indd files.
    Ideal, a script wich runs on all even pages (based on master B), and sets the object layer options to layer1 visible/2 invisble.
    and on the odd pages: layer1 invisible/2 visible...
    don't know where to start...
    If there are some freelance scripters on the forum?
    grts!!!

    I'm looking for someone to write it for me.
    Are you an experienced indesign scripter?
    We very often need indesign scripts...wich language do you use?
    grts
    Stijn Van Roey :: m. 0496123279 :: [email protected]

  • Access an objects method + no line terminator

    Hi,
    I've just found out that if you can use the objects methods by not terminating a line with semicolon;
    StringBuffer sb = new StringBuffer();
    sb.append("A")
        .append("B")
        .append("C");Is this because the terminator closes access to the object and its methods, so not placing a terminator allows a VB style with statement to just access the methods.
    Why/How is this possible?
    Is it good practice?
    Any Help on this would be great,
    Cheers

    It's because the append() method returns an instance of itself. I.e. it's implemented like this:
    public StringBuffer append(String text) {
       // ... do internal operations to add the string
       return this;
    }The semi-colon ends the statement. Since you haven't closed the statement, you have access to the l-value (the returned value from the method) and can invoke methods on the object that it references.
    Is it good practice?It's sometimes useful, but it can be overused.

  • Spry menu bar properties panel info compressed into left-hand corner

    problem viewing spry menu bar properties panel information is condensed into the lefthand side of the panel, where it overlaps itself, becoming illegible and impossible to select 

    Ben, I think the Gary is referencing a DW interface problem, not a display issue on a web page.
    It looks like the actual Properties window is corrupt.
    Gary, if this worked in the past, you might try clearing the program cache...
    http://forums.adobe.com/thread/494811
    Resetting Preferences...
    http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
    Or the nuclear option, uninstalling, cleaning and reinstalling...
    http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

  • SQL * Loader loading ORDSYS object setting properties

    Hi,
    I have table where am storing image as ORDSYS.ORDIMAGE.
    I am using SQL*loader to load the image coloum. Below shown is the extract of the load file
    Image COLUMN OBJECT
              source COLUMN OBJECT
                   localData_fname FILLER CHAR(128),
                   localData LOBFILE (Image.source.localData_fname) TERMINATED BY EOF
    with this, I am able to load the image. now i want to set the other properties of ORDImage object like description.
    How can i do that? please can anyone help me in this?
    Edited by: 896943 on Dec 8, 2011 6:23 PM

    There is no 'setDescription' method available with the ordimage type. You can use putMetadata if that works for you.
    Otherwise, you would have to build a custom data-type based on the ordimage type in order to store your 'description'.

  • Sort Nested Object - 2 properties

    Hello,
    I am trying to sort based on a few properties of an object. The only issue i am having is the properties are within a nested object.
    For example.
    I would like to stort the following object by StreetNumber and StreetName, but these properties are inside 'locations_attributes' array.
        "commute": {
            "minutes": 0,
            "startTime": "Wed May 06 22:14:12 EDT 2009",
            "locations_attributes": [
                    "StreetNumber": "12",
                   "StreetName": "Main"
                    "StreetType": "St"   
                    "StreetNumber ": "17",
                   "StreetName": "Morning Side ",
                    "StreetType": "Dr"
                    "StreetNumber ": "26",
                    "StreetName": "Blake",
                    "StreetType": "St"               
    Can this be done ?
    Drew

    I get a JSON result from a REST service and I have a custom component that I populate.
    I am not usin a datagrid, but a extended version of the List component.
    I am just trying to sort the returned result sorted by street number and street name.
    I was using a compareFunction in a sort() method, but only found samples for sorting off of one field.. not 2.
    Here is  is a sample of what I was using for 1 field.
    private function sortByAttribute(a:Object, b:Object):Object
                var x:String = a.attributes[this._activePanel.SortField].toLowerCase();
                var y:String = b.attributes[this._activePanel.SortField].toLowerCase();
                return ((x < y) ? -1 : ((x > y) ? 1 : 0));

  • How to keep track of all the classes/methods/properties created in a long script

    Hi,
    I'm curious to know what method people use to keep track of all the classes, methods, and properties you've created when writing a longer script.
    For quick scripts, this isn't a problem. But for long scripts it can get quite difficult to keep track of all the objects one has created, and all their methods and properties, and overloaded constructors, etc.
    ESTK is great, and it's the IDE I use for InDesign scripting, if only because of it's powerful debugging options.
    But it doesn't provide any way of keeping track of this stuff. No proper Intellisense as in Visual Studio.
    I'd be interested to hear how people solve this issue.

    Hi Ariel,
    Not sure it is relevant to your question but I have an old snippet that collects and displays ExtendScript references using $.list(). This may help to track some object relationships.
    // WARNING: this is just a WIP -- Not tested in all platforms and versions
    $.scanRefs = function scanRefs(/*0|1*/showAll)
        var s = $.list(),
            p = (!showAll) && s.indexOf('[toplevel]'),
            a = ((!showAll) ? s.substr(0,10+p) : s).split(/[\r\n]+/),
            n = a.length,
            // --- Address:1     L:2  Rf:3   Pp:4  Type:5  Name:6
            re = /^([0-9a-z]{8}) (.) +(\d+) +(\d+) (.{10}) (.{1,17})/,
            reTrim = / +$/,
            i, t, k, m,
            refBy, type, name, tag, rest, rfCount, props, j,
            o = {},
            TYPES = {'Function':"FCT", 'Object':"OBJ", 'Array':"ARR", 'RegExp':"REG"};
        for( i=2, refBy=0 ; i < n ; ++i )
            s=a[i];
            while( s && m=s.match(re) )
                k = '&'+m[1].toUpperCase();
                rfCount = parseInt(m[4],10);
                rest = s.substr(m[0].length);
                type = m[5].replace(reTrim,'');
                name = m[6].replace(reTrim,'');
                if( 0x5B==rest.charCodeAt(0) )
                    p = rest.indexOf(']');
                    tag = rest.substr(0,1+p);
                    rest = rest.substr(1+p);
                else
                    tag = '';
                if( 0x20==rest.charCodeAt(0) )
                    rest=rest.substr(1);
                if( p=!(rest.indexOf("referenced by:")) )
                    rest = rest.substr(14);
                o[k] || (o[k] = {
                    locked:        +('L'==m[2]),
                    rfCount:    parseInt(m[3],10),
                    ppCount:    rfCount,
                    type:        TYPES[type]||type,
                    name:        name,
                    tag:        tag,
                    from:        [],
                    order:        -1,
                if( 0 < refBy )
                    if( p || !rest ){ throw "Unable to parse references." }
                    props = rest.split(' ');
                    refBy -= (j=props.length);
                    while( j-- ) t.from.push([k,props[j]]);
                    (props.length=0)||(props=null);
                    rest = '';
                else
                    refBy = rfCount;
                    if( p != !!refBy )
                        if( p ){ throw "Unable to parse references."; }
                        refBy = 0;
                    (t = o[k]).order = n - i;
                (m.length=0)||(m=null);
                s = rest;
        a.length=i=0;
        for( k in o )
            if( !o.hasOwnProperty(k) ) continue;
            a[i++] = k;
        a.sort( function(x,y){return o[x].order-o[y].order;} );
        //a.sort( function(x,y){return parseInt(x.substr(1),16)-parseInt(y.substr(1),16);} );
        var u,
            pngLock = "\x89PNG\r\n\x1A\n\x00\x00\x00\rIHDR\x00\x00\x00\x0E\x00\x00\x00\x0E\b\x06\x00\x00\x00\x1FH-\xD1\x00\x00\x00\tpHYs\x00\x00\x0B\x13\x00\x00\x0B\x13\x01\x00\x9A\x9C\x18\x00\x00\x01VIDAT(\xCF\xA5\x91\xB1j\xC2P\x14\x86\x93\xD6\x94\x98\xA4\xB5\xA5\x85\x0E-R\xAF\xA5\xB8\xF4\x1D\xAA\xEF\x10_B\x9C\xDD\x0B]\xA4o`C\xE9$B\x1C\xCD\x10\x10C6\x05q\td\xA9%\x83d2\x83O\xF0\xF7\xDCp#i\xB5\x1D\xDA\xC0\xC7\xB97\xE7|\xF7\xDC\xCB\x91\x00H\x7FA\xFA\xB7\x98\xFF\xAA\xD5\xEA\x0B\x855\xC1\x13k\xDA\xBF\xEA\x9A\xA6\x9C\x18\xC6\xC1\xB6\xE8\xBBHE\x16\x85w\xC6\xD8\xE3\x91\xA2\xDCQ|\xA2\xFD\x07\xC57\xADXT\x8B\xAAz\xB8#\x8A\x13\xD7\xBC\xD8\xD0\xB4kC\xD7\x19q\xCB*\x95g\xFA\x9FP\xD7\x0B\x8A\n!oE.\xB5Z-\xEC\xA3\xD9l\xA2\xFEP\x07\x1D\xC8;\x18D!/\x16x\x91\xEF\xFBX.\x97\xD8l6H\x92$]O\xA7S\x8CF#\x887\x9F\x13j^T\xB9\xD8\xE9t0\x99L\x10\xC71V\xAB\x15\x82 \xC0\xD0\x1E\xA2\xDDng\xE2\x15q\x9C\x175.:\x8E\x83\xC5b\x81(\x8A \xCB2\xE6\xF39\\\u00D7E\xBF\xDF\xCF\xC4\x1B\xE24/\x1A\\\u00ECv\xBB\xF0<\x0Fa\x18\xA2\xD1h`<\x1E\xC3\xB2,\x98\xA6\x99\x89\x8C8\xDB\x11\x07\x83AzU\xDEu6\x9B\xA5\xA2m\xDB\xE8\xF5z?\x8B4\xC3,\xF9\x1B_E1\x9F\x12Q&j\xC4\xFD\x1Ej\"_\xCA\x8B\x051\xA3K\x91d{(\x8B\xBC\xFE\t\xC1TI!\xE3L\x03\x7F\x00\x00\x00\x00IEND\xAEB`\x82",
            pngNop = "\x89PNG\r\n\x1A\n\x00\x00\x00\rIHDR\x00\x00\x00\x0E\x00\x00\x00\x0E\b\x03\x00\x00\x00(\x96\xDD\xE3\x00\x00\x00\x03PLTE\x00\x00\x00\xA7z=\xDA\x00\x00\x00\x01tRNS\x00@\xE6\xD8f\x00\x00\x00\x15IDATx\xDA\xDD\xC1\x01\x01\x00\x00\x00\x80\x90\xFE\xAF\xF6#\xDA\x01\x00\xD2\x00\x01\xCC \x10\x14\x00\x00\x00\x00IEND\xAEB`\x82",
            w = new Window('dialog', " ExtendScript Memory"),
            p1 = w.add('panel', u, "References"),
            lRefs = p1.add('listbox', u, "",
                numberOfColumns: 4,
                showHeaders: true,
                columnTitles: ["Address", "Type", "Name", "Refs"],
                columnWidths: [90,60,120,36],
            g = w.add('group'),
            pFrom = g.add('panel', u, "From"),
            lFrom = pFrom.add('listbox', u, "",
                numberOfColumns: 4,
                showHeaders: true,
                columnTitles: ["Address", "Type", "Name", "Property"],
                columnWidths: [90,60,120, 120],
            pTo = g.add('panel', u, "To"),
            lTo = pTo.add('listbox', u, "",
                numberOfColumns: 4,
                showHeaders: true,
                columnTitles: ["Property", "Address", "Type", "Name"],
                columnWidths: [120,90,60, 120],
        g.orientation = 'column';
        w.orientation = 'row';
        w.alignChildren = ['left','top'];
        lRefs.maximumSize = lRefs.minimumSize = [330,450];
        lFrom.maximumSize = lFrom.minimumSize = [420,120];
        lTo.maximumSize = lTo.minimumSize = [420,220];
        lRefs.onChange = function()
            lFrom.removeAll();
            lTo.removeAll();
            lFrom.parent.text = "From";
            lTo.parent.text = "To";
            if( !this.selection ) return;
            var key = '&'+this.selection.text,
                t = o[key],
                from = t.from,
                i = from.length,
                k;
            lFrom.parent.text = "["+key.substr(1)+"] is reachable from " + t.ppCount + (1<t.ppCount ? " properties" : " property");
            if( t.ppCount && !i )
                with( lFrom.add('item', '--------') )
                    image = pngNop;
                    subItems[0].text = '';
                    subItems[1].text = '<UNKNOWN REFERRER>';
                    subItems[2].text = '';
            while( i-- )
                k = from[i][0];
                t = o[k];
                with( lFrom.add('item', k.substr(1)) )
                    image = t.locked ? pngLock : pngNop;
                    subItems[0].text = t.type;
                    subItems[1].text = t.name + ' ' + t.tag;
                    subItems[2].text = from[i][1];
            for( k in o )
                if( !o.hasOwnProperty(k) ) continue;
                t = o[k];
                from = o[k].from;
                i = from.length;
                while( i-- )
                    if( from[i][0]!=key ) continue;
                    with( lTo.add('item', from[i][1]) )
                        image = pngNop;
                        subItems[0].text = k.substr(1);
                        subItems[1].text = t.type;
                        subItems[2].text = t.name + ' ' + t.tag;
            lTo.parent.text = "["+key.substr(1)+"]'s properties had access to " + lTo.items.length + " addr.";
            from = t = null;
        for( i=0, n=a.length ; i < n ; ++i )
            t = o[k=a[i]];
            with( lRefs.add('item', k.substr(1)) )
                image = t.locked ? pngLock : pngNop;
                subItems[0].text = t.type;
                subItems[1].text = t.name + ' ' + t.tag;
                subItems[2].text = t.ppCount + '/' + t.rfCount;
        w.show ();
    // TEST
    var t;
    var f = function MyFunc()
        (function MyInnerFunc(){})();
    $.scanRefs(1);
    @+
    Marc

Maybe you are looking for