Refreshing a list of qnx

I display a qnx.ui.listClasses.List. When the user enters a new line in another form I want to refresh the list to display new data. What is the recommended strategy? Thank you

Add the data to the data provider object.  That he should automatically refresh.

var mylist.dataProvider.addItem ({label: "new element"});

Tags: BlackBerry Developers

Similar Questions

  • Question list of QNX

    Hi all

    Not sure how many people use QNX stuff, but I'm having a problem with the component List of QNX. I made a custom list by using this tutorial as a guide (creating a custom cell renderer engine)

    Tutorial of QNX list

    But I'm getting strange behavior when scrolling of the list to the bottom, it turns out a duplicate of cells below my list, see this screen below (embed the picture doesn't seem to work so there is a direct link)

    http://img641.imageshack.us/i/playbooklist.jpg/

    Has anyone else had a similar problem? The list is only added once but I use img.cache = CacheImageCellRenderer.cacheObject which I think could be the cause of the problem.

    Any idea is appreciated.

    Solved the problem, the silly mistakes that I was adding two lists. I'm debugging via the command window I use FDT so that's my excuse to miss my mark.

    See you soon.

  • Is it possible to refresh a list box?

    Hello experts,

    Anyone knowing a refreshing area list and conditionally hide/show items in a list?

    I have an Assistant in several steps. Step 2 is optional.

    When a checkbox is disabled in step 1, step 2 should be ignored and the user should immediately go to step 3.

    No problem so far. I can easily check the value of the checkbox and choose another branch after processing the page.

    For the convenience of the user, I would like to show/hide the list item in the wizard progress bar, which is a static, when list box is checked or unchecked.

    I took following steps to try this:

    1. Create item box P7_ADDIT_INFO
    2. Make list conditional element based on the value of the P7_ADDIT_INFO = 1 point
    3. Provide static ID listwizard on the region from the list
    4. Create dynamic action on the CHANGE of P7_ADDIT_INFO with the following JavaScript code:

    Apex. Server.Process (", {pageItems:"#P7_ADDIT_INFO"}, {})

    success: function() {apex.event.trigger ('#listwizard', 'apexrefresh') ;}}

    });

    Unfortunately, this does not work.

    I tried with the method of declarative to submit the question and update the region, but it did not work.

    I also tried with the ONCHANGE event on the text boxes and select lists but no effect no more.

    Is it possible that it is not possible in the APEX to refresh a static list box?

    Refresh a report-, the form - or the region HTML works fine with the same example.

    I created a very basic example of this on apex.oracle.com: https://apex.oracle.com/pls/apex/f?p=24102:7

    Thanks in advance for any help!

    Kind regards

    Bart

    Peeteba wrote:

    Anyone knowing a refreshing area list and conditionally hide/show items in a list?

    Updating of the region in the list is (a) overcomplicating things. and (b) is not possible. The obvious option is to use your condition on the element to control the appearance on other pages and simply to hide/show the step on the page with the checkbox control.

    I have an Assistant in several steps. Step 2 is optional.

    When a checkbox is disabled in step 1, step 2 should be ignored and the user should immediately go to step 3.

    No problem so far. I can easily check the value of the checkbox and choose another branch after processing the page.

    For the convenience of the user, I would like to show/hide the list item in the wizard progress bar, which is a static, when list box is checked or unchecked.

    I took following steps to try this:

    1. Create item box P7_ADDIT_INFO
    2. Make list conditional element based on the value of the P7_ADDIT_INFO = 1 point
    3. Provide static ID listwizard on the region from the list

    4 create a dynamic action on the CHANGE of P7_ADDIT_INFO with a Condition of "equal to" and the value 1, with an action to hide when the event is true and a Show action when it is set to false. Use a jQuery selector to identify the affected item:

    #listwizard.uVerticalProgressList ul li:nth-child(2)

    I created a very basic example of this on apex.oracle.com: https://apex.oracle.com/pls/apex/f?p=24102:7

    Please provide an example. There seems to be a problem with your static region ID and/or the model. I see the following in the source at the beginning of the region from the list:

  • Refresh the list of VIAccounts with PowerCli to select a newly created group

    Hi all

    I use a script that creates groups in Active Directory and connects to my server vCenter by using New-VIPermission. The trick is that it does not find the groups unless I restart the script (and so, I suppose, the connection).

    $My_Group = New-QADGroup -Name $My_AD_GroupName -SamAccountName $My_AD_GroupName -ParentContainer $My_OU -Connection $My_adConnection

    New-VIPermission -Entity $param_objects -Principal "Domain\$My_AD_GroupName" -Role ($My_Role.Name) -Propagate:($My_Role.Value) | Out-Null

    This script is going to create the group in my ad, but if you link to a new authorization in my vCenter, he'll be backNew-VIPermission Could not find VIAccount with name 'Domain\MY_GROUP_NAME'.

    When you restart the script, he will pass on the creation of group directly to the new VIPermission and properly bind to the vCenter object.

    I tried to add a waiting order, and a sleep of 5 seconds, but used to change one thing...

    How can I manage to reload and refresh the list of available groups without having to restart the vCenter connection?

    Thanks in advance!

    Well, I added the following:

    "while (!). "(() Get-VIAccount-groupe-nommer"REDOUTE_FRANCE\$ My_AD_Task_GroupName")) {Start-sleep - s 1}.

    And it works. Slow but it works

    Thanks, LucD!

  • Refresh the list of Presets in development settings?

    Is it possible to force a refresh of the presets list in the settings menu to develop?  I want to work around this problem:

    (1) right click on an image and select develop settings - a list of the presets in the CameraRaw/Settings folder appears in the submenu.

    (2) with the bridge remaining in the open air in the foreground, change the content of the presets in the CameraRaw/Settings folder (I do this with a jsx script in my case).

    (3) right click on an image and go again the parameters of development - the list is the same as the list in step 1.

    (4) give any other focus of the application, and then come back straight into the bridge.

    (5) right click on an image, select parameters of development again - this time the preset list reflects what is in the CameraRaw/Settings folder.

    It is therefore possible to force the bridge to refresh this list somehow in my jsx script?

    Sorry no, you cannot change a menu once it is created.

    You can access one of the elements in the development settings with...

    //Develop Settings > Camera Raw Defaults
    app.document.chooseMenuItem("CRDefault");
    //Develop Settings > Previous Conversion
    app.document.chooseMenuItem("CRPrevious");
    //Develop Settings > Copy Settings
    app.document.chooseMenuItem("CRCopy");
    //Develop Settings > Paste Settings
    app.document.chooseMenuItem("CRPaste");
    //Develop Settings > Clear Settings
    app.document.chooseMenuItem("CRClear");
    

    You cannot bring the focus to another application, but you can send commands to another application on Adobe using BridgeTalk

    You can deselect all the thumnails and select the ones you want to work, a few orders below might be useful...

    //change Bridge to folder
    app.document.thumbnail = Folder(Folder.desktop + "/myfolder");
    //de-select all thumbnails
    app.document.deselectAll();
    //select thumbnail
    var thumb = new Thumbnail(thumb);
    app.document.select(thumb);
    
  • Scroll the list of QNX

    Hello

    I study the QNX components to check/improve the performance of my Spark App (this is for background).

    So I try to use the list scrollToIndex method in order to view a new item added to the list:

    myList.scrollToIndex (newIndex);

    But it does not for the moment... I have no animation, and the new item is not in sight.

    (I check the using element status: myList.getIsCellVisibleAtIndex (newIndex))

    Does he know how to use this method in order to have an animation of the list smotth?

    Finally work!

    Short story: I was preparing a BUG report, my sample did not work as expected and suddenly after set/reset some settings, the list scrolls smoothly like a charm!

    So I do not know what is / was the problem, but I could apply a workaround using a fake timer (1ms is sufficient), in order to give sufficient time for the Tweener to 'know' the new content list:

    -updated dataprovider

    -wait (1ms)

    -invoke scrollToIndex()

    (I don't like to use the timer to random "wait" but... works great here)

    I don't know if it will work for all cases, I still don't know if it's a bug, or if it's the way I use QNX list inside a spark (by using QContainer of Renaun) project, but the workaround is easy and the result is very nice (as expected!) (Thanks to the QNX library).

  • CSS refresh after javascript DOM change (tab Ajax control) and also refresh the list of objects of Navigation

    Hi all

    When I access a Web page, that I created in the browser or Widget that uses an ASP.NET Ajax Control Toolkit Tabs the action of switching between tabs works well but the tab header does not reflect the change to display the active tab.

    In a standard browser of the tab header will be change / light tone based on the css classnames active Ajax control for settings changes dynamically in the DOM when switching between tabs and I was wondering if maybe the BB browser will not reflect/refresh css when changes on the client side affect the DOM? If that's the case (?) is there a way to force that change somehow?

    Also in the same direction and on the similar question I posted yesterday on switching between Navigation power user mode in a Widget, so javascript client-side dynamically is change the 'x-blackberry-focus' of a DOM object possible to have the change reflected in the Navigation objects? Or is the list of objects that can be traversed only generated load initial page and cannot change without a new post?

    Thank you

    Derek

    I solved the problem with the Ajax Control Toolkit TabContainer uisng having to do a "dummy" DOM change in the TabHeader after that the tab is passed between the tabs then forcing the refresh and repaint the tab headers.

  • ADF Mobile: Refresh the list

    Hello

    I have a list of Web Service and put a refresh on the screen button. I want to update the list when the user clicks the update button. I tried to do a flow control to himself, so he could have refresh the data, but it did not work. I put also updated forever in the links and cache to false, but it did not work. How can I make a button update so it will do exactly what it does as it initializes to view the updated list.

    Kind regards

    Have the button action directly call the Web service method again.
    (Essentially drag the method of the data on the button control to bind).

  • refresh the list of selection - keep value

    Hi all

    I'm having a problem where I don't have a solluion for. Maybe can someone help?

    The (Simplified) situation is as follows:
    There are 2 selection lists in my page:
    -one with articles (you see the name of the topic and the price). The source of this selection list is a query more ITEMS from collection.
    -one with countries (source is not important)

    When a user runs the page, the content of the selection with the items list is defined by a process that calls a procedure in a package to database; This package fills the collection of ARTICLES. So far so good. But when the user selects a country in the second, select list, the same procedure is called to update the ITEMS collection, because for some countries, the price is different. But how do I update the list of selection, while keeping the same selected article? When I run a dynamic action of refresh type, the value of the selection list is cleared. If I backup the value before updating the selection list and after refreshing, set the value of the selection list does not work or the other.

    I hope that the above is clear enough. Otherwise I'll set an example on apex.oracle.com.

    Thanks for your answer in advance!

    Edit: Version of the Apex is 4.2

    Edited by: tomvdduin, 3-dec-2012 0:16

    Hello

    The value of the P2_ARTICLES_BACKUP page element was not defined in the session state (as seen in the option 'session' in the developer toolbar).

    I changed the following:
    1. use of an action "Set the value" of the body of the function type pl/sql to update the value of P2_ARTICLES_BACKUP
    2 removed the last DA update the P2_ARTICLES value using javascript. It is not necessary. You had this code:

    $s('P2_ARTICLES',$v('P2_ARTICLES_BACKUP'));
    

    3. update the default value of P2_ARTICLES to & P2_ARTICLES_BACKUP.

    The changes described above solves your problem. Please test.

    Thank you
    Rohit

    Published by: jaouad khalifi on December 3, 2012 03:44

  • Not refreshing podcast lists

    This morning, podcast in iTunes 12.3.3 lists will not be updated. Even with iTunes on 10.7.5. The Podcast app on the iPad, iOS 9.3 update as expected. It must be a problem on the end of Apple, but the system status page shows no reported problem.

    CH-

    Deleting a podcast and resubscribing updates the list of episodes.

  • Control of VISA resource name: to refresh the list of COM ports programmatically

    When the application runs, and you first click this control, it takes 2 to 5 seconds to respond and complete the list for the first time.

    I would like to auto fill in the first time that the application is busy. Can I do this?

    Before allowing the user to click & Select resource VISA name, first use the 'VISA find resource' in your program to do the same thing & then allow or prompt the user to select resources.

    Given that loading EXE, it will execute the FIND VI-first & Labview will inform the resources available.

  • How to refresh the list of selection LOV

    Hello

    I use a search of VO show three fields as a, b, c.

    My query VO is selet 'a,' b, "double c.

    For these 3 attributes, I created three different LovVO with queries to display in the database.

    Select a from table1 - values of retrun as a1, a2, a3

    Select b from table1. - return as b1, b2, b3 values

    c select table1. -returns the values such as c1, c2, c3

    Based on the input parameters I am looking for data and I am also erase data from database using callable statement.

    For Eg: I select a1 lov of an attribute and search and click on delete button. record a1 will be deleted from the DB but it shows in the dropdown attribute one.

    When deleting, I want to update my list of selection.

    How can I do this? Please notify.

    Thank you

    1925321 wrote:

    I LOV VO'; attached s looking for VO.

    The method you gave, I tried to implement even in SearchVORowImpl.java and AMImpl.java

    This method should be in the SearchVORowImpl.java only and NOT in the AMImpl.

    Here is the screen shot of JDev 11.1.1.6, so you can see there is method get: ListBindingDefs()

    The lovs list - it is just java.uitl.List, so import that class in theSearchVORowImpl.java, or simply declare

    java.util.List lovs is getViewDef () .getListBindingDefs ();.


    Then go to the section Java in SearchVO and this method in the customer line to export Interface:

    Now you can add this method in the method of the pageDef and executables, as methodAction:

    Then simply call him when you need it ;-)

  • Skillbuilders Super LOV, refresh the list of SLOV values dynamically

    Hi, another question.

    I have 2 SLOVs. 1 is a relative of the 2nd.

    The first has its value dynamically for a reason any.
    I can not then dynamically change the value of the 2nd until the cascading effect is triggered by the opening of the 2nd SLOV via the button.

    If the page has LOV1 with value 'A' with LOV2 have child values "A1", "A2", "A3" available and I then proceed as follows

    $('#P1_LOV1).apex_super_lov ('setValuesByReturn', 'B'); (where B is a valid value)

    followed by
    $('#P1_LOV2').apex_super_lov ('setValuesByReturn', 'B1'); (assuming that B1, B2 and B3 are values of child for B)

    Then, it does not work.

    In fact
    $('#P1_LOV2').apex_super_lov ('setValuesByReturn', 'A1');
    $('#P1_LOV2').apex_super_lov ('setValuesByReturn', 'A2');
    $('#P1_LOV2').apex_super_lov ('setValuesByReturn', 'A3'); Still work, even if the parent is now wrong.

    So, basically, it seems that dynamically change the SLOV parent value is not triggering of the ripple effect that manually the SLOV itself chosen.

    Is it possible to force the list of values for updated after change dynamically children parent cascading?

    Concerning
    Mark

    Hi Mark,

    Some problems with the State of session here! Your lov EMP is limited to documents that match the DEPT value in session state. Initially this will be null and no value. Suppose you select a Department and send the page, so that the values are stored in session state. When you open the lov, employees would be only those for the Department which the value is stored in session state. Understand the State of Session, Oracle docs

    You were on the right track with cascading lists, but it breaks your choice by default features. So I've ignored this output, I don't want the default functionality. We need to do our own for this. Don't worry, not too!

    Off, when dept in the default settings or dept lovs changes because of a choice, the selected Department must first go to session state. This is necessary for the lov emp can find the correct records. So I added a dynamic action to fire on the change of P14_CHOOSE_DEFAULTS and P14_DEPT. The real action is a PLSQL code execution. PLSQL is always on the server side, and we can provide items to submit to the session state. The executed code is simply

    NULL;
    

    because we don't need to run anything, but P14_DEPT has the value that will be submitted to the session state when the call is made.

    With these changes, everything works. But EMP must be blanked when DEPT changes. Otherwise, you could spend DEPT autour but are not yet in a bad EMP.
    So I added another dynamic action that fires on the evolution of the DEPT and blanks in the EMP. No worries about default values, picking, because that won't change due to values only being edited
    javascript change events that are not performed.

    PS: don't forget to assign the answer useful/correct labels to messages that are :-)

  • Refreshing Flex list item

    Hello

    I'm coding application mini cat in Flex 3.0 with PHP & MySQL.  Can I insert data in TextInput, also I can get data from database, but I have a little problem. I added a timer to update the list item (List item becomes data in mysql). But I could not. I updated the ArrayCollection collection, but it does not work.

    Here are some application codes.

    " < mx:HTTPService id = 'db2' url = ' http://localhost/Flex/list.php "result ="resultHandler (event)"/ >

    [Bindable]
    var datalist: ArrayCollection collection;

    private void resultHandler(e:ResultEvent):void {}
    DataList = db2.lastResult.data.chat;
    lst.dataProvider = datalist;
    }

    < mx:List labelField = "tex" width = "322" height = "216" id = "lst" editable = "false" / >

    What should I do?

    Thank you

    Here is an example very dirty how do, he needs a lot of storage but I leave you for this

    Flex code:

    
    
    
        
            
        
    
        
            
                
                    {dataDump}
                
            
        
    
        
            
                
                    {newMsg}
                
            
        
    
        
        
        
    
    
    

    sendMsg.php

    
    

    getMsg.php

    ".$row["message"]."";
        }
    
    ?>
    

    This is the structure of database as well

    I tested it on my computer and it works quite well, so if it still does not respond, you have something else goes wrong.

    Also, note what happens when you remove the dataDump of the HTTPService.

  • Why Windows Explorer Refresh files list when searching?

    When I use Windows Explorer to search for files on my Dell PC, Windows XP, it updates every two seconds, and I search the files again. What causes this?  It is ongoing since the last update of Windows.

    Hello

    1. what windows update that you installed recently?

    Step A.
    Check to see if the problem exists in Safe Mode, if the computer works as expected in mode without failure, then we can solve the problem in the clean boot state.
    See the article below for the procedure safe mode in Windows XP
    A description of the options to start in Windows XP Mode
    http://support.Microsoft.com/kb/315222

    Step B.
    You need to perform a clean boot to find the program that is causing and then disable or remove.
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353/en-us
    Note: When you are finished troubleshooting, follow the steps as explained in the article to reset the computer to start as usual.

    I hope this helps.

Maybe you are looking for

  • Apple TV access codes

    Why AppleTV does not back to school already consulted programming access codes?  Is there a setting I'm missing that will allow continued access without returning to the network (food network, CBS, etc...) for re - check an access code before watchin

  • MacBook Pro connects to the network, but other computers will be

    As of today, my Macbook Pro (approx. 5-6 years running Yosemite) has had problems to connect to my network, even if the other computers connect very well. On the menu bar, it shows that I am connected with a signal strong. My only guess is that the h

  • How to make my blue response email (s)

    some of the responses to the emails I receive are in blue text is their a reason for this?

  • Wildcard in the rule Condition

    Hello I'm trying to code a condition in the rule ability to file alarm system for the particular file systems.  I will define a particular server in the definition of the rule for the rule brought to a server and I'll add code similar to the followin

  • Licensing terms when used as static linking

    I created a C++ application in which I use the static linking. The application uses the STL library. The executable file have copyright under license by Dinkumware, Ltd. and P.J. Plauger. What are the steps of license should I follow to send my appli