DataSource can be something unknown or custom. Its properties are not validated.

Hello

I found what looked like what I tried to do... data sources of QML.

So I find this documentation: https://developer.blackberry.com/cascades/documentation/device_platform/data_access/using_data_sourc...

I followed him all the way. But when I run my application, I get my app but no list in it. The background is white. All my items tabs and actions show. Than no list!

DataSource {
                            id: dataSource
                            source: "assets/countries.json"
                            remote: false
                            onDataLoaded: {
                                dataModel.insertList(data);
                            }
                        }

There is an 'i' next to the data source implementation in the IDE that says: "DataSource can be something unknown or custom. Its properties are not validated. »

 

So, what gives, ideas?

Never mind. I will answer.

The source must not have the 'active' before the json file. The API reference clearly states: in QML, this path is compared to the document QML in which this data source is declared.

 

My json file in the current folder, so was not need to prefix it.

Tags: BlackBerry Developers

Similar Questions

  • Hotmail account: I can't receive e-mail from addresses that are not already in my contacts list

    I can't receive e-mail from addresses that are not already in my contacts list, for example the library.  My account has been hacked recently, and I have informed Windows CE.  I then installed Avast security.  Since only known e-mail senders spend their emails.  Help, please.

    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    It seems that Avast is blocking messages from anyone not in your contacts list (much too tight fixed).  Disable the function of checking email and see if that solves the problem.  If so, run it without the option of e-mail enabled - it does not really help as long as you take normal precautions (as not to open attachments from people you don't know / trust and things like that).  If you don't know how to disable this feature, contact technical support Avast (I do not use the product so I don't know how, but it's probably under Options or something like that).  If this does not work, try to go to Microsoft Security Essentialshttp://www.softpedia.com/progDownload/Microsoft-Security-Essentials-Download-131683.html where I know that this problem is not happen and see if that solved the problem.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Can I fix? My custom paper sizes are displayed in a random order!

    I use 2 CS on a Mac.  I created about 40 custom paper sizes.  They appear in a random order on the menu drop down.  Is this normal and is there a way to organize them?

    Thanks for any help.

    Yes, the enumration of the custom page formats are controlled by epson driver.

    Thank you

    Florian

  • Read VeriStand channel from inside the custom device that are not part of the custom device?

    Is it possible to read VeriStand channels from within a custom device VeriStand (RT Driver) that are not part of this custom device?

    For example, suppose I want to be able to configure a channel in my custom device to always be twice the value of a string of material that my user selects (I know, better/more simple ways to do this, but this is just a simple example ).  Can I do this from the device custom without programmatically create a mapping of the system? (I've done this before and it is messy and VERY prone to error of the user).

    Thank you!

    good point

    the channel ID (U64s) are not the same in the engine config of vs. Instead, you must set 'references to dependent item' in the config and then get these references in the engine.

    See the source jarrod linked, which makes it

  • How can I make Vista compatible with games that are not compatible with vista?

    I've heard that I can update vista to play games that were previously not vista compatible (in my case lego creator), but how do I go about this?

    Hi horsesprite,

    You can try to run the application in compatibility mode.

    Check out the link below to run the game in compatibility mode:

    http://Windows.Microsoft.com/en-us/Windows-Vista/make-older-programs-run-in-this-version-of-Windows

  • Why can't access my control panel its says class not registerd

    Whenever I am trying to access my control panel it says class not registered: {26EE0668-A00A-44D7-9371-BEB064C98683

    This anomaly can be solved with the installation of Vista Service Pack 2.

    About how to obtain the latest service packs for Vista, please see Microsoft KB935791atricle.

  • I have several computers I need to reinstall the xp/vista os in and it tells me when I put the codes on computers that the cd keys are not valid, how can I solve this?

    I had to wipe the hard drives on these systems, valad codes exist on computers, I received a message that my system vista s code was wrong also, I could entered the wrong one, because it is a laptop that has been around the world a couple of times on a submarine with me, if the thumbnail has been somewhere and I can't tell if it's a q.o , or a c.

    What can I do about it?

    Ive been fixing computers for a few weeks now and I'm starting to think that if I wipe the hard drives with a nuclear weapon that program its easier then in case of problems the problems generated by my children,.

    Ive still 3 more fix, but this last one won't let me in him and the custom of vista, that either, I left my vista ultimate go on this one and put xppro on it, I don't like vista and I wanted to do that for a while, is there anyone to call, I can take photos of computers or video , or start a webcam, to provide evidence of the stickers,?

    Dan Falcon

    yellowbronco

    MS/CS/SS USN - Ret / tell.

    Hello

    You can access the link that provides information on how to identify, locate, and replace a product key

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

  • Can't restore Vista backup - backup zip files are not recognized, on external hard drive

    I backed up my files with Windows Backup, which divide into 200 MB zip files.  Now I am unable to restore the backup because it is not recognized when I try to use the backup to restore.  It's on an external hard drive and Windows for some reason any do not recognize.  I tried to move it to the desktop, but it is not always recognized as a backup.  I tried to use the advanced restore, windows recovery, and it won't work.  Must the file with the zip files be in a specific location on the disk so that it can be recognized, or should it be named something specific?  Please help me, I really need these files.

    Hello

    Refer to this link and try the steps proposed by Divya.

    http://social.answers.Microsoft.com/forums/en-us/w7repair/thread/00aea6aa-5aac-4647-BA6B-24eac423da66

    It will be useful.

  • Remove custom roles that are not in use

    I have a bunch of custom roles, I have created and not any user permissions.

    I want to automate the removal of roles (I'll submit a CSV with the list of roles and use Remove-ferrule) along with a check that confirms that the role is not in use. Is there a check available cmdlet/script that the role is not in use.

    I used PowerCLI 4.0 U1 208462

    Try something like that.

    When you are sure that the correct roles are selected for deletion, remove the WhatIf parameter.

    $hashTab = @{}
    Get-VIRole | %{
      $hashTab.Add($_.Name,$_)
    }
    Get-VIPermission | %{
      $hashTab.Remove($_.Role)
    }
    
    $hashTab.GetEnumerator() | where {!$_.Value.IsSystem} | %{
      Remove-VIRole -Role $_.Value -Confirm:$false -WhatIf}
    
  • Its results are not redirect to the respective pages


    Hi all

    I configured ITS Peoplesoft peopletools 8.53 and ELM 9.2 instance.

    After you have everything configured, ITS search results arrive correctly but is you click on it, it is not redirecting to the respective pages.

    This is to show the error on the page in the status bar of Internet Explore.

    Could you please help me to solve the problem.

    Thanks in advance.

    AJMAL

    Hello

    Probably you are encountering the problem that is described in this document of knowledge "My Oracle Support":

    Doc # 1551951.1: Search 'Results list' contains links that do not work because they are built with the incorrect URL

    Here is the solution:

    ------------------------

    Make sure that the content/portal URI are set correctly on all nodes the.  This can be done as follows:

    1. connect to the PeopleSoft application

    2. go to PeopleTools Integration Broker, integration configuration, nodes

    3. sort by "Local node".

    4. for any node where "node Local = 1' do the following:

    a. set up the node

    b. go to the tab "portal."

    c. ensure that the text "URI Content" and "Portal URI text" are properly defined.

    For example, if your Integration Broker is on myserver.mycompany.com:8000 and your site is called hcm, you would use these values:

    Text of the URI of the content = "http://myserver.mycompany.com:8000/PSC/hcm /"

    Portal of text URI = "http://myserver.mycompany.com:8000/psp/hcm /"

    (Write it down "/" at the end of the values.) Make sure you remember that)

    d. make sure this change is made to all nodes. For example, for HCM, this aspect should be defined for nodes PSFT_HR and HRMS.

    5. after making the above changes, you need to rebuild the search index. Do this as follows:

    a. redeploy all the definitions of research that were built with the incorrect URL as follows:

    -Go to PeopleTools, research framework, Administration, deployment/delete the object

    -Box next to the definition of inactive research

    -Click "undeploy".

    -Once finished, check the box next to the definition of research and this time click "deploy".

    b. rebuild search indexes

    -Go to PeopleTools, research, Administration, research agenda Index

    -Bring the command run to perform a build of the full Index and launch it.

    c. Once finished the process ' Building for Search Index ', re - test and verify that the problem is solved.

  • Customs add captions are not displayed correctly

    Hello

    The default captions in Breeze have a minimun height that is often times too large. If I have one of these files BMP resize and save a copy, everything works fine and I have a new legend with a reduction of the minimum size.

    What about new legends. Seems easy, create a file in a drawing program such as Photoshop, make a custom legend and save a BMP file. However, once you add it to your project, you get nothing. Why should I get new legends? Well, I need an image that lives on a screen to disappear when I want it. So, I want to put a legend of big WHITE reversal over the image when the user moves the mouse in a certain area. Oh, the movie is paused.

    Help!

    Thank you lisa what would you say of new legends. What would you say of new legends.

    Wow,

    I found a solution! I think that if I use a click instead of a rollover caption box, I will be able to use the Captivate timeline to do what I want. The only draw back is that the learner can access information only once when they click, because they cannot go back in time or a specific image.

    The only other way to solve this problem is to perform the interaction across multiple slides where I have duplicate information.

    Lisa

  • Firefox 4 for MAC: How can I sort the bookmarks by name that are not in the files?

    Solution in site and forum, Firefox does not work on Firefox 4 for Mac, i.e. Control View-Sidebar-bookmarks, etc.

    All the Favorites are in folders.

    • The Bookmarks Toolbar folder stores the bookmarks that you see on the (view > toolbars >) Bookmarks Toolbar.
    • The bookmarks Menu folder stores the bookmarks that you see in the menu bookmarks and create via ' bookmarks > bookmark this Page "or" bookmark this link "in the context menu.
    • The Unsorted Bookmarks folder stores which inserts created bookmarks by clicking on the star on the right end of the address bar.

    You can right click on a such main folder (root) to sort the bookmarks in that folder.

    You may need on Mac:

  • Custom properties are not displayed on the data portal

    In my version of return of DIAdem (2011), there are features to display personalized data portal properties. If selected by right-clicking on the data portal properties would appear under the root, the group or channel where they were stored. So far I have not been able to find this menu in 2014 DIAdem. This feature has been removed?

    Hi DIAdemUser1,

    In fact, this feature has been removed.  R & D wanted caused more confusion than benefit, and I agree.  I'm sorry for you and others who liked the feature that has now disappeared.  When tiara 9.0 released custom in the data portal properties shows their data types, but this feature has been removed in favour of simplicity.  I often miss this feature, but it's for the greater good.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • I changed the network settings of 'area' to the 'task force '. Now all (admin too) user passwords are not valid. How can I access my computer?

    Microsoft support suggested to reinstall the system, as the security policy does not allow to reset the admin password.
    From my point of view, their security policy is useless when you get out of HD and put in another machine. All the data is yours.
    My concern is to avoid the reinstalling all software as well as custom settings. Even if you saved all the files of configuration, it may still take some time.

    Hi Novina,

    Please see article about your question:

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

    I hope this helps!

  • Whenever I click on an icon on my desktop, it opens the Windows Photo Gallery. How can I solve this problem? The icons are not the normal image.

    The title says it all. I can't even use run to open programs.

    Hello

    This should help you.

    'Restore. Association of exe in Windows 7/Vista after incorrectly associating it with another program"

    http://www.Winhelponline.com/blog/restore-exe-file-Asso-Windows-7-Vista-incorrectly-associated/

    "When you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program.

    Run the Mr.Fixit here or you can use the manual method it y to correct yourself

    http://support.Microsoft.com/kb/950505/en-us

    And also, read information please.

    'Change the programs that Windows uses by default'

    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

    See you soon.

Maybe you are looking for