Oracle ADF refresh as deferred does not execute query on page load

In the oracle ADF page I have two panel boxes. (Oracle ADF 11.1.1.4)
a) Personal information panel box with PanelFormLayout (PersonalInfoViewObj) - ReadOnly View Object
b) Address information panel box with Table (AddressInfoViewObj) - Read Only View Object
For the iterators in a) and b) I have kept refresh condition as deferred and cacheResult=false. Also in b) for af:table, I have kept contentDelivery="immediate"
When page loads it fires SQL query for a) and populate the data in Personal information panel box. However for b) it does not execute the SQL query and the data is not getting populated ( in AddressInformation panel with the tables. Please note data is there in the DATABASE......)
Becasue with the refresh as deferred it was not executing the sql query for Panel b) (panel with Table and table iterator). I have tried refresh as always and refresh ifNeeded/renderModel/prepareModel however in that case it is executing the SQL query two times (twice).
Please let me know the best way to fix this issue.

Hi,
I think you need a method in an application module to init your data.
In your AM : create a method like :
public void init(){
getViewObject().executeQuery();
}In your adfc-config.xml create a methodCall from this method and a "control flow case" from the methodCall to your page.
and keep refresh as "deferred " in your pageDef.
Clément

Similar Messages

  • Cursor does not appear on Facebook page load. Spacebar shifts page down.

    Cursor does not appear anywhere on Facebook page load. It used to land in the first text box, and as I was used to this I would open an FB page and start typing. Nothing was entered into the text box, and when I hit Spacebar it shifts the page down.
    Couple of things:
    It acts this way both in normal and in "safe mode".
    It acts correctly on Google - it is my home page and when I open it the cursor is always in the search box. It also acts correctly on YouTube.
    The cursor DOES NOT appear in the URL bar (thankfully)
    The cursor DOES NOT appear in any text boxes on any other pages I open >> The Weather Channel, TED.com, Amazon.com
    The Spacebar scrolls the screen down one frame at a time.
    It has the same behavior with the "Always use the cursor keys to navigate within pages
    I am using FF 18.0.1 on Windows XP
    I have tried a lot of the weird tips and tricks suggested on this support forum, but none of them address specifically this issue.
    Thanks in advance.

    If I'm not logged on then the cursor is in the login form at the top.<br />
    Once logged in the main body has focus and not a specific element, so you have to click in an input filed to set focus to it.
    If it worked before then they have changed the code of that page recently and it is just a coincidence that it happened around the time that Firefox updated.

  • Table executes query on page load

    I have a popup in my page and a table in my popup...
    I use this popup for searching among records. When I render my popup, table comes with the sql suery results (invokes in popup load)...
    But I don't want the table come with the query results on load...I want table to list sql query results when I execute the search query.
    I want ; On load table as es empty,then When I execute, list query results.
    How Can I do this?
    Here is My sql query:
    SELECT KODU,ADI FROM TCARI WHERE UPPER(KODU) LIKE UPPER(:pk || '%') AND
    UPPER(ADI) LIKE UPPER(:pab || '%') AND UPPER(ADI) LIKE UPPER('%' || :pai || '%')
    Regards, islam

    Hi,
    option 1: Set the default value of the bind variable so that the query returns no result
    option 2: before launching the dialog (e.g. in a actionListener) set the underlying VO into find mode
    Frank

  • Urgent: executeQueryForCollection does not execute query for collection

    Some ViewLink detail views do not refresh when the master RSI navigates.
    Instead, it seems that a cached query collection is used.
    How can we control this behaviour? Under what circumstances does the rowset re-use an old QueryCollection instead of re-executing the query?
    It seems to work for some detail VOs but I cannot find a difference between the working and non-working VLs and VOs.
    This is a duplicate of
    Question about row-level ViewLink refresh
    More information is posted there.
    Thanks,
    Sascha

    Hi Sung,
    thanks for your answer. But I still don't get it.
    It's so erratic.
    I have a worklist with --- say 10 rows.
    Then:
    I navigate to every row and then back to the first row.
    Now I start an integrated application (with its own transaction and database connection) that produces a new detail row.
    I refresh the worklist, navigate back to the row.
    Then I go to the next row and repeat the same.
    Now, sometimes I can do all the stuff after "Then:" 100 times and it works every time. The detail shows the newly added row.
    Sometimes it works just 4 times, then it simply stops working. The newly added rows are not fetched.
    So what's the plan? Why does it work sometimes, and sometimes it doesn't?
    Why does it work for some ViewLinks and not for others?
    Second example: I have a tree binding. The top node has 4 children. Of course, JUTreeBinding uses RL-VLs to build the tree.
    Two of those children detail VOs show the problem all the time, the other two NEVER EVER.
    What's the plan? Why does it work for some VOs and not for the others?
    If this is really by design (I doubt it judging by the flakyness), then that means for us: get rid of ALL ViewLinks and replace them with this listener scheme. Is this really intended? This would be a nightmare. I cannot use VLs and listeners in parallel. How do I know that whether the VL already caused the execution -- this really happens! -- or not?? Is the solution to execute always twice? Where's the reduction in resource consumption then?
    What's the point in caching the query collection of 5 hours ago? Data can change in the DB in the meantime, can it?
    I tried to produce a test application based on Scott/Tiger but failed, because there, the VLs re-executed the query EVERY SINGLE TIME. No matter what changes I made with TOAD in the tables. Is this a bug then???
    And there is no way (setting, property) to control this?
    I am sorry, but I cannot believe that this is really intended. The idea is so ... weird.
    Sascha

  • Create Simple Form Execute Query on Page Load

    Hi Everyone.
    I have a simple question.
    I created a simple form using the wizard based on a table.
    The result - 2 pages - One with a report and one linked page for maintaining data in the table (click on edit icon on page1 and page 2 loads executing a query).
    My question is this: Where on Page2 can I find the variable that Page1 populated?
    Meaning, when page2 loads, it executes a query and uses a variable that was populated on page 1.
    I checked under processes, but cannot see the query. Also checked Region and even default value for the primary key.
    This is important to me, because I might want to create a simple form that executes a query retrieving all data from the table without a where clause.
    Sorry - New to this tool and environment.
    Any suggestions would be appreciated.
    Regards
    Barend

    Barend - Check the Automated Row Fetch process on the form page. The report link will pass the primary key value into an item on that page and the process will use the value of that item to fetch the row for the form. You don't see the actual query because it's all declarative, i.e., you "declared" that you want a form populated from a table. We know the item name containing the PK value for the query and we know which items to populate on the form page.
    Scott

  • Import oracle.adf.view.rich.event.DropEvent; Not Found

    Ok guys I have a problem. A large number of my imports are not found when I type them into my project. I am following a book and there is no mention of this happening so I have no idea what to do. I figure maybe it is about finding libraries and adding them to my view controller but I am not sure what libraries I should add.
    These are the things that are missing
    import oracle.adf.view.rich.datatransfer.DataFlavor;
    import oracle.adf.view.rich.datatransfer.Transferable;
    import oracle.adf.view.rich.dnd.DnDAction;
    import oracle.adf.view.rich.event.DropEvent;
    import oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding;
    import org.apache.myfaces.trinidad.model.CollectionModel;
    import org.apache.myfaces.trinidad.model.RowKeySet;
    I am hoping that someone out there can help me with this problem

    Here is a listing of all of the packages missing since this happened. Keep in mind Ive been using some of these packages with no problems for a while. Dunno what happened. Also I left out the corresponding errors that I'm pretty sure appeared because of this but if anyone needs a full error list I can post it no problem.
    Error(6,29): package oracle.adf.controller does not exist
    Error(6,41): package oracle.adf.view.rich.datatransfer does not exist
    Error(7,41): package oracle.adf.view.rich.datatransfer does not exist
    Error(8,32): package oracle.adf.view.rich.dnd does not exist
    Error(9,34): package oracle.adf.view.rich.event does not exist
    Error(11,51): package oracle.adfinternal.view.faces.model.binding does not exist
    Error(17,41): package org.apache.myfaces.trinidad.model does not exist
    Error(18,41): package org.apache.myfaces.trinidad.model does not exist
    Error(3,29): package javax.faces.component does not exist
    Error(4,27): package javax.faces.context does not exist
    Error(5,27): package javax.faces.convert does not exist
    Error(11,27): package javax.faces.context does not exist
    Error(12,25): package javax.faces.event does not exist
    Error(16,36): package oracle.adf.view.rich.context does not exist
    Error(22,41): package org.apache.myfaces.trinidad.model does not exist
    Error(3,29): package oracle.adf.controller does not exist
    Error(6,43): package oracle.adf.view.rich.component.rich does not exist
    Error(7,52): package oracle.adf.view.rich.component.rich.fragment does not exist
    Error(8,34): package oracle.adf.view.rich.event does not exist
    Error(15,29): package javax.faces.component does not exist
    Error(16,27): package javax.faces.context does not exist
    Error(18,35): package oracle.adf.view.rich.render does not exist
    Error(20,42): package org.apache.myfaces.trinidad.render does not exist
    Error(21,40): package org.apache.myfaces.trinidad.util does not exist
    I sincerely hope someone can help me out of this mess

  • ORA-29540: class oracle/jpub/runtime/dbws/DbwsProxy does not exist

    Hi ,
    We are getting below error while executing webservice from PL/SQL block. Please help what would be wrong in below code. Thanks in advance.
    ORA-29540: class oracle/jpub/runtime/dbws/DbwsProxy does not exist
    ORA-06512: at "SYS.UTL_DBWS", line 318
    ORA-06512: at "FUSION.ADD_NUMBERS", line 21
    29540. 00000 - "class %s does not exist"
    *Cause:    Java method execution failed to find a class with the indicated name.
    *Action:   Correct the name or add the missing Java class.
    PL/SQL Code
    CREATE OR REPLACE FUNCTION add_numbers (username IN VARCHAR, password IN VARCHAR)
    RETURN NUMBER
    AS
    l_service SYS.UTL_DBWS.service;
    l_call SYS.UTL_DBWS.call;
    l_wsdl_url VARCHAR2(32767);
    l_namespace VARCHAR2(32767);
    l_service_qname SYS.UTL_DBWS.qname;
    l_port_qname SYS.UTL_DBWS.qname;
    l_operation_qname SYS.UTL_DBWS.qname;
    l_xmltype_in SYS.XMLTYPE;
    l_xmltype_out SYS.XMLTYPE;
    l_return NUMBER;
    returnVal BOOLEAN;
    boolean_type_qname sys.utl_dbws.QNAME;
    string_type_qname sys.utl_dbws.QNAME;
    BEGIN
    sys.UTL_DBWS.SET_PROPERTY(l_call,'USERNAME','fusion');
    sys.UTL_DBWS.SET_PROPERTY(l_call,'PASSWORD','fusion');
    l_wsdl_url := 'http://adcdab06.us.oracle.com:10217/xmlpserver/services/PublicReportWSSService?wsdl';
    l_namespace := 'http://xmlns.oracle.com/oxp/service/PublicReportService/';
    l_service_qname := SYS.UTL_DBWS.to_qname(l_namespace, 'PublicReportWSSServiceService');
    l_port_qname := SYS.UTL_DBWS.to_qname(l_namespace, 'PublicReportWSSService');
    l_operation_qname := SYS.UTL_DBWS.to_qname(l_namespace, 'validateLogin');
    l_service := SYS.UTL_DBWS.create_service (URIFACTORY.getURI(l_wsdl_url),l_service_qname);
    l_call := SYS.UTL_DBWS.create_call (l_service,l_port_qname,l_operation_qname);
    sys.utl_dbws.set_target_endpoint_address(l_call, 'http://adcdab06.us.oracle.com:10217/xmlpserver/services/PublicReportWSSService');
    boolean_type_qname :=sys.utl_dbws.to_qname ('http://www.w3.org/2001/XMLSchema', 'boolean');
    string_type_qname :=sys.utl_dbws.to_qname ('http://www.w3.org/2001/XMLSchema', 'string');
    sys.utl_dbws.add_parameter(l_call, 'BI_Admin', string_type_qname, 'ParameterMode.IN');
    sys.utl_dbws.add_parameter(l_call, 'Welcome1', string_type_qname, 'ParameterMode.IN');
    -- sys.utl_dbws.add_parameter (l_call,returnVal,boolean_type_qname,'ParameterMode.OUT');
    sys.utl_dbws.set_return_type (l_call, string_type_qname);
    -- utl_dbws.add_parameter(l_call_, 'ubiNum', string_type_qname, 'ParameterMode.IN');
    --sys.utl_dbws.add_parameter(l_call, 'TEST', string_type_qname, 'ParameterMode.IN');
    --l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
    --<validateLogin xmlns="' || l_namespace || '">
    --<validateLoginInput>' || p_int_1 || '</validateLoginInput>
    --</validateLogin>');
    l_xmltype_out := SYS.UTL_DBWS.invoke(call_Handle => l_call, request => l_xmltype_in);
    SYS.UTL_DBWS.release_call (call_handle => l_call);
    SYS.UTL_DBWS.release_service (service_handle => l_service);
    dbms_output.put_line('WS Executed successfully...');
    -- l_return := l_xmltype_out.extract('//return/text()').getNumberVal();
    RETURN 11;
    END;
    /

    Check if this helps:
    ORA-29540: class oracle/jpub/runtime/dbws/DbwsProxy does not exist

  • Oracle.adf.controller.faces.context.FacesPageLifecycleContext not found

    Hi all,
    I am using JDeveloper 11.1.1.0 and I am trying to do an application about security.
    I have found some references on web and I have a bean that uses this line of code:
    FacesPageLifecycleContext ctx = (FacesPageLifecycleContext)event.getLifecycleContext();
    but on the line:
    import oracle.adf.controller.faces.context.FacesPageLifecycleContext;
    the debugger tells me: "class oracle.adf.controller.faces.context.FacesPageLifecycleContext not found"
    What's the correct class to import?
    Thanks

    Hi,
    not sure what you are doing - however I am not asking ;-)
    Try import oracle.adf.controller.v2.context.LifecycleContext
    Frank

  • Oracle/wh/runtime/server/Util does not exist - while creating runtime repos

    While running OWB Runtime Assistant, at about 60% completed, getting an error.
    Here is the last few lines from the log file:
    oracle.wh.util.DebugUtility: [processSPAWN]: wholeLine =..\..\..\jdk\jre\bin\javaw -classpath ../../lib/int/rtpplatform.jar;../../lib/int/rtpcommon.jar;../../../jdbc/lib/ojdbc14.jar;../../../lib/xmlparserv2.jar;../../../sqlj/lib/runtime12.jar;../../../jdk/jre/lib/rt.jar oracle.wh.runtime.platform.service.install.ServiceInstaller %host %port %serviceName %user %password
    Mon Feb 06 11:58:00 CST 2006
    oracle.wh.util.DebugUtility: after executing the output
    Mon Feb 06 11:58:00 CST 2006
    oracle.wh.util.DebugUtility: Runtime Platform Property Load Beginning...
    Mon Feb 06 11:58:00 CST 2006
    oracle.wh.util.DebugUtility: java.sql.SQLException: ORA-29540: class oracle/wh/runtime/server/Util does not exist
    Mon Feb 06 11:58:00 CST 2006
    oracle.wh.util.DebugUtility: [processSPAWN]: A spawned program error. Exception = java.lang.Exception: Error : java.sql.SQLException: ORA-29540: class oracle/wh/runtime/server/Util does not exist
    Mon Feb 06 11:58:00 CST 2006
    oracle.wh.util.DebugUtility: [processSPAWN]: Get the error, stop processing...
    Mon Feb 06 11:59:47 CST 2006
    oracle.wh.util.DebugUtility: Assistant operation is unsuccessful ...
    =========================================
    The database version is 9.2.0.4 on XP
    OWB version is 10.1.0.2 on the same XP host.
    I'd prefer NOT to change (upgrade or degrade) the versions of db and owb, as the same version combination works just fine in production, and I'm trying to create the same environment on my local PC.
    Thanks for your help.
    vr

    I did that and my output is all good:
    All PL/SQL packages and functions are valid
    Platform properties have been loaded correctly
    Platform location has been seeded correctly
    NLS messages have been loaded correctly
    The platform service is available
    PL/SQL procedure successfully completed.

  • Class oracle/jpub/runtime/dbws/DbwsProxy does not exists on 10g Rel2

    I trying using UTL_DBWS with samle from url http://www.freelists.org/archives/oracle-l/03-2005/msg00670.html in 10g Rel2 but I take error: class oracle/jpub/runtime/dbws/DbwsProxy does not exists .What I do incorrect?
    However, using web service in Oracle rdms very hard...May be exists simply example for dummies?

    Not really for dummies, but it may be a good way to get started:
    Oracle Database Programming Using Java and Web Services, by Kuassi Mensah.
    You have also the following resouces on OTN: Database Web Services.
    -- Eric

  • When I touch my iPad screen to execute an app, the screen goes dark then the app icon reappears. The app does not execute.

    When I touch my iPad screen to execute an app, then the screen goes dark then the app icon reappears. The app does not execute. Any thoughts?

    Try a Reset...
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    Basic troubleshooting
    From Here
    http://www.apple.com/support/ipad/basics/

  • Global succession updates are limited to 500 relationships. If more than 500 exist PLM presents a warning message and does not execute the update

    Global succession updates are limited to 500 relationships. If more than 500 exist PLM presents a warning message and does not execute the update.
    How/Where to increase the relationship count?
    The message which I can see :
    Warning:
    This specification has exceeded the number of parent relationships allowed by Where Used. The Where Used tool only supports up to 500 parent relationships.
    Thanks

    This really brings up a larger topic around change management.
    The questions you should start with is
    1. What kind of change is happening to the raw material? 
    2. Will this change affect anything upstream inside or outside of PLM4P? (Will this change affect nutrition, compliance, the ingredient statement, the label etc?)
    3. Who needs to approve this change?
    If they are non-material changes (changes that don't affect theoretical calculations, the ingredient statement, labeling, upstream systems that need to be notified etc) then you should be using get latest revision instead of global succession.   Get Latest Revision will automatically switch out the material with the latest approved version.  This logic is also configurable in case you need to add additional guard conditions.   We can also provide guidance around locking the get latest revision lock once a specification has reached the retired/obsolete state so changes won't occur for specifications in those statuses.
    If the changes to the raw material are material changes (changes that affect calculations, labeling etc) then the change should be reflected with a copy of the specification.  Dependent specifications then need to be re-issued so calculations can be performed and the appropriate workflow reviews can occur.   Smart Issue allows for filtering based on status and should let you re-issue in smaller blocks. 
    Let me know more about your change management strategy, how often large material changes happen and maybe example causes for those mass changes.  We can also schedule a change management training session for everyone where we can share our vision and tools available for change management.  This topic is quite large and generally requires a lot of business process discussion beyond just the tools available. 
    Thanks
    Kelly

  • User exit code does not execute

    I'm having a problem with User exit code that does not execute yet seems to be set up correctly.
    The User exit is implemented as FM "EXIT_SAPLIPW1_001" in function group XQSM.
    I've tried everything I know of with the CMOD and SMOD transactions, and I suspect some sort of transport error.
    The only clue I can find in comparing the development system (which works) with the test system (which does not work) is that running "Extended Check" in SE80 on function group XQSM fails with the following error:
    "The namespace of program SAPLXQSM has the setting "C" and cannot be tested."
    Has anyone any idea what could have happened?

    Let us try to retrace the steps.
    1. You created a Z project in CMOD and assigned the enhancement IQSM0001 and the component EXIT_SAPLIPW1_001 and activated the same. This is there in the transport.
    2. You double clicked on the include in the user exit and created it. You activated the code and included it in the same transport.
    If you did the above steps, then your user exit should be active in your test system.
    Can you please go to SE10, and list out the objects in your transport? You should see entries in there like below(not necessarily a complete list)
    R3TR CMOD <your project name>
    R3TR PROG ZXQSMU01
    See if you created any of the objects as local objects.
    Srinivas

  • ORA-29540:class oracle/pub/runtime/dbws/DbwsProxy does not exist

    Hi we are getting below error while calling UTl_DBWS package.
    Database version 11.2.0.2
    package definition
    create or replace function xxpvn_ws_test
    return varchar2
    is
      service_           sys.utl_dbws.SERVICE;
      call_              sys.utl_dbws.CALL;
      service_qname      sys.utl_dbws.QNAME;
      port_qname         sys.utl_dbws.QNAME;
      xoperation_qname   sys.utl_dbws.QNAME;
      xstring_type_qname sys.utl_dbws.QNAME;
      response           sys.xmltype;
      request            sys.xmltype;
    begin
      service_qname := sys.utl_dbws.to_qname(null, 'getJoke');
      service_ := sys.utl_dbws.create_service(service_qname);
      call_ := sys.utl_dbws.create_call(service_);
      sys.utl_dbws.set_target_endpoint_address(call_, 'http://interpressfact.net/webservices/getjoke.asmx');
      sys.utl_dbws.set_property( call_, 'SOAPACTION_USE', 'TRUE');
      sys.utl_dbws.set_property( call_, 'SOAPACTION_URI', 'http://interpressfact.net/webservices/getJoke');
      sys.utl_dbws.set_property( call_, 'OPERATION_STYLE', 'document');
      request := sys.xmltype(
           '<getJoke xmlns="http://interpressfact.net/webservices/">'
        || '<Category>Excuses-10</Category>'
        || '</getJoke>');
      response :=sys. utl_dbws.invoke(call_, request);
      return response.extract('//getJokeResult/child::text()',
        'xmlns="http://interpressfact.net/webservices/"').getstringval();
    end ;error message
    SQL> select xxpvn_ws_test from dual;
    select xxpvn_ws_test from dual
    ERROR at line 1:
    ORA-29540: class oracle/jpub/runtime/dbws/DbwsProxy does not exist
    ORA-06512: at "SYS.UTL_DBWS", line 144
    ORA-06512: at "SYS.XXPVN_WS_TEST", line 14
    Thanks
    Jitendra

    This error related to jave since its not installed in database user schema
    Logout of sqlplus and run:
    loadjava -u / -r -v -f -s -grant public -genmissing dbwsclientws.jar dbwsclientdb102.jar
    Check this
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=2264325

  • Root cause for  class oracle/jpub/runtime/dbws/DbwsProxy does not exist

    Hi,
    I am trying to use UTL_DBWS to call a webservice, adn getting a error " ORA-29540: class oracle/jpub/runtime/dbws/DbwsProxy does not exist "
    its going back and forth between me and operations , I aske them to load the package but still the script fails. Is there any way to confirm whether the package is loaded , like the below script
    as sys:
    select status from all_objects where
    dbms_java.longname(object_name)='oracle/jpub/runtime/dbws/DbwsProxy';
    Please help to find the root cause

    Please check if you have the grants on UTL_DBWS.

Maybe you are looking for

  • Windows 8.1 64 bit and USB 3.0 connection Error

    What a Nightmare to me after I have purchased my Probook 470 G2 with window 8.1 64bit and USB 3.0.  after my setup for my new laptop, there are 2 issues i am facing now: 1. my USB 3.0 external drive can work properly with my old window 7 laptop with

  • Issue with condition editor in integration process

    Hi, Now there is the chance to use this feature for the first time. Seems to be very easy.... No, it isnt! Variable  RETURN (type string) referencing to a field of a message structure is used for this condition: RETURN!="I001" So, if the variable doe

  • Why won't FrameMaker load some fonts? Word sees them!

    FrameMaker Fonts Not Being Recognized OS: Windows 7 FrameMaker (Structured): Version 10.0.2.419 Problem: We noticed that the PC I have does not include all of the client's fonts. We purchased the fonts based upon the Missing Fonts error FrameMaker (s

  • Applying patches to ACS 5.1

    Hi All, I hope some one can help out with this problem. I have an ACS 5.1 with the following S/W load Cisco Application Deployment Engine OS Release: 1.2 ADE-OS Build Version: 1.2.0.146 ADE-OS System Architecture: i386 Cisco ACS VERSION INFORMATION V

  • How do I delet unwanted picture folders in my I phone 5

    I Got tons of unwanted pics stored in my I phone 5 n I dont know how I can delet the so I can have more storage  the pics came automatically to my I phone off our laptop when I hook my I phone up to it to get started n now our laptop is broke so I fo