Display of the Page based on values in the past items

Request Express 3.2.0.00.27

One one page, I have a selection list that displays a description and returns a (fairly common). The value is sent to another page as a hidden page element.
On the second page is a PL/SQL procedure that fills some pages of items based on the value of the hidden page element.

Here is the code:
if :P4_PASSING_CONTRACT_PK is null then
  null;

elsif :P4_PASSING_CONTRACT_PK is not null then

     select lu_dept_id, lu_emp_id, sm_dept_phone_no,
            sm_contr_name, lu_vendor_id
       into :P4_LU_DEPT_ID, :P4_LU_EMP_ID, :P4_SM_DEPT_PHONE_NO,
            :P4_SM_CONTR_NAME, :P4_LU_VENDOR_ID
       from summary_master
      where pk_sum_master_id = :P4_PASSING_CONTRACT_PK;
      
else
  null;
  
end if;
At run time, only the first value appears on the page in session state, however, all of the above values have the correct value inserted.
Please let me know if you need additional information.

Thank you.

In point (for all people) settings, you can try changing "source", of "Always, replace any value in session state", to "only when the current value in session state is NULL.

Published by: ThomasL March 18, 2011 17:08

Tags: Database

Similar Questions

  • Switch poplist display of the list item selected for its value of list item

    Is it possible to change the display in a poplist of the list item to its corresponding list item value?

    For example, I have a list item is filled with a group of records. Name of the country (e.g., Canada) is the list item, and the country code (e.g. CA) is the value of a list item.

    I want users to be able to see the names of countries, when the list is expanded. However, once users choose and click on a country, the country code must be included in the display.

    I suppose that if it is possible to do at all, he would be using a trigger a times-news-point-instance, but I do not know where to go to from there. Please let me know if you need clarification or more information from me. I'd appreciate any help you can give me.

    With the help of Oracle Developer Suite 10 G
    Version of Forms - 9.0.4.3.0

    Hello
    Welcome to the forum,

    Just an idea. Why you do not keep the country with the description at the time code. I mean, it's like you say you query group will be like this...

    SELECT code, description
    FROM table_name;
    

    So, I mean just change this query to concatenate the code with description. for ex.

    SELECT code, code||' - '||description as description
    FROM table_name;
    

    It will show you the code and the name in the list. So, it will not trigger etc.

    -Clément

  • [ADF, JDev12.1.3] How to change the image displayed in a page based on a parameter in the URL?

    Hallo,

    the index of my application page is called by the URL that ends with .../MyApplication/faces/index

    I want to add a parameter in the URL so that the picture in the page change based on this setting.

    The param doesn't have to be the name of the image file to display, but only a code.

    For example

    ? param = 1-> pathX/imageA.jpg

    ? param = 2-> pathY/imageB.jpg

    ? param = 3-> pathZ/imageC.jpg

    ...

    You could you kindly help me in this?

    Thank you

    Federico

    So if you have something like: .../MyApplication/faces/index?someParam=1

    You can use:

    Or you can link to custom as servlet: and then decode parameter and the return of this servlet image.

    Dario

  • Display message on page based jspx try-catch

    Hello
    I have this piece of code:

    public void createNewZoneFromGlobalsZone() {}
    SCZ CisloSegregacniZonyImpl = (CisloSegregacniZonyImpl) getDBTransaction () .createEntityInstance (CisloSegregacniZonyImpl.getDefinitionObject (), null);
    Line globalsRow = getGlobalsZone () such ();
    csz.setMinLength ((Number) globalsRow.getAttribute ("MinLength"));
    csz.setMinLengthProsecution ((Number) globalsRow.getAttribute ("MinLengthProsecution"));
    getDBTransaction () .commit ();
    insureOneBlankRowInGlobalsZone();
    }

    Now, I forced in DB MinLengthProsecution must be less than MinLength. When the user enters greater MinLengthProsecution automatic exception is called and displayed. But I want to display the post I write. I think that this can be done by some ADF component (Messages, maybe?) and the try-catch mechanism, but I don't know how. I tried to find some examples or maybe guideline, but I failed. Something similar to what I want is in the Java Developer's Guide in the chapter adding functionality to connect to the Application where it displays the message when the user enters the wrong credentials. But I just couldn't convert at my request. Thanks for nothing.

    OK, here is a code:
    Put this in your bean

        /**
         * Add JSF info message.
         * @param msg info message string
         */
        public static void addFacesInformationMessage(String msg)
        {
            FacesContext ctx = FacesContext.getCurrentInstance();
            FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_INFO, msg, "");
            ctx.addMessage(null, fm);
        }
    
        public void showInfoMessage(ActionEvent actionEvent)
        {
            addFacesInformationMessage("Hi I'm a message!");
        }
    

    This is the code of a button to put in your jspx:

              
    

    You will need to change to your_bean_name with the name of your beans.

    Timo

  • Pages based on the template is displayed in the preview

    Hi all. I am a newbie to Dreamweaver and I have a problem with a site that was NOT created by me, but asked me to make a few simple changes to various pages (ha!). I downloaded the previous files of designers (via ftp) and did not transfer anything from the original location. Whenever I open my .shtml files (all) and try to preview in a browser, nothing in the template files mode is displayed.

    For example, this is what I see in Dreamweaver (design mode):

    Picture 1.png

    and when I saw the file in Firefox or Safari, that's what I see:

    Picture 2.png

    I made sure the Styles of rendering/display/display Style is checked indeed.

    Any ideas why the model elements show not on the preview? I even created a new page based on the template with the same results. Just for fun, the code for the template file is below.

    Thank you

    Kim


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

    < ! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict / / IN" "http://www.w3.org/TR/html4/strict.dtd" > ""
    < html >
    < head >
    <!-TemplateBeginEditable name = "doctitle"-->
    < title > Coastal insulation LLC < /title >
    <! - TemplateEndEditable - >
    < meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 ">"
    <!-TemplateBeginEditable name = "head"->
    < name meta = "keywords" content = "" >
    < name meta = "description" content = "" >
    <! - TemplateEndEditable - >
    "< link href="/css/global.css "rel ="stylesheet"type =" text/css">
    "< link href="/css/section.css "rel ="stylesheet"type =" text/css">
    "< link href="/css/print.css "rel ="stylesheet"type =" text/css"media ="print">
    "< link href="/css/handheld.css "rel ="stylesheet"type =" text/css"media ="Pocket">
    "<!-[if lt IE 6] > < link rel ="stylesheet"type =" text/css"media ="screen"href="/css/ie6.css "/ > <! [endif]-->
    <!-TemplateParam name = "under title" type = "boolean" = "true"-> value <!-TemplateParam name = 'optional-lfContent' type = 'boolean' = 'false'-> value <!-TemplateParam name = "captionPhoto" type = "boolean" value = "true"->
    < / head >

    < body leftmargin = "0" topmargin = "0" marginWidth = "0" marginheight = "0" >
    "<!--virtual="/includes/masthead.ssi #include "-->
    <! - START content - >
    < div id = "content" >
    <! - left column of DEPARTURE - >
    < div id = "lfColumn" >
    "<!--virtual="/includes/lfNav.ssi #include "-->
    <! - left content optional START - >
    < div id = "lfContent" >
    <!-TemplateBeginIf cond = "_document ["option lfContent"]"--> <!-TemplateBeginEditable name = "optional-lfContent"-->
    the optional content < p > < /p > here
    <! - TemplateEndEditable - > <! - TemplateEndIf - > < / div >
    <! - left content optional END - >
    < / div >
    <! - left column of END - >
    <! - BEGIN right column - >
    < div id = "rtColumn" >
    <!-TemplateBeginEditable name = "title"--> < h1 > title < / h1 > <! - TemplateEndEditable - >
    <!-TemplateBeginIf cond = "_document ["sub-headline"]"--> <!-TemplateBeginEditable name = "Sub headline"--> < h2 > under title < / h2 > <! - TemplateEndEditable - > <! - TemplateEndIf - >
    <!-TemplateBeginIf cond = "captionPhoto"--> <!-TemplateBeginEditable name = "captionPhoto"->
    < ul class = "captionPhoto" >
    image
    Photo < /li > < li > legend
    < /ul >
    <! - TemplateEndEditable - > <! - TemplateEndIf - >
    <!-TemplateBeginEditable name = "bodyCopy"->
    Insert here the contents of < p > < /p >
    <! - TemplateEndEditable - > < / div >
    <!--> END right column
    < br class = 'clear' >
    < / div >
    <! - END content - >
    "<!--virtual="/includes/footer.ssi #include "-->
    < / body >
    < / html >

    Just a guess, but it seems that the site uses SSI (shtml extension and there is a ssi include in your model). You will probably need a testserver running (like XAMPP) on your local system for this preview in a browser.

    Friend

  • Selective display of a report based on the value of a Variable of presentation

    Hello

    Is it possible to selectively display a report on a dashboard page based on the value of a variable presentation.

    I have 5 reports that are part of the same page that has a page with 5 options-level prompt.

    According to the option selected in the command prompt that the value is stored in a variable of the presentation, I need only 4 reports to view at any time (ie 1 report should NOT be directed).

    Example: -.

    When Option 1 is selected 1,2,3,4 reports must be posted
    When Option 2 is selected 2,3,4,5 reports must be posted


    Thanks in advance

    Hello

    Search this Guided Navigation forum. In this way, you can hide a section on your dashboard based on the results of a report that is "hidden".

    Good luck

    Daan Bakboord

  • How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    I use JDeveloper 12.1.2.0.0

    < af:button id = "tt_b2".

    rendered = "#{attrs.nextRendered} '"

    partialSubmit = 'true '.

    action = "#{attrs.backingBean.nextAction} '"

    Text = "next".

    Disabled = "#{attrs.nextDisabled}" / >

    private static final String NEXT_NAVIGATION_ACTION = "controllerContext.currentViewPort.taskFlowContext.trainModel.getNext";

    public String nextAction() {}

    If (validate()) {}

    updateModel();

    Return NEXT_NAVIGATION_ACTION;

    }

    Returns a null value.

    }

    Use case is made for model train, which is being implemented based on this blog: http://javacollectibles.blogspot.co.UK/2014/10/ADF-train-template.html

    We define a generic action following in the model, but the action must be called under certain conditions, based on the question of whether all validation controls had been passed on no.

    You can do this in two ways:

    1 returnValue = (String) ADFUtils.invokeEL("#{controllerContext.currentViewPort.taskFlowContext.trainModel.getNext}");

    return returnValue;

    2.

    public String getNextTrainStop() {}

    String nextStopAction = null;

    ControllerContext controllerContext = ControllerContext.getInstance ();

    ViewPortContext currentViewPortCtx = controllerContext.getCurrentViewPort ();

    TaskFlowContext taskFlowCtx = currentViewPortCtx.getTaskFlowContext ();

    TaskFlowTrainModel taskFlowTrainModel = taskFlowCtx.getTaskFlowTrainModel ();

    TaskFlowTrainStopModel currentStop = taskFlowTrainModel.getCurrentStop ();

    Terminus of TaskFlowTrainStopModel = taskFlowTrainModel.getNextStop (currentStop);

    nextStopAction = nextStop.getOutcome ();

    _logger.fine ("train, next stop:"+ nextStopAction ");

    Return nextStopAction;

    }

  • The style values of message lost by display on send page text

    Hi all
    I have a custom OAF page that has a set of entry fields and present it, I call a procedure from DB.
    One of the input fields is a lov that returns the value of a message text (mst) field of style. Submit I lose the value of the MSDS of the display. I have a form value to keep this value but I want to assure you that the mst dislpays value too. Please let me know how this can be achieved.

    Thank you
    -John.

    John,

    It is a common problem when you return the value of the window of Lov.

    step 1 - create a form value element Type

    Step 2 - create a new card for Lov and return the same data, which are clear on the basic page to the value of the form.

    See you soon,.
    GYAN

  • Conditional display in the text box based on the calculated value

    Hello

    I have radio buttons that each have a numerical value. For example = 1 A = 2 C = 0. In the example below, the total is equal to 5.
    examplescreen01.gif

    The sum is displayed at the bottom of the document and is passed to another text box:

    examplescreen02.gif

    Instead of '5' displayed in the text box on the right, it should display a "Control" Word like this:
    examplescreen03.gif

    The displayed word is based on the totals through this range:

    1-2 = 'absorbing '.

    3-4 = 'practitioner '.

    5 to 6 = "control".

    The script I used to pass the value from the left to the right text box in the chart above is:

    name of the field to text box;

    var cTextBox = 'Cabinet Talent strategy knowledge - total';

    get the value of the field with the name in cTextBox;

    var sTextBox = this.getField ("cTextBox") .value;

    Set the value of this field;

    Event.Value = sTextBox;

    That I need to add to this script to show one of the words, such as "control" above?

    I am a complete novice to scripting. I found the above script online and somehow got it to work.

    I thank very much for any help or pointers, you can provide.

    Best regards

    Chris

    Sorry, there were some errors in the code that I provided above. Try this:

    If (sTextBox > = 1 & sTextBox)<= 2)="">

    Event.Value = "absorbing";

    } ElseIf (sTextBox > = 3 & sTextBox)<= 4)="">

    Event.Value = "practitioner";

    } ElseIf (sTextBox > = 5 & sTextBox)<= 6)="">

    Event.Value = "master";

    } else {}

    Event.Value = "";

    }

    If it still does not respond, you can send me the file at [email protected] and I'll check...

  • Redirect to 3 different pages based on the value of the Auto complete field.

    Hi friends,

    I use a "Auto complete field" in a page for research (Apex version 4.0). But I need to get the values of the 3 tables and when you click on the redirection of the value to one of the 3 pages based on the value.

    For example, I have 3 tables. 1 customer 2 Sites 3.Employees. When I enter "c" in the search field, I need to get values of 3 tables in this area "AutoComplete". That is to say, if I have a customer with the name "cusotmer1", "customer2" and the location with the names of "cisc1", "cisc2" and employees with the name "cid1", "cid2"; When I enter "c" in the FQDN of the auto all 6 values must be given in the "AutoComplete" box and clicking on "customer1" / "customer2" need to redirect to the 'customer' page When you click on 'cisc1' / 'cisc2' redirect to 'site' when clicking on "cid1" / "cid2" redirect to the page of the employees. Is there a way to do this. Help, please.


    Kind regards
    NAV

    Net asset value,
    Here is a sample page that uses the code I proposed works fine for me with FF and IE (8.0).

    http://Apex.Oracle.com/pls/Apex/f?p=18:3

    Note: I've added a warning message before being submitted

    This page works by your side?

  • Profile value didn't display in the Standard Page

    Hi all

    I have successfully created the profile and the profile list appear in my "Search" tab and check the news in a tab (see Image below)

    search profile.PNGcheck in profile.PNG

    But, when I click on search Standard or Standard to check my profile that are in the list, the application form, ARA, and TRACS400 does not display in the drop-down list. (see image below)

    profile.PNG

    For your information, I use the standard field that is xIdcProfile and I put the value profile tab views without creating the new domain. (See image below).

    profile value.PNG

    On the right, the list should be automatically right view? Can someone help me on this?

    Thank you.

    And clear the cache of your browser...

    To add to the suggestion of Jonathan, you must enable the follow-up schematic edition when you post... see if you get any errors.  Errors in another view may keep your target publication view.

  • Customize a page based on the SQL function

    Hello

    Please someone help me solve this problem.

    In a page I am Image. By clicking on the image, a page will open. The image is created using the code of the controller.

    The values are displayed in the second page based on the clicked image.

    While the page is being prepared a SQL function must obtain an entry and based on the input TextField should be changed to read-only or not.

    Thanks in advance,
    Roselyne

    There is no log file for OFA...

    Set the profile FND: Diagnostics to 'yes '.

    You can see the error on the screen.

    Prasanna-

  • Page APEX control items are displayed using the APPS user!

    Hi friends,

    I am running an Apex Application of the Apps (E Business suite-> link to Application). When the user clicks on this link without asking the login of the APEX, the application is open based on credentials Apps. Now my problem is the customer requests to restrict the display of the elements of the page (i.e. buttons) in the Application of the Apps user login and accountability-based APEX.

    I know how to show the result as normal button: APP_USER = "ADMIN" for example. But I don't know how to control from APPS. As I am new to both I need help from you guys to get this functionality.

    I need the faster response because it is very urgent for me.

    Thank you
    Stéphane.

    When you call page APEX-separated values, you can set the Variable of APEX with comma

    For Ex.

    f? p = 102:1:F102_ORG_ID, F102_GL_SET_OF_BKS_ID, F102_RESP_ID, F102_USERID, F102_HOME_URL:' | vOrgId | ',' || vSobId | «, » || vRespId | «, » || vUserId | vURL

    Alternatively, you can pass these parameters as Cookies.

    Let me know if you need something more.

    HTH

    Dinesh

    Published by: DineshS on February 20, 2009 02:08

  • permanently delete messages "additional plugins are required to display all the media on this page.

    Delete message "additional plugins are required to display all the media on this page" permanently. I have no use for ANY Adobe product, either. None are allowed on my network, period. I'm tired of this message. The absence of the FLASH plugin is what triggers it. However, the absence of the plugin is a good thing and that the plugin is totally unnecessary and absolutely not desired.

    You can inspect and change this pref on the subject: config page.

    • the pref plugins.hide_infobar_for_missing_plugin true value
  • Using the page as a condition for interactive report item value

    Hello. I add a button named edit in one of the interactive report column. This button should be displayed under certain conditions. Conditions are 1) If the user is Mencis and 2) value of the page called P2_DUMMY is 2. The value of P2_DUMMY is to 2 when a button is clicked. I defined a dynamic action for this. The problem is that I don't know what the condition of being added to the interactive report query.


    I tried

    CASE WHEN: APP_USER IN ('Mencis"). WHEN BOX: P10_DUMMY = 2 THEN ' < button type = "button" class = "button-default"; ">

    < span > edit </span > < / button > ' END I just get errors.

    If I just put the condition as

    CASE WHEN: APP_USER IN ('Mencis") THEN ' < button type ="button"class ="button-default "; "> < span > edit </span > < / button > ' END

    button is displayed in the report. If I add the second condition, all I get is error. I don't know how Add an element value of the page as one of the interactive report conditions. Please help me on this.

    Mencis Joe wrote:

    Hello. I add a button named edit in one of the interactive report column. This button should be displayed under certain conditions. The conditions are 1) if the user is Mencis and 2) value of the page called P2_DUMMY is 2. The value of P2_DUMMY is set to 2, when a button is clicked. I defined a dynamic action for this. The problem is that I don't know what the condition to be added to the interactive report query.

    I tried

    CASE WHEN: APP_USER IN ('Mencis"). WHEN BOX: P10_DUMMY = 2 THEN '' END I just get errors.

    If I just put the condition as

    CASE WHEN: APP_USER end of '' ('Mencis") THEN

    the button is displayed in the report. If I add the second condition, all I get is error. I don't know how to add a value to the page element as one of the interactive report conditions. Please help me on this.

    Combine the predicates in the CASE expression by using an AND condition:

    case
      when    :app_user = 'Mencis'
          and :p10_dummy = 2
      then
        ''
    end
    

    Hardcode a condition like the :app_user = 'Mencis' is likely to prove problematic for all sorts of reasons, not least including the value of APP_USER is uppercase by default, unless otherwise during authentication.

    Note that the semicolon and extra double quotes in are not valid.

Maybe you are looking for