Getting the list of Custom Component ListView

Hello

I'm trying to figure out how to get the 'checked' property of a custom component of QML.

Basically, it's the same as the first example on https://developer.blackberry.com/cascades/documentation/ui/custom_components/index.html

This is a list, with a listItemComponents, whose type: "item" contains a check box and the label.

I have an ActionItem whose job is to take all elements that are enabled and do something.

The ActionItem triggers a C++ code that should get this list.

Problem is, I can't figure out how to get the selected items. I tried the selected() function but it returns empty.

I have to turn this into a multiple selection?

I got so far is the back of GroupModel, after selection, but this does not include anything other than what I fed in the first place. Which makes sense.

There are a lot of similarities between this issue and the other. Should help to my code and comments in this post, I think: http://supportforums.blackberry.com/t5/Cascades-Development/LstItemComponent-doesn-t-track-the-model...

Tags: BlackBerry Developers

Similar Questions

  • Get the list Favorites WebCenter portals for a user

    Hello

    I have a requirement to show a page customized in my ADF application Favourited list or of recent WebCenter portals of the logged in user.

    WebCenter Portal version is 11.1.1.8.

    Anyone know how I can use the WebCenter portal API to get the list of Favorites/recent user portals?

    Kind regards

    Onkar

    or you can get it from database. Connection of a webcenter schema. You can also create the ADF BC and get access to database data.

    Second option, you can search for webcenter Portal rest api

    http://docs.Oracle.com/CD/E29542_01/WebCenter.1111/e27738/wcadm_rest.htm#WCADM6679

  • Is there a way to get the list of open URL of file (.dmp) incident, mdmp [NOT BE]

    Hello

    My Firefox session crashed, which was little in private meetings. I have the mdmp (.dmp file) dump file saved. Is there anyway that I can get the list of URLS open in private in windows.

    If so, how to read the file OR open it for debugging.

    Kind regards
    bnrsubs

    All data are kept in memory during the session in incognito mode and will never be saved on the hard disk, so these data are available for normal use and things like restore closed tabs and windows and cookies still function as in a normal session, but this data is deleted from all the private browsing mode Windows Open (tabs) are closed.

  • How do you get the list of bookmarks affixed permanently on the left side of the screen?

    I managed to get the bookmarks permanently open and displayed in a vertical column on the left side of the screen. I accidentally closed and cannot get it to appear again. How do you get the list of bookmarks permanently opened and displayed again? Thank you.

    You can enable or disable the power bookmarks bar by ' display > lateral bars > bookmarks "or Ctrl + B

    You can enable or disable the sidebar story power by ' display > lateral bars > History "or Ctrl + H

    Press the F10 key or press the Alt key to bring up the 'Menu Bar' temporarily if the menu bar is hidden.

  • Libretto U100 Bluetooth error message indicates - getting the list of files fail

    Hello

    I try to connect my Libretto U100 Bluetooth to a new Sony Ericsson mobile software Bluetooth for exchanging information.

    I can connect and see the files on the mobile phone, but when I click on the folders, there is an error message indicating "getting the list of files doesn't have."

    New drivers must or is there something else I need to set up at all?

    Previously, I was able to connect to any other mobile phone with no problems.

    Thank you in advance for help you.

    Hello

    I m sure that it s is not a Bluetooth problem or a cell phone if it s possible to connect Sony Ericsson and other mobile phones. Unfortunately, I'm not very familiar with this laptop but I found this site with FAQ on your mobile phone.

    http://www.Ericsson.com/Contact/FAQ.shtml
    http://www.Esato.com/Help/FAQ.php

    In addition, you should check the manual of the phone. I sure you will find a description of m

    Good luck

    Good bye

  • In Windows Media Player 11 when spend to add songs, how get the list to stop starting at the top?

    With WMP11, when adding pieces of the current reading library, I often change between two tabs. My question is every time I switch back to the library to add more songs, tab how can I get the list to stop starting at the top? I have a number of songs scrolling on there where I left last can be very inconvenient. I remember with an older version when you leave the library, that he would stay where you left it. Yet once, how can I stop the library always start at the top and instead pick up where I left off?

    Thank you very much

    Reinstalling wmp11

  • Cannot get the list of Ports on server using Powertool

    I try to get the list of Server Ports that have been activated on the FI-s using Powertool

    I use the below command and I don't get nada

    Get-UcsFabricServerCloud-Id "A" | Get-UcsServerPort - AdminState "enabled."

    Have tried without the additional options with no luck

    Get-UcsFabricServerCloud-Id "A" | Get-UcsServerPort

    The following command gives me a good performance

    Get-UcsFabricServerCloud-Id 'A '.

    On a whim, I also tried the below with no luck

    Get-UcsFiLanCloud-Id "A" | Get-UcsUplinkPort - IfRole 'server '.

    Any help appreciated.

    As for my other answer, you'd better start searching for the network element.  In this case, I'm looking for ports that are of the type "ether" and have an Interface to 'server '.

    PS C:\ucs > Get-UcsNetworkElement | Get-UcsFiModule-Id 1 | Get-UcsPortGroup-ether of Transport | Get-UcsFabricPort - IfRole Server | Select dn, peerdn, ifrole, operspeed | Format-Table

    Dn                                                PeerDn                                            IfRole                                            OperSpeed

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

    sys/switch-A/slot-1/switch-ether/port-1 sys/chassis-1 /-1/tissu/port-1 10 Gbps server location

    sys/switch-A/slot-1/switch-ether/port-2 sys/chassis-1/slot-1/fabric/port-2 Server 10 Gbps

    sys/switch-A/slot-1/switch-ether/port-3 sys/chassis-1/slot-1/fabric/port-3 Server 10 Gbps

    sys/switch-A/slot-1/switch-ether/port-4 sys/chassis-1/slot-1/fabric/port-4 Server 10 Gbps

    sys/switch-B/slot-1/switch-ether/port-1 sys/chassis-1 /-2/tissu/port-1 10 Gbps server location

    sys/switch-B/slot-1/switch-ether/port-2 sys/chassis-1/slot-2/fabric/port-2 Server 10 Gbps

    sys/switch-B/slot-1/switch-ether/port-3 sys/chassis-1/slot-2/fabric/port-3 Server 10 Gbps

    sys/switch-B/slot-1/switch-ether/port-4 sys/chassis-1/slot-2/fabric/port-4 Server 10 Gbps

    Hope that helps.  Let me know if you have any other questions.

    Thank you
    Eric

  • I would like to get the list of all devices on which my creative cloud has been activated for the last six months or a year

    I would like to get the list of all devices on which my creative cloud has been activated for the last six months or a year

    I do not think that information... Adobe titles represent the only link I know following your accounts, but not where the programs are installed

    https://Accounts.adobe.com/ , then click on Plans & products above to find a list of your programs and your serial numbers

  • Is there a way to get the list of hosts and its groups of belonging to the vCenter folder level in 5.5 web vsphere client plugin development?

    Hello

    I need to get the list of all hosts and its groups of belonging to the vcenter folder level.

    1. I created a view giving the extension point: vsphere.core.folder.monitorViews.

    2. After this step, I wrote the constraint as in my class of mediator,

    var ListConstraint:Constraint =

    QuerySpecUtil.createConstraintForRelationship ( _contextObject, 'childEntity');

    I was expecting a list of all child entities such as hosts, dc, cluster... But I have only the immediate child object which is only the Datacenter as my result.

    Is it possible to get all hosts and vCenter folder level Clusters because I need the entire list to vCenter (highest level).

    Other info:

    Object file has only two properties:

    1 childEntity - list of entities

    2 childType in-kind folder ('Virtual Machine', 'Data center'...)

    Is it possible to write a constraint specifying which list of childEntities I need using childType in.

    Example: Make Me childEntities that has a 'Host' and 'Cluster' childType but childType in doesn't have these two types.

    In addition, at this level, I could see the 'Associated objects' tab which has all the information I need, such as Clusters and Cluster tab hosts and host tab respectively.

    So, I think its possible to get this list to vCenter folder level.

    I have attached a screenshot representing the need. Kindly ignore the Conventions of naming in there since I edited the example comes with the sdk program.


    Query:

    1. How can I get the host and Cluster (table of relationship) list to vCenter folder level or even at the level of the vise.global.view?

    2. once I get this list, is it possible for me to manipulate that list and send the new list to IU?

    3. is there another way to do the same thing without the help of model classes and mediator?


    Pointers to this will be very useful.

    It is not possible to obtain all hosts a folder specific vCenter from a single query Data Manager.  You need to get the list of centers of data first and then get a list of data center hosts.

    It is best to make these repeated requests to the java level and return only the list that you want to the user interface.

    You can get all the objects in the host of the system with a simple query using a constraint with targetType = 'HostSystem', but you will need to eliminate those from other vCenter servers.  See how this chassis example queries all hosts the Java later in the getHosts() method: samples/chassis-app/chassisRackVSphere-service/src/main/java/com/vmware/samples/chassisRackVSphere/ChassisRackVSphereDataAdapter.java

    Another option is to use the vSphere Web Services SDK to browse vCenter. See the vSphere management forum for help on these APIs.  See this plugin of the sample using this SDK

    samples/vsphereviews/vsphere-wssdk-provider/src/main/java/com/vmware/samples/wssdkprovider/VmDataProviderImpl.java

  • How can I get the list of data stores in a cluster data store?

    How can I get the list of data stores in a cluster data store? I mean the command line option.

    Hello

    by command line, you mean PowerCLI?

    If so, you can display data with this warehouses:

    Get-DatastoreCluster-name DSClustername | Get-Datastore

    Tim

    Edit: Moved the thread to the PowerCLI community

  • Whence Acrobat get the list fonts it uses when you do OCR?

    Whence Acrobat get the list fonts it uses when you do OCR?

    For example, a picture came by using the font "Helvetica", which is not on my system.  So I know that it is not using system fonts to decide what font uses the image.

    In my view, it is likely to be integrated: learned and set at the factory. I don't think you will find that it uses your actual fonts.

    (Helvetica is STILL available for use in PDF format, it has a special status).

  • How to get the list of RDM?

    Hi all

    In our environment both of RDM is presented to different virtual machines in physical compatibility mode. It was very difficult for me to keep track

    Could you get it someone please let me know, how to get the list of the RDM presented to ESXI 5.0 host?

    Thank you!

    Ravindra Reddy

    Thank you... A P... for your response tools RV is the right tool, but I wanted to naa number of LUNS as well.

    After 2 hours, I had below power CLI command to get the list of the virtual machine.

    PowerCLI C:\ > Get - VM | Get-hard drive - DiskType "RawPhysical", "RawVirtual" | Select name, Parent, ScsiCanonicalName, DiskType | FL | Out-file C:\RDMlist.xlx

    Thank you!

  • Analysis of query and get the list of used tables

    Hi all

    I need to parse the sql query (simple & complex as well) and for a list of the tables used in the query.

    And need to validate the fact that list the tables against a whitelist that is kept in the file.

    I tried to write my own parser, because there are many ways to write complex queries, I'm unable to cover all scenarios.

    I need help, is there other ways to get the list of tables used in a query?

    Thank you

    Manon...

    In general you would add a condition 1 = 2 just to restrict the display of the entire table. Then should not be causing any noticeable performance degradation. You can even use ROWNUM< 2.="" that="" will="" do="" a="" count="" stopkey.="" which="" could="" be="">

    SQL > select * from emp where rownum<>

    no selected line

    SQL > select * from table (dbms_xplan.display_cursor);

    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------
    SQL_ID, 97f4bd002xfy0, number of children 0
    -------------------------------------
    Select * from emp where rownum<>

    Hash value of plan: 4269703525

    ---------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    ---------------------------------------------------------------------------
    |   0 | SELECT STATEMENT |      |       |       |     2 (100) |          |
    |*  1 |  COUNT STOPKEY |      |       |       |            |          |
    |   2.   TABLE ACCESS FULL | EMP |     1.    38.     2 (0) | 00:00:01 |
    ---------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    1 Filter (ROWNUM<>

    19 selected lines.

    But its always good to bench mark it yourself.

  • How to get the list of active users in Essbase 6.5.6

    Hi gurus,

    How to get the list of active users in Essbase version 6.5.6

    I can't find any Esscmd list of active users...

    I used the command LISTLOGINS in ESSCMD, but it did not help me...

    pls suggest me an approach to find the list of active users.

    Thanks in advance...

    Hi guru,.

    When you connect to the application, you will find the security option---> connect you will find active use in the ESSBASE.

    If you need the list of users in the use of ESSBASE that recommends essmsh

    go for the race---> essmsh---> login user server use this tribute

    (1) session view all this;

    If you want to export the active users usebelow congratulate.

    2)

    spool to 'D:\suresh.txt ';

    poster session;

  • How to get the list of files for a virtual machine?

    Hello

    Virtual machines can have their files distributed on several issues (even through several data warehouses).

    PowerCLI gives us an easy way to retrieve the data warehouse associated with a virtual (Get-data store) machine, but it doesn't seem to be a built-in method to get the list of all records where a given virtual machine stores all its files. Or maybe I'm just blind ;-)

    Can anyone offer an overview on how to achieve this?

    Thank you

    No, that sounds like a good idea to copy/back up virtual machines.

    I adapted the script. She now returns one row for each unique record

    foreach($vm in Get-VM){
      $folders = $vm.ExtensionData.LayoutEx.File | %{$_.Name.Split('/')[0]} | Sort-Object -Unique  $folders | Select @{N="VM";E={$vm.Name}},@{N="Folder";E={$_}}
    }
    

Maybe you are looking for