How to get the name of the particular index table option.

Hello

Can any body tell how to get the name of the item to a particular array.i have a table within array.i must compare the name of Francesca in particular key.here is the table.

myArray= Array (@43b1e09)
[0] = object (@42b33f9)
Testing_1 = Array (@4428821)
[0] = object (@43adc19)
choice_id = '0 '.
delete = "N".
DownloadURL = "xyz".
selected = 'Y '.
translation = "2_486."
length = 1
length = "N".
Editable = 'Y '.
field_id = '388 '.
LanguageLink = 'Y '.
linked_definition_id = null
multiple values = "N".
name = "Photo".
otheroption = "N".
photovitlink = object (@43ad0d9)
required = "N".
step = '1 '.
translation = "Photo".
visible = 'Y '.
[1] = object (@43ad5d9)
[2] = object (@4490089)

Here is the structure of the table I get server side.i give table name of result as table myArray.This have several child as an object of object.each having .i table (Testing_1 in the first case) must get the name of this Testing_1 table and compare with my sort key that I perform an operation. But I am unable to get the name of this Testing_1 array(Since_it_is_dynamic_so_this_name_changes_some_times).can a body guide me how to get the name of this table.



Thanks and greetings

Vineet Sharma

Hi Vineet Osho,

You can browse your object using the loop and you can get the name of the table... as below...

for each (var obj:Object in myArray)
{
for (var str:String in obj)
{
If (obj [str] is array)
{
var arrayName:String = str;
}
}
}

Thank you

Jean Claude

Tags: Flex

Similar Questions

  • How to get the particular record last

    Hello

    I want the query because if a particular record available when enter as a last record.

    Ex,

    name
    ----------
    s
    t
    h

    but t is always the last record. How to get?


    Thank you
    Alphadi.

    Welcome to the forum.

    Do you mean you want to 'h' to appear as the last record?
    Try:

    SQL> -- generating sample data:
    SQL> with t as (
      2  select 'h' name from dual union
      3  select 's' from dual union
      4  select 't' from dual
      5  )
      6  --
      7  -- actual query:
      8  --
      9  select name
     10  from   t
     11  order by case
     12             when name = 'h' then 2
     13             else 1
     14           end;
    
    NAME
    --------------------
    s
    t
    h
    
    3 rows selected.
    
  • How to get the row of Table data in the pop up window

    Hello world

    I'm working on Jdeveloper 11.1.1.4 and I got a requirement when there is a delete as a column in a Table in the ADF. When the user clicks on delete button that I need to display a confirmation message "You want to remove from the Table" OK CANCEL.

    If the user clicks the OK button, then I need to update the value of last_update_by to the one who connects and then deletes the line from the user interface but at the level of the table of database, that line will be there.

    Do I want to get the line given in the confirmation message pop-up and to add rowdata.setAttribute(last_update_by,'') in the class of the action of the OK button.

    I could get the rowdata table in class action OK button but when I do rowdata.setAttribute(last_update_by,'') that class action it gives me null pointer exception.

    Can someone help me with valuable suggestions?

    Thank you

    You may need to check {: identifier of the thread = 2223878} thread

  • How to get the line object table View

    Hello

    I use Jdev 11.1.1.7

    My requirement is, there are two ways I can get lines in my logic, you're based getFilteredRows (RowQualifier) and vo.executeQuery () - on a specific condition or I should consider first or later...

    getFilteredRows() returns the line [], I need to find a way to make [Row] of the View object properly after ececuteQuery() on the VO... When I use vo.getAllRowsInRange () which returns only a single line, but what iterate the VO even, I see that there is more than one line... How can he get all the range of the VO table?

    Thank you

    You can set the size of the field-1?

    ViewObjectImpl (Oracle ADF model and Business 10.1.2 API components reference)before calling getAllrowsinRange?

  • sorting table, how to get the new index of the last value?

    Hi all!

    I use a Subvi, which adds a cluter of the parameters to an array and then sort this table by one of the parameters in clusters.

    It works very well, with examples, that I found in this forum

    but now, I would like to know if it is possible to obtain at the end of the new cluster index first added.

    See attached VI

    Thank you

    You take the size of the table and insert the new element to this level is anything other than the table of construction and a simple construction would do that.

    In your question, I assume you're asking on the index of the item that you inserted after the sorting of the table, right? In this case, you can compare the cluster element that you introduce to the initial with the cluster table you get after a sorting of the table. This will give you the index of the item that you insert at the start.

  • How to get the value of a particular column column name?

    Hi all

    How to get the column name for a particular column value.
    example:

    create table test (ID number, col2, col3 varchar varchar);

    Insert into test values (1, 'true', 'false');
    Insert into test values (2, 'false', 'true');
    commit;

    I want to choose the name of the data column 'true' with id = 1;

    That is to say) while waiting for answer is "col2". pls help someone.

    This might help:

    DECLARE
       c1 SYS_REFCURSOR;
    BEGIN
       OPEN c1 FOR
       SELECT col2,
              col3
       FROM   test
       WHERE  id = 1;
       --
       FOR c IN (SELECT rownum rn,
                        t2.column_value.getrootelement() name,
                        EXTRACTVALUE(t2.column_value, 'node()') value
                   FROM TABLE(XMLSEQUENCE(c1)) t,
                        TABLE(XMLSEQUENCE(EXTRACT(column_value, '/ROW/node()'))) t2)
       LOOP
          IF c.value = 'true' THEN
             DBMS_OUTPUT.PUT_LINE(c.name);
          END IF;
       END LOOP;
    END;
    
  • How to get the name of a page class in the apex oracle

    Hi all

    Can you get it someone please let me know how we can get the class of a page or area name in the oracle apex? I would also like to know how to get the DOM object for particular item ID.

    I appreciate any help on this.


    Concerning
    REDA

    If a category exists already, then you can find them by inspect element in firefox/chrome browser and look like to class = «MyClass...» »

    If there isn't one, then you can add via - point edit > attributes of the HTML Form element > class = "yourclass.

    See this http://www.w3schools.com/tags/att_global_class.asp

  • How to get the name of sbRIO programmatically

    How to get the 'name' and 'Comment' by sbRIO I write to sbRIO-9602 Max in the box of Identification (model, serial number, MAC address, name)?

    Use RT Information.vi of target is located under the range of public services under LabVIEW Realtime.

    Christian

  • How to get the name of the bluetooth device and the name of the bluetooth device address device class?

    Hi all

    Can I know how to get the bluetooth device name and the name of the bluetooth device address device class?

    Example:-if my bluetooth device address is :-98:EB:CD:01:1F::90 then how do I get my bluetooth device name?

    I hope you understand my problem. Let me know as soon as possible.

    :

    Thanks for the reply.

  • How to get the number and the name of the contacts selector

    Hi all

    I got the Contact Picker work but I have no idea how to get the selected telephone number and the name.

    There are attributes that I can put like contactId.value () to retrieve or there is another way?

    Thanks in advance.

    ImageButton{
                        defaultImageSource: "asset:///images/bluebutton.png"
                        onClicked: {
                            contactPicker.open();
                        }
                        attachedObjects: [
                            ContactPicker {
                                id: contactPicker
                                onContactSelected: {
                                    result.text = "You chose contact: " + contactId;
                                }
                            }
                        ]
    
                    }
    
                    Label {
                        id: result
                        text: "You chose contact: "
                    }
    

    Hello

    You can get the contact name and phone number as this,

    ImageButton{
                        defaultImageSource: "asset:///images/bluebutton.png"
                        onClicked: {
                            contactPicker.open();
                        }
                        attachedObjects: [
                            ContactPicker {
                                id: contactPicker
                                onContactSelected: {
                                    result.text = "You chose contact: " + contactId;
    // call a cpp method to get the details
    
    app.getDetails(contactId); } } ] } Label { id: result text: "You chose contact: " }
    

    the CPP code:

    void ContactDetails(ContactId id)
    {
    Contact contact_info = m_contactService->contactDetails(id);
    
        QString firstName = contact_info.firstName();
        QString lastname = contact_info.lastName();
            QList phoneno_list = contact_info.phoneNumbers();
    
        QStringList no_s;
    
        foreach(ContactAttribute attr, phoneno_list)
        {
            no_s << attr.value();
        }
    }
    

    You can get details like this.

    Kind regards

    Naresh Kodumuri.

  • How to get the host name of the physical computer inside a virtual machine until the user logs in Windows?

    I don't know if this is the right place to post this question, I develop software to support VMWare PCoIP and need to know how to get the host name of the physical machine (which manages the virtual machine and View Client) within a virtual machine before the user logs in Windows of the virtual machine.

    I understand there are two ways to read the host name, via the HKEY_CURRENT_USER\Volatile Environment registry and environment variables, but they are available once the user is connected. I need info before the user connects.

    Is there a VMware API that can be called or asked the host name?

    Thank you.

    Not on the broker, but there are the startup scripts to log on to the computer virtual itself: http://pubs.vmware.com/view-52/topic/com.vmware.view.integration.doc/view_integration_startsession_script.9.2.html

    Note that these executed when a virtual desktop computer allocated connection, not to the point that the client connects - it is possible for the customer to not complete the connection (crash, cancel, network failure) and so any what solution you design must handle this.

    Mike

  • How to get the name of the server (hostname) vCO.

    Hello.

    Someone know how to get host name or IP address of the server vCO in a workflow running on this server? Is there any kind of property, or this method returns the host name of the local host?

    Thank you.

    Try this:

    function getVcoHostname() {
        var answerUrl = workflow.getAnswerUrl().url;
        var re = new RegExp('^(?:f|ht)tp(?:s)?\://([^/]+)', 'im');
        return answerUrl.match(re)[1].toString().split(":")[0];
    }
    
  • How to get the Base name of the executable process

    Hi all
    I have a problem for the creation of SQL AnyWhere Plugin (Database Plugin). In this regard, ServerDetector class long pids [] = getPids ("State.Name.eq =?"). Instead of question mark that I place. And how to get the name of this executable process.

    Thanks and greetings
    Florent K Reddy

    Take a look at the doc following if you have not already:

    http://support.Hyperic.com/Confluence/display/Sigar/PTQL

    State.Name is the name of the base of the executable of the process, such as "dbsrv9.

    On 16 May 2007, at 23:24, fredo Reddy wrote:

    Hi all
    I have a problem for the creation of SQL AnyWhere Plugin (Database Plugin). In this regard, ServerDetector class long pids [] = getPids ("State.Name.eq =?"). Instead of question mark that I place. And how to get the name of this executable process.

    Thank you & best regards
    Florent K Reddy

  • How to get the LOGO and company name in the theme of the 4 apex

    Hello

    I use the theme 4 for apex 4.0.2.
    I must have the logo as well as the name of the company the two, but when I select den Image it shows only the image in the dashboard and when I select den text it shows the name of the company.
    How to get the two logo and the name of the company?

    Thanks for your help.

    Kind regards
    Sébastien Pallav.

    Pushpesh Pallav says:
    Hello

    I use the theme 4 for apex 4.0.2.
    I must have the logo as well as the name of the company the two, but when I select den Image it shows only the image in the dashboard and when I select den text it shows the name of the company.

    The word is spelled 'then', not 'den '.

    How to get the two logo and the name of the company?

    Select the text, and include HTML, making reference to the image in the text:

    
    

    The image src URI used depends on the location of the image, which you have failed to specify.

  • How to get the computer name - forms 10g

    Hello

    How to get the name of the server or some other identification forms 10g Application?
    We have several servers and host load balancing redirects user to the X Server and the forms application, I have to get information from the server to which the user was redirected? Is there a way how to do?

    It can be the name of the server, Ip or other identifying information...

    Thank you.

    As the client that connects to the database is the application server

    CHE_TEST@tcp_asterix_impl> select sys_context('userenv', 'host') from dual;
    
    SYS_CONTEXT('USERENV','HOST')
    ----------------------------------------------------------------------------
    LINZ\CHE-WS
    

    Should return you the host name of your application server.

    See http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions165.htm#SQLRF06117 for more information you can get with sys_context

    see you soon

Maybe you are looking for

  • Why a vulnerability with Adobe Flash Player?

    I understand that there was a problem with the latest version of Adobe Flash Player and thought that Adobe had made a patch with the latest 0296. When I've updated, however, status of Mozilla plugin tells me that there is a vulnerability. Someone els

  • New laptop password AC power to the battery when you play a game.

    I got an IdeaPad P580 (i7, HDD 750 GB, 8 GB of ram, nvidia gt 630 m) a few weeks ago. A week ago I started having this problem where whenever I play a game, he's going off the AC power and the battery or vacillates between the two. He did this in Gra

  • Cannot find how to program the mouse buttons

    Windows 7 has detected my Cherry optical mouse 5 buttons, but I can't find how to (re) programming of the buttons, i.e. one of them gives the double-click function.

  • New virtual local network not accessible from the vpn

    Cisco ASA 5510 helps static routes.  I created a new vlan internal and added the path correct for the ASA.  Internally the vlan is fully accessible, but when I connect to the VPN I can't communicate with the systems in this regard. The access policy

  • Cannot find the Windows Media Player 12 point 8.1 of Windows.

    Original title: WMP on my computer. HELP, PLEASE "Win 8.1 running. My comp. I can't find WMP 12! Please advise what I 'can' hurt / dominating. Thank YOU, a senior.