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).

Tags: Java

Similar Questions

  • 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!

  • 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.

  • Problems of ADF Mobile generating the file API

    Hello

    I created a demo with ADF Mobile application. Now, I have installed XCode on my Mac and configure the directories except the part of the certificate. When I try to build the application I do not get an ipa file. When I deploy on the Simulator, I get a file *.app. How do I generate the ipa file or how I can convert this app file to an ipa file and deploy it on my iphone.

    Concerning

    As described in many articles and guides you need an Apple Developer account for it.
    http://docs.Oracle.com/CD/E35521_01/doc.111230/e24475/deploying.htm#CHDIJDGE

  • 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

  • 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);
    
  • 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.

  • 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 :-)

  • 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 ;-)

  • ADF security - get the list of users to a given role

    Using Jdeveloper 11.1.1.7

    In my grain of support, I'm wanting to send an email to all members of a particular role,

    How can I get a list of users in a particular role?

    Thank you

    Hello

    If you apply LDAP, this method, it might be useful:

    Public Sub beanMethod()

    {

    SearchResponse sr = null;

    IdentityStore idStore is JpsContextFactory.getContextFactory () .getContext () .getServiceInstance (IdentityStoreService.class) .getIdmStore ();.

    SimpleSearchFilter filter = idStore.getSimpleSearchFilter ("ROLE_NAME", SimpleSearchFilter.TYPE_EQUAL, userRole);

    SearchResponse = idStore.search (new SearchParameters (filter, 1)) rolesResponse;

    String email = null;

    If (rolesResponse.hasNext ())

    {

    RoleProfile rp = (RoleProfile) rolesResponse.next ();

    SF ComplexSearchFilter = idStore.getComplexSearchFilter (new SimpleSearchFilter [] {}, ComplexSearchFilter.TYPE_OR);

    Try

    {

    RS = rp.getGrantees (sf, true);

    }

    catch (ObjectNotFoundException exception) e

    {

    }

    If (sr! = null)

    {

    While (sr.hasNext ())

    {

    Identity ID = sr.next ();

    If (id! = null)

    {

    email = ((User) id) .getUserProfile () .getBusinessEmail ();

    your code

    }

    }

    SR. Close();

    }

    }

    rolesResponse.close ();

    }

    RFH.

  • ADF Mobile get the Audit of client data

    Hello!

    Is there a way to get the user phone OS-version, IP, location, etc.?

    Thank you!

    You can get the location with the GPS function.

    You can get the other info phone through the device properties - http://docs.oracle.com/cd/E37975_01/doc.111240/e24475/amxbinding.htm#CHDIFEFF

  • [ADF Mobile] Get the Type of OS

    Hello


    Is it possible to get Java Version of the OS, if Android or iPhone?

    It's easy actually.

    DeviceManager device = DeviceManagerFactory.getDeviceManager();
    String os = device.getOs();
    
  • ADF Mobile installation problems

    Hello

    I installed Jdev 11.1.2.3.0 and made a ' check for updates ' help and checked/downloaded the mobile extension ADF 11.1.2.3.39.62.76.1. I checked packages navigating using-->--> about tad of extensions and to have made that I do not see the "ADF Mobile Framework" package. I can see 'ADF Mobile Client Page Design Time', 'ADF Mobile Help', "ADF Mobile Page Flow Design Time". I also cross checked to see if I can create a page by using the New-Gallery Assistant AMX, and I am unable to see ADF Mobile in the list. Also, when I click on tools-> Preferences, I see not the ADF Mobile node in the tree view under ADF BC.

    pointers?
    your

    Hello

    File--> New--> Applications

    should show a Mobile Application (ADF) input. If it is not there then the installation of the extension failed (have you restarted the IDE after installation of the extension)?

    That's what I see when you select Help--> on--> Extensions

    ADF Mobile Client Page Flow Design Time oracle.adf.pageflow.nmc.dt 11.1.2.3.39.62.76.1 loaded triggers
    Framework Mobile ADF oracle.adf.mobile 11.1.2.3.39.62.94 Fully Loaded
    ADF Mobile oracle.adf.mobile.doc 11.1.2.3.39.62.94 Fully Loaded help
    ADF Mobile Page Flow Design Time oracle.adf.pageflow.mobile.dt 11.1.2.3.39.62.76.1 Fully Loaded
    Oracle ADF Mobile oracle.wireless.dt 11.1.2.3.39.62.76.1 loaded triggers

    Frank

  • ADF MOBILE: how to add an item in the list without refresh the entire list

    Hello

    I am using this method to add an item to a list (I've already added the item to the data model):


    providerChangeSupport.fireProviderCreate (String providerKey, int newRowKey, object newValue);


    I don't want refresh the entire list, rather, I want to just add a new item to the list, that's why I want to use this method.


    I want to know, what value should I use for the second argument? i.e. 'int newRowKey '.


    Thank you


    Hello

    the event of change of provider in your case seems to actually create a new line. So the int is the rowKey (index PK or line) of the new line. There is no other choice to simply add an element to a list (ADF Mobile provides no component handles)

    See: Embedded Java/ADF for beginners: ADF Mobile: refresh your valuable data

    Frank

  • ADF Mobile: Want to reuse the moving components of the adf.

    Hi all

    I need to use an application mobile adf newly created in an existing App. I want to use data controls to the new application in my consuming application to create some pages that I tried to do by FAR of the draft view controller of the new application, adding the FAR to my former PPP as a library... I am referring to 4 definition of a Mobile Application (version 2.0.0.0.0).

    Ideally, I should get two options when adding library (FAR)-

    1 application library

    2 ViewController project.

    But I'm only option 1.


    Jdev version: 11.1.2.4

    ADF Mobile version: 11.1.2.4.39.64.71

    Is the problem with the jdev m using an older version of the MAF.

    You are looking at documentation, Oracle MAF but working with ADF Mobile.

    You must migrate ADF mobile at the CRG as soon as POSSIBLE, and then you will get the functionality you need.

    No reason to stay with the old Mobile ADF which is not supported any longer, migration to the MAF should be smooth.

Maybe you are looking for

  • Why Firefox 10 insists on saving images (jpg, png, gif) like filename.extension.rb?

    Once I've upgraded to Firefox 10, when I try to record images, for example, the firefox - 54 x 62 PNG on this page, Firefox offers you to save the image under "firefox - 54 x 62 .png .rb" with the type of image "PNG image".

  • Design of the Basic module

    Hello We did a report generator using the structure of objects of LabView. The ancestor to the printer object talks and childs produce the content of the report. This makes us able to add/edit reports without breaking other features in the code. Now

  • Hard drive failure code

    I get a start up screen that says the current system repair. When I made a F2on start upward, I ran a quick test. The results were disk failure hard short dst.Failure, I'd do it: q09ks4-6le76t-xd7wwj-60th03Product, I would do it: d1c68ua #abaHard dri

  • Defrag

    Why my hard drive will not completely defrag? I get a report saying that some files can not be defraged. He works about 14% and then I get the same report. Phil

  • Does anyone know the email of material?

    Been trying to contact the support for replacement of material stuff, I went through assisted online report, but when I go to my "incident" report, it sends me into a loop cause, I'm trying to return a Microsoft Lifechat LX-3000 headset. I tried to f