ADF page requery upon initiating/entering page

I am using JDeveloper 11.1.1.4.0 and have a page with a calculate with parameters table. It uses session variables in the parameters. How do I get the page to immediately requery when one changes from another page to mine. The other page is setting/changing the session variables, but currently I have to click on my execute with parameters button to get the correct information to show in the table. I tried changing the table content delivery to immediate, but this did not have the desired effect.
Edited by: Hoopestr on May 17, 2011 8:16 AM

Thanks for responding, but drag and drop it where? I tried it on my page with no effect. I have multiple pages with af:commandLinks to send a user to my page. Perhaps I have things set up wrong, but these pages are all on an unbounded task flow--all tied to some security that someone else wrote. It seems that somehow I should be able to independently and immediately execute the set of queries to build my treetable from with the fresh session variables.
Edited by: Hoopestr on May 17, 2011 8:16 AM

Similar Messages

  • Is it possible to call the Print Quote functionality from Custom ADF page

    Hi,
    We are researching if it is possible to call the Print Quote functionality from the Custom ADF application.
    Goal is to pop up the PDF report upon clicking the Print Quote button on the custom page. Is it possible ?
    Atleast advice on the direction to go forward is appreciated.
    Thanks
    Sai

    Hi ,
    Please check following thread on forum -
    Re: ADF: Calling OAF Page from ADF page
    Check this may also be useful-
    https://blogs.oracle.com/shay/entry/to_adf_or_oaf_or
    I have not tried yet but Steven Chan (Sr. Director OATG) suggest following methodolgy for this-
    https://blogs.oracle.com/stevenChan/entry/appsdatasource_jaas_ebs
    Thanks,
    Ashish

  • ADF pages autentication with OID

    How to authenticate ADF application against Oracle Internet DIrectory. We are using Oracle Application Server 10.1.2.0.2 and JDeveloper 10.1.2. Basically in a simple scenario, we will have a login page where the user will enter username and password. It needs to authenticate against Oracle Internet Directory and if successful, it needs to forward to the next ADF page.
    Thanks

    hi bala
    Maybe you can use the example code in CustomAuthorizationInUIStuff-v0.02.zip that I have recently posted in Re: ADF Faces: on page refresh, property is null. Why?, to work with together with the documentation.
    It has been created using JDeveloper 10.1.3.3.0, so I'm not sure how it translates back to JDeveloper 10.1.2 you refer to.
    success
    Jan Vervecken

  • Very urgent Decimal issue in ADF page

    Hello friends,
    i have an issue in ADF page which was weight field, issue has below.
    1) weight filed was validated that without entering 5 digit value in filed, example suppose i enter 12345 in weight it is showing that in small dialog box -weight value should be 0 to 9999.999 only. but it is let me to go next field and submit button. it is happening only in create page only.
    2)but when i go to detail page , same weight fild is populated there - i enter invalid weight something 12345, it is showing that in small dialog box -weight value should be 0 to 9999.999 only. but here let me not go to another filed until i ENTER valid value.
    create page weight filed need to work same as detail page.i am new to ADF development, how to check where this validation done and how to fix this.
    very very urgent.
    Thanks,
    vamshi.

    If you use ADF BC, open the entity and choose "Business Rules". You can then add validation rules such as range limits under the attributes. It is usually best practice to include validation rules in the entity (model layer), this way they apply automatically to all view objects based on the entity and you are guaranteed to have only valid values in the database. (View layer validation may have its place as a convenience supplement.)
    Read more about business rules in the developer's guide: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcvalidation.htm

  • ADF page integrated in OAF as a rich region.

    Hi,
    We are following the post https://blogs.oracle.com/jruiz/entry/embedding_adf_ui_components_into to embded the ADF region into OAF, we are facing a serial of issues here.
    Our ADF page is running on a different server and when we have tried adding the same page to our OAF page.
    Tried a different number of permutation and combination to make it working but all the time its throwing a error.
    This is we set up in the function call :: OA.jsp?targetPage=faces/http://10.117.155.5:7001/TestingExtenstionApps-ViewController-context-root/faces/page/DVTPage.jspx.
    oracle.apps.fnd.framework.OAException: Region could not be found in AK_REGIONS; RegionCode: RegionApplicationId: -1
    Thanks
    Vipin

    After a number of modifications , with OAF expertise (Which I am not :-( ). I am able to render the page with the button click in EBS.
    Now when I am using the same function in my region, I am getting the issue with IE, which is displaying that
    This content cannot be displayed in a frame
    To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.
    What you can try:
    Open this content in a new window
    ===========================================
    and when I am clicking the link provided, I am able to see my page.
    While in firefox there is no such error and region is rendering But with no content inside.
    Thanks
    Vipin
    Limitations gives you a reason to explore more. :-)

  • Error in Webservices Authentication from ADF Page

    Hi All,
    I have created an ADF page which calls secured web services deployed in another weblogic server.
    While running the ADF page from local host (weblogic server installed on my m/c) it is working fine and creating the connection to web services but when I deploy same ADF application to the development server it is not making the connection with web service and throwing below errors..
    I analyzed the issue and found that
    •     Connection from local host: while creating the data control for web services from jdeveloper, am providing some user credentials for http authentication, only then we can access the webservices.
    •     Connection from development instance: however these credentials are missing while making the connection to webservices from development instance. Probably these credentials are not getting passed/stored in the EAR file through which I am deploying the application.
    ERROR -
    [2011-03-10T02:41:41.051-08:00] [ManagedServerADF] [ERROR] [WSM-02054] [oracle.wsm.resources.policymanager] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: OracleSystemUser] [ecid: 0000IuVMrXxESOcLxis1yW1DUASn00000l,0] [APP: ADFMCOApproval] [arg: PolicyAccessService#oracle.wsm.policymanager.ejb.IStringPolicyAccessServiceRemote] Failure in looking up EJB component PolicyAccessService#oracle.wsm.policymanager.ejb.IStringPolicyAccessServiceRemote.
    [2011-03-10T02:41:41.053-08:00] [ManagedServerADF] [ERROR] [WSM-06108] [oracle.wsm.resources.policyaccess] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IuVMrXxESOcLxis1yW1DUASn00000l,0] [APP: ADFMCOApproval] Error initializing the Oracle WSM Policy Resolver because incorrect configuration is passed: {0} {1}.
    [2011-03-10T02:41:43.560-08:00] [ManagedServerADF] [ERROR] [] [oracle.adf.model.connection.webservice] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IuVMrXxESOcLxis1yW1DUASn00000l,0] [APP: ADFMCOApproval] Failed to execute a SAAJ interaction.
    javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized
    Please help me in resolving this issue…
    Thanks,
    Shuchi

    Another way would be to update Your Credential Store.Using wlst, you can use something like:
    wls:/DefaultDomain/serverConfig> createCred(map="oracle.wsm.security",key="basic.credentials", user="USERNAME", password="PASSWORD", desc="User credentials key")
    This adds the key basic.credentials to the map oracle.wsm.security with the username as "USERNAME". This entry will be stored inside <your domain>/config/fmwconfig/cwallet.sso.
    Thanks,
    Vishal

  • Referencing af:selectManyCheckbox w/ adf.PAGE.findComponentByAbsoluteId()

    I've been getting a null error when using adf.page.findComponentByAbsoluteId(). At first i was using document.getElementsByName(*direct DOM name in here*) but of course while it worked locally it wasn't working on other servers so I've been trying to get the AdfPage.PAGE.findComponentByAbsoluteId() to work. This is for my job so I can't post the complete code but I'll post what is necessary to understand what is going on. It's a .jsff so there is no af:document tag.
    I would like to access the below component as an array of checkboxes so I can go through it and perform some validation: disable the unchecked boxes if the number of checked boxes is above a constant, 7, but re-enable them if it goes below 7. I've been forced to use javascript because I don't see a way to see if an individual check box is checked or not. The number of checkboxes is allocated dynamically based on how many beneficiaries there are.
    <af:selectManyCheckbox id="letterSelectMany" value="#{giqdBackingBean.selectedBeneficiariesForPdf}"
    autoSubmit="true" clientComponent="true">
    <af:forEach var="bene" items="#{giqdBackingBean.eligibleBeneficiaries}">
    <af:selectItem id="letterBeneSelect" label="#{bene.firstLastName} (#{bene.associationReason})" value="#{bene}"/>
    </af:forEach> />
    Here is the javascript:
    <af:resource type="javascript">
    window.setTimeout(init,3000); // i was having trouble with onload for some reason but this seems to work for the moment
    function init() {
    var boxes=document.getElementById(AdfPage.PAGE.findComponentByAbsoluteId('letterSelectMany').getClientId()); // this results in a null currently
    for (var i=0;i < boxes.length;i++) {
    if(boxes.addEventListener) {
    boxes.addEventListener("click",checkBoxValidator,false); // one of these is for older versions of IE and the other is for other chrome/mozilla etc. but i forget which is which
    else if (boxes.attachEvent) {
    boxes.attachEvent("onclick", checkBoxValidator);
    function checkBoxValidator() {
    var boxes=document.getElementById(AdfPage.PAGE.findComponentByAbsoluteId('letterSelectMany').getClientId());
    var checkedBoxes = 0;
    for (var i=0;i < boxes.length;i++) {
    if(boxes.tagName == "INPUT" && boxes.checked) {
    checkedBoxes++;
    if(checkedBoxes >= 7) {
    for (var j=0;j < boxes.length;j++) {
    if(boxes[j].tagName == "INPUT" && ! boxes[j].checked) {
    boxes[j].disabled = true;
    else {
    for (var k=0;k < boxes.length;k++) {
    if(boxes[k].tagName == "INPUT" && ! boxes[k].checked) {
    boxes[k].disabled = false;
    </af:resource>
    So there you have it. Pretty simple stuff but I've been struggling to get it to reference the checkbox component in javascript. I had been using, var boxes= document.getElementsByName("r1:0:letterSelectMany"); , which worked just fine on my server but it doesn't work on other servers. Thanks for any input.
    PS: I had initially replied to relevant thread but I thought it was more appropriate and hopefully will get more attention as its own thread.
    Edited by: 976856 on Dec 13, 2012 2:45 PM

    Hi,
    var boxes=document.getElementById(AdfPage.PAGE.findComponentByAbsoluteId('letterSelectMany').getClientId());
    This assumes that the selectMany component is part of the form component with no additional naming container (e.g. pageTemplate, region, etc. involved). If you have a naming container between then the ID needs to be added upfront (note that the client ID actually returns the full ID string including the naming container). So check for naming containers and correct the ID
    Frank
    Ps.: The use of document.getElementById is not recommended and considered bad coding practice in ADF Faces. Just wanted to make sure someone mentioned this to you

  • Open file from ADF pages gives a problem

    Hi all,
    I have created with Jdev 11g an ADF page.
    In that page is shown a table with the files that are stored in the database.
    I use this code to show the file:
        public void showFile(BlobDomain  b,String filename){
            FacesContext fc = FacesContext.getCurrentInstance(); 
            HttpServletResponse response = (HttpServletResponse)fc.getExternalContext().getResponse();
            response.setHeader("Content-Disposition","attachment; filename=\""+filename+"\"");
            response.setHeader("cache-control", "no-cache");
            try {
                InputStream in;
                in = b.getInputStream();
                ServletOutputStream out = response.getOutputStream();
                writeInputStreamToOutputStream(in, out);
                fc.responseComplete(); 
            } catch (IOException e) {
                e.printStackTrace();
            } catch (Throwable e) {
                e.printStackTrace();
        }This works for the first time a file is opened. But when the user then selects a different row nothing is happening anymore.
    What can that be?

    Hi Simon,
    This is the button:
                      <af:commandButton text="Open file"
                                        binding="#{backingBeanScope.backing_pages_Meldingen.cb5}"
                                        id="cb5"
                                        disabled="false"
                                        action="#{backingBeanScope.backing_pages_Meldingen.openFile}"/>this is openfile:
        public String openFile() {
            BindingContainer bindings = this.getBindings();
            DCIteratorBinding iter = (DCIteratorBinding)bindings.get("XxahelpBezoekRapDocView1Iterator");
            Row currentRw = iter.getCurrentRow();
            showFile((BlobDomain)currentRw.getAttribute("Bijlage"),currentRw.getAttribute("Filename").toString());
            return null;
        }And how can I download in a popup??

  • Propagation of Credentials from ADF Pages to BPEL

    It is easy and straightforward to call web services from ADF pages. But I am a bit confused about the security issues around use of BPEL and OWSM with ADF.
    Suppose that I have authenticated against an LDAP to access an ADF page and the page make calls to a BPEL process through a button. As far as I know I should implement security in the web services through OWSM and in this case I can attach an agent to the web service to authenticate against LDAP. (or verify a SAML token)
    Problem: I can't pass credentials to the process from the page. the web service does not receive any SAML token, user name or pass word to authenticate.
    Also please read this for another view of the same problem:
    Security of Web Services, Agents and Sequantial Calling of Web Services
    How can I pass the SAML tokens(propagate identity) along the business process. If I insert SAML token as part of the agent's response steps, the response is not actually passed to the next service but the BPEL. Will the next service receive the SAML token?
    I really appreciate any comments and hints.
    Best Regards,
    Farbod

    Can message handler framework in BPEL Security extension help for this? Does enabling domain and process level security do the trick?
    Regards
    Farbod

  • Is it possible to Forward to another adf page in ReturnListener method?

    There is button in the page. It is used to pop up a dialog. After the dialog is returned. The ReturnListener of the button is triggered. I want to forward to another adf page in the ReturnListener.
    I searched the forum and found the following page:
    Re: Forward to another adf page from inside onPageLoad event
    I tried all the methods mentioned above, but all of them failed.
    Is there any other solutions?
    Regards,
    Jason

    I had the same problem with a return listener on a commandmenuitem. The navigation doesn't work because there is no partial submit.
    The workaround is to construct a menu item from a commandlink and objectimage. It looks and works the same as the commandmenuitem but you can set partialsubmit=true.
    For example:
    <af:panelGroup layout="vertical">
    <af:panelHorizontal>
    <af:objectSpacer width="10" height="10"/>
    <af:commandLink id="linkButIcon" useWindow="true"
    action="dialog:GoLinkedMatters"
    windowHeight="#{backing_app_ea_LinkedMatters.windowHeight}"
    windowWidth="#{backing_app_ea_LinkedMatters.windowWidth}"
    returnListener="#{backing_app_summary_DPSummary.linkedMattersReturn}"
    partialSubmit="true">
    <af:objectImage source="/images/link.gif"/>
    </af:commandLink>
    </af:panelHorizontal>
    <af:commandLink id="linkButLink"
    useWindow="true"
    textAndAccessKey="#{res['esolve.toolbar.links']}"
    action="dialog:GoLinkedMatters"
    windowHeight="#{backing_app_ea_LinkedMatters.windowHeight}"
    windowWidth="#{backing_app_ea_LinkedMatters.windowWidth}"
    returnListener="#{backing_app_summary_DPSummary.linkedMattersReturn}"
    inlineStyle="font-size:8.0pt;"
    partialSubmit="true"/>
    </af:panelGroup>

  • Is it possible to call OAF Page from ADF Page

    Hi,
    Is it possible to open E-Business suite OAF page from ADF ??
    Our requirement as follows:
    In ADF page have the Order Number as hyper-link, if user click on hyper-link we have to pass Order_Id and open OAF page of Order Management in E-Business Suite. This OAF Page has has the corresponding Order Line for given Order_Id.
    If this is possible, how authentication/security works between ADF and OAF. Is the user which as logged into ADF will authenticate in OAF Page also ? How it works ??
    Thanks in advance.
    Thanks,
    SrikS

    Hi,
    Hope following useful
    http://blogs.oracle.com/stevenChan/entry/oa_framework_or_adf
    ADF Call from OAF

  • ADF EBS Integration - How to open the ADF page in new tab or window

    Hi,
        We are building ADF custom applications and want to integrate them with EBS R12 (12.1.3) through Responsibilities and Menus.
    We have achieved session sharing and launching the Custom ADF app from EBS menu. The problem is, the Custom ADF page opens in the same page.
    Is there anyway to open the ADF application in new tab or window while launching from EBS Menu ? 
    Highly appreciate your help on this.
    Thanks,
    Ananthakumar

    Bhaskar,
    Refer old threads by searching for "new window" / "_blank"
    - Senthil

  • How to use programmatic VO objects in creating a Tree in ADF Page.

    Hi,
    I have two programmatic VOs namely Plan and Model. Even though functionally there is a Master/Detail (Plan --> Model) relationship between them, we are not creating any View Link as they are programmatic VOs. Requirement is to show this master/detail data as tree in the ADF page. Any pointer on how to achieve this?
    Thanks
    Edited by: user766455 on Jan 3, 2012 10:34 AM

    My question is not related Traversing Tree... my question is how to create Tree in the ADF page using programmatic VOs, which don't have master and details View Link.

  • Creating a adf page based on webservice data control

    hello
    i am using latest version of jdev 11g from otn.
    i created a VO based on EO and define a view criteria as well. i added that to a AM and exposed it as web service and deployed to a wls server.
    now i wish to created a adf page based on it so i created a ws data control based on the wsdl.
    in the data control section now i see service as findSearchOrder. When i try to drop it on the page it created a adf form with two input boxes findControl and findCriteria.
    So, I am not able to understand how exactly these are going to map to the actual search parameters?
    Please advise

    If you want to retrieve all records, you can set them to null.
    But of course, it depends on what you want to archive (I suppose you want a search form?).
    Please give us your complete JDev version. (Help > About > About tab)

  • Is this a bug for using DIV tag in adf page?

    I'm using the version 11.1.1.2.0. And when I write the adf page code with empty content in div tag like this :
    <div id="ex"></div>
    <othertags>123</othertags>Then the code in randered page :
    <div id="ex">
    <othertags>123</othertags>
    </div>Bug ?
    Edited by: Derek.Jaa on 2010-4-21 上午4:00

    Hi Simon
    Thanks for you help and I can't see the tag you suggested. Maybe you should make you code between tag, replace the [] with {} .                                                                                                                                                                                                                                                                                                   

Maybe you are looking for