Do you want to receive article in ArrayDataModel

I need help. I want to get the value of the element of my ArrayDataModel, I have try many way like this:

Console.log ("category:" + categoryADM.value(0,["category_name"]).toString ())
Console.log ("category:" + categoryADM.data([0]).toString ())
Console.log ("category:" + categoryADM.value (0) m:System.NET.SocketAddress.ToString ())

but everything I get this:

Category: [object Object]
Category: [object Object]
Category: [object Object]

someone knows how to do this?

any "object" in JavaScript returns [object Object] when you call ToString)

what you really need, is a helper like this function:

    function printObject (object)
    {
        if (!object) {
            console.log("Object undefined: " + object);
            return;
        }

        var output = "";
        for (var prop in object) { //prop means "property"
            output += prop + ': ' + object[prop]+'; ';
        }
        console.log(output);
    }

and then just call

var indexPath = []
indexPath[0] = 0;
printObject(categoryADM.data(indexPath));

don't know if you really have to make this row thing, it works for me, and I forgot why I did it.

Tags: BlackBerry Developers

Similar Questions

  • I want to stop the banner asking me: you want to receive notifications from this site?

    Whenever I have search and get a new Web page with notifications that I receive an extremely irritating banner of Firefox: you want to receive notifications from this site? I must dismiss this by clicking the small x in the upper right

    I don't want any site notifications and especially I don't want Firefox to continue to ask. So, how can I stop this banner popping up?

    SF

    PS... Happy112 - just checked on my Windows 10 Tablet and it is exactly as you say, under options, etc., but there is no 'options' in the IOS and not "DND".

  • When sending e-mail you want to receive confirmation that they had received e-mail

    When sending e-mails I receive confirmation that he was delivered to their Inbox

    Unless you use an AOL account, this is not possible without having to install third-party applications. ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • From 8/24, most of my emails go directly in the trash instead of the 'Inbox '. I have some companies, like the Daily Herald, etc. that I want to receive.

    I don't know if it was the result of an update to Thunderbird if this problem started when I created a filter for unsolicited junk e-mail that I had received. When I clicked "Run", each email "in box" went in the trash, instead of just the item that I had highlighted. I then highlighted all of the trash and he returned to the Inbox. None of the items I've retrieved from the trash and you want to receive were among the 685 items listed in my filter of junk e-mail messages. I have no idea how all of these got messages filtered as trash. I had hoped the problem has been resolved, but as the day wore on, I noticed that almost every email I received still went straight to the trash.

    Examples of emails I love receiving: Daily Herald updates, Netflix, global market, Best Buy, etc. I don't have to demand for payments of invoices from the 8/24, but I have to assume automatic responses to planning a payment will also go to the trash. Even the Mozilla Support e-mail that was sent just when signing into my account went straight to the trash. There are several emails I want to keep to my file, so I don't want to close my account and start again. It seems personal friends messages are still in the 'box', but each business email goes directly to the trash if desired or not. The screening went to the extreme.

    The help section does not resolve this issue, so I am at a loss on how to solve this problem. It doesn't seem to be a process to do the opposite of message filtering. In the dream world, I would need to highlight the messages I want to receive.

    An overview of this issue would be most appreciated.

    Problem solved. I used Google search for my problem and found some very good information on troubleshooting. The last filter, I created for spam, I clicked on 'does not contain' rather than 'contains' and therefore each email message unique since that time obviously did not contain these key words, as they were going into the trash, I received!

    What a relief to retrieve new messages in the box in. Thanks Google and those who offered assistance to someone in the past.

  • Since TAlktalk failure cannot receive Windows LIve message reads 'you want to go to the line.

    Since the failure to Talktalk are not able to receive e-mails.  They sit in the website of talktalk and they are blocked by a sign saying:
    "you want to go to the line" I click on this button and it goes to the line for a second and then the same message appears.  It's driving me crazy.  can I delete Windows LIve and start again?

    Hi Lewis,

    I suggest you to contact the support of TalkTalk for more information about this.

    http://www.TalkTalk.co.UK/contactus/

    For more information related to Windows, feel free to post. We will be happy to help you.

  • In the mail app, if I try right click and open the attachments of the JPG files that I received, I get the message 'we are unable to open this file. You want to save and try to open with another application? »

    I received an email with 3 accessories, 2 images and 1 PDF.  I am trying to open larger photos and I get the message, "we are unable to open this file.  You want to save and try to open with another application? »

    Why can't click a picture in the mail app and have it launch a photo viewing application. ?

    What you need to do is to go to control panel > programs > by default of the programs > set your default programs. Or search for programs by default, which must raise I have right as well (just start typing on the splash screen or slide from left to right and click on the search button). Go to the photos and select set this program as default. This fixed it for me.

  • You want to enjoy your promo for creative cloud. I am currently a member. Will I receive?

    You want to enjoy your promo for creative cloud. I am currently a member. Will I receive?

    Hi Jlaite,

    Please go through the options & eligibility to

    http://www.Adobe.com/products/discount-software-coupons.html?promoid=KAWQR

    http://www.Adobe.com/products/creativecloud/FAQ.html

    Hope this helps you.

    Kind regards

    Baudier

  • I created a new Administrator profile and you want to transfer my old files. But I don't have access to them, how do I re - access?

    My local profile on my Dell's Inspiron Mini netbook has been corrupted, so I had to create a new profile, who is also a Director. This new profile is empty - none of the previous documents, photo previous or any other file. When I go to the discovery of all users, I see that my old profile is always under Documents and Settings. So I want to spend all my old data in there with my new profile. However, when I try to click on the link a message window appears indicating that the file is not accessible, and access is denied.

    Can someone please explain to me why this might be and if there's a way to redo the roster?

    In addition, if it is not possible for me to regain access to these files, what should I click to restart the entire computer. As new and fresh. These files take up half the space in the hard disk, and since then I can not enter in the what is the point of keeping them. So if there is no way for me to access my old files again, how would I go on my computer restarts?

    Facts in brief on my computer:
    -Windows XP system
    -Dell Inspiron mini laptop computer
    -Only had a main profile (type administrator, of course)

    I hope I explained my problem clearly, please excuse me if I don't. Can anyone help?

    Hello

    You can follow the article mentioned below to copy the data from the old profile to the new.

    How to copy data from a corrupted to a new profile in Windows XP user profile

    If you receive the same error then you can follow this article first.

    "Access denied" error message when you try to open a folder

  • You want to implement the master password. Instructions say go to the window/button firefox, options, tools, options, etc. I don't have these buttons on Firefox. ?

    attempt to set the password according to the instructions on your Web site; However, I do not think that I have a toolbar that you want to use. Who can I load on. I don't want to put on one that doesn't really work.

    In the left column of the article, under editing tools, you can select your version of Firefox and Windows, where you followed a link code for an older version. For Windows 7 + Firefox 40:

    https://support.Mozilla.org/KB/use-master-password-protect-stored-logins#Firefox:Win7:FX40

  • When I run mozilla or open a link in a new window but I get the page you want to load an additional page of the new tab opens with it, the difficulty?

    When I launch mozilla or open a link in a new window I get the page you want to load but an additional page of the new tab opens with her. I tried to change my homepage to different things (new tab, firefox home, see the blank page) but I always get a new additional tab to open. How can I get only one page to open it?

    Hello

    The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.

    Note: This will make you lose all the Extensions and preferences.

    • Sites Web open is not recorded in less than 25 versions of Firefox.

    To reset Firefox, perform the following steps:

    For Firefox versions prior to 29,0:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the "Reset Firefox" line

      button.

    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    For Firefox 29,0 and above:

    1. Click the menu button

      click Help

      and select troubleshooting information.

    Now, should open a new tab containing your troubleshooting information.

    1. At the top right of the page, you should see a button that says "Reset Firefox"

      . Click on it.

    2. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    3. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

    Thank you.

  • Cannot find view in the Application settings. You want to control the brightness.

    "Control the brightness of the screen on Firefox OS
    How can I control brightness manually or automatically?

    Adjust the brightness of the display using the display function in the settings app.

       Tap the Settings app and choose Display."
    

    Above are instructions for controlling the brightness in Foxfire. The settings application appears under Options and does ' t have display. I looking in the wrong place?

    Hi TheWeav, the article you mentioned is for the new phones of filed. Is your question about one of those or Firefox on your Windows XP system?

    Versions of Firefox for desktop computers do not have a brightness adjustment. You can adjust the brightness of your display using the global setting for Windows, which may include some special on your keyboard function keys or a Windows Control Panel.

    If you want only to adjust the brightness of the pages in Firefox - to moderate the white backgrounds, for example - you could try an add-on.

    You can find a good solution?

  • I forgot my secret question, answer and the second email but I have the password of my ID Apple and my phone number. I want to receive by email for my secret to my Apple ID issue because it is a gmail account. Please help me

    I forgot my secret question, answer and the second email but I have the password of my ID Apple and my phone number. I want to receive by email for my secret to my Apple ID issue because it is a gmail account. Please help me

    You have to ask Apple to reset your security questions. To do this, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.


    (139026)

  • I don't want to receive microsoft livecam anouncement

    I have SOULAGER ALL Microsoft Life Cam TIME announcement "the appeal of windows button only works with Windows Live Messenger 8.1 or later. You want to install Windows Live Messenger now? »

    I n ' want to receive this announcement all the time

    Hello

    Try the solution by Izblah

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-ECOMS/running-Windows-XP-Microsoft-LifeCam-popup-message/50afc2fa-d029-449a-bfda-5fc00fcf5964

    Solution re: installation and make the message

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-hardware/Microsoft-LifeCam-HD-5000-webcam-Windows-call/6fe59a1a-f5a3-46f5-af54-5e28845f369f

  • When I start my PC, and before you start I receive this message from InfoCenter.exe - Application error - the application is not initialate properly (0xc0000135).

    Original title: initialize 0xc0000135

    When I start my PC, and before you start I receive this message from InfoCenter.exe - Application error - the application is not initialate properly (0xc0000135). I just click OK and continue. Any problem? Is this necessary application?

    Walter Rodriguez

    E-mail address is removed from the privacy *.

    10/07/12

    14:57

    Hello

    1. do you receive this after you see Start button or entry?

    2 have you made any changes to the computer before the show?

     

    Method 1: Boot errors are fixed by the clean boot.

    Perform the clean boot and see if that helps.

    A clean boot to check if startup item or services to third-party application is causing this issue.

    Reference: How to solve a problem by performing a clean boot in Windows Vista or Windows 7:

    http://support.Microsoft.com/kb/929135

    Note: when you're done to diagnose, follow step 7 in the article to start on normal startup.

     

    Method 2: Some malware parody itself as InfoCenter.exe, especially when it is located in the folder c:\windows or c:\windows\system32.

    I suggest you make a system full scan just to be sure.

    Here is a link that will give you information on how to perform a full scan of the system:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    , Note 1: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Note 2: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

  • Error "windows cannot open this file. to open this file, windows needs to know what program you want to use to open it"appears just after the start on its own.

    After that I typed my password at startup, windows can not open this file. to open this file, windows needs to know what program you want to use to open it.  At this point, I have no one based on nothing and and messages appear literally on its own. I think it's done my computer very slow also.

    What can I do to fix this?

    It's a site file

    Hi Jose7777777,

    • What version of Windows are you using?
    • How long have you been faced with this problem?
    • Did you do changes on the computer before the show?

    Follow the suggestions below for a possible solution:

    Step 1: Start in safe mode and check if the problem persists.

    Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Step 2: If the problem does not occur in safe mode, you can put your system to boot (in normal mode) to solve the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    You can also view the startup folder.

    I hope this helps.

Maybe you are looking for

  • Joined the community of Apple support by mistake

    While trying to find the answer to a problem with iTunes, I joined the community of apple support by mistake thinking this, he had to join the blog.  I have little experience with support questions and desire to retire from this.  My email is now get

  • Can you xim3 get banned from black ops 2 xbox 360

    Hey, I heard countless rumors on this subject and I would like to know if it is true or not, and what is the right place to ask this question?

  • I need WinZip to open the files copied to cd?

    I copied some files on a dvd disc and cannot open it - what happened

  • Audio front panel

    Hi, I need help to connect my audio front panel wires. USB easier now but the audio are a pain. I like better those who have sons in a single connector. The son I have are all separate and they are: black GND, GND purple, L - in blue, red L-out, Mic-

  • Extension virtual memory for USB or Flash drives

    Is it possible to 'dated' material, like mine, to move virtual memory windows ' done ' HD to something much faster and cheaper as USB flash drives or camera cards? With a key USB 4gig runs about $10, which would leave my material limited 512meg CMOS