ID of passage with its values in the fields in form when the button is clicked.

Tried to pass the value according to the button clicked with his id in to form.

I am able to get the id in the right place as you can see in the Image below, but not able to pass all the different values of it.

Global function:

function get_id (id)

{ var a = parseInt (id)

Apex. Item (P73_SHIP_ADDRESS_ID). SetValue (a);

}


Static page source:

declare

Id1 number (10,0);

Start

for rec in (select * from OMS_SHIPPING_ADDRESS where USER_ID =: P1_USER_ID)

loop

Id1: = rec. SHIP_ADDRESS_ID;

sys. HTP.p ("< br > < div >");

sys. HTP.p ('< a >' | sys.) HTF.escape_sc (CRE. TYPE) | "' < /a > < br / >"

|| sys. HTF.escape_sc (CRE. ADDRESS_LINE1)

|| ' , '

|| sys. HTF.escape_sc (CRE. ADDRESS_LINE2)

|| "' < br / >"

|| sys. HTF.escape_sc (CRE. CITY)

||  '-'

|| sys. HTF.escape_sc (CRE. ZIP_CODE)

|| "' < br / >"

|| sys. HTF.escape_sc (CRE. STATE)

|| "' < br / >"

|| sys. HTF.escape_sc (CRE. COUNTRY)

|| ' < br / > < input type = "button" value = "sΘlectionner" onclick = "get_id (id)" id ="" | recomm. SHIP_ADDRESS_ID | ' ' ' > '

);

sys. HTP.p ("< / div > '");

end loop;

end;

Below the Image if I click select can pass id to send the address id but able to pass the address line1.line2, city etc...

I tried to move to the global function also does not work! If someone could guide me!

123.JPG143.JPG

Hello

If you have already passed the ID, then why don't you create a dynamic action on change of SHIP_ADDRESS_ID and load the details of database and fill in other areas.

In this way the use of ID is understandable.

--

Sunil Bhatia

Tags: Database

Similar Questions

  • Disable all the fields in a form, when a button is clicked

    Hello

    When I click on any button in the screen, I need to disable all fields in this form.

    Can tell me this.

    Kind regards

    Srinivas

    Seems funny to have two people asking similar questions - you are associated with this poster?

    http://supportforums.BlackBerry.com/T5/Java-development/focus-field-issue/TD-p/1420511

  • How to restore a shortcut to folder with its contents after the removal of the trash

    How to restore a shortcut to folder with its contents after the deletion of the Recycle Bin in vista

    Hello

    you deleted the shortcut, not the content; haven't you?

    This program recovers deleted data, etc.:

    http://www.Piriform.com/Recuva

    ___________________________________________

    Why not just make a new shortcut?

    http://www.ehow.com/how_5104544_create-desktop-shortcuts-Windows-Vista.html

    How to create Windows Vista desktop shortcuts

  • WHY it takes literally HOURS to get my latest CC of Photoshop, etc operational? I (we) paid for a new year of service some time ago and I literally lost half of its value by the loss of business just sitting here waiting on this download. UNITED NATIONS

    WHY it takes literally HOURS to get my latest CC of Photoshop, etc operational? I (we) paid for a new year of service some time ago and I literally lost half of its value by the loss of business just sitting here waiting on this download. Unacceptable. Is it possible to speed up this process. Only takes seconds for the $$$ to be deducted.

    Hi Jeffery,

    Please refer to the help documents below to download the application Adobe CC:

    Creative cloud to desktop

    Download, install, update or uninstall applications

    Kind regards

    Sheena

  • change the value of the button cluster

    Hi all

    I wrote a program that has 5 poles and all groups contain a STOP"" button. the program can stop when the button is pressed.

    When I press the button, the value of the button goes to False and else False. I want to come True. so I tried using the 'value' property and set the value "False".

    but it is still true.

    I use event structure to see that the value changes. and set to 'Stop the value changes' all buttons in a single event.

    How can I change the value of the false button?

    Thank you

    Ritesh


  • Define a cutting-edge Action playing audio wrap-up after all the buttons are clicked

    Hello

    I think I know the answer to my problem, but it seems not work once I pick up the pieces. I want the learner to click the 4 buttons and listening to their audio every, and then hear an audio wrap-up before moving on to the next slide.

    Here's how I think it is supposed to work:

    Drag the details: I have 4 buttons (R, A, C, E) for a 4-step process. Each button is clicked to reveal a text box, retail and the sound for each step. As soon as the user clicks on all 4 buttons I want an audio recap to play.

    Program information: I created a variable with a value of 0 for each button (Aviewed, Cviewed, Rviewed Eviewed). Then created a tip for each button action: (when R button, assign Rviewed with a text box 1 and see the Rdetails) for each letter. Thus, on the success of each button action advanced.

    Then I created another Action of the art called AudioExitSlide #. It is a conditional action that says that when all 4 variables have a 1 piece, theatre wrap up audio, ___not thing other than what to put here (continue and break doesn't seem to work). I don't know where else to mark this advanced action but the action on Exit.

    When I preview the slide, I never heard my audio recap. What I'm doing wrong here?

    Help, please.

    Yacine

    Will try to explain it, but first want to have a confirmation:

    • The audio is attached to the text caption that is displayed when you click a button? You have a problems with multiple audio clips playing at the same time, if the user clicks on the buttons for quickly, all at once?
    • What version do you use?

    The event on the output is never trust, it will execute your action after leaving the last image of the slide, and since then you are at the beginning of the next slide!

    I would also like to see a screenshot of your calendar, please? Here's a few tips:

    1. You must check the variables with each pressing of the button, which means that you will need a conditional action with two decisions:

      1. First decision 'Always' go do what you have now in the standard measurement using a standard simulated action like this:
        IF 1 is equal to 1
        Assign v_R with 1 sorry, I'm always variable v_ to avoid assigning the same name to something
           
        See the Tx_A
        Play Audio_A I prefer to use this command on an object, audio because you never have two clips playing simultaneously
      2. Second decision "WrapCheck" will check the variables
        IF EV is equal to 1 AND
        v_A is equal to 1 AND
        YaeUb is equal to 1 AND
        v_C is equal to 1
        ????    will tell you what to do here after answering my questions
  • How can I get audio to not start when the button is clicked?

    I am new to adding audio to slides, buttons, click boxes.  Import the recorded voice on the overall slide of files sounds easy enough.  However, there are several buttons that display a legend I want audio to not start when the button is clicked.  I added audio just for this button, but it starts when the slide begins.

    How can I get audio to not start when the button is clicked?

    Hello

    Audio playback when the assigned object with the audio appears. That's why hear you when the button appears.

    Try to assign audio instead to the object that is displayed when you click the button. Perhaps the legend.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • NPE for rows with null values in the table of the adv

    I created the table adv, 2 columns, equipped with two text fields. Initially the col2 is empty,
    say that the structure is as follows:
                  col1          col2
    Hdr         Question    Answer
    row1       abc           zxc
    row2       pdd           null (user doesnt enter anything)
    row3       zxc            lkj
    
    APPLYBUTTON
    When the user clicks on apply button I want to update these values in the table.

    I don't know how to do that, but that's what I'm trying to do. Please guide me the right way if its wrong.

    in LICS, I took the APPLYBUTTON action, got all lines of the object corresponding to the view, consulted with everyrow and I'm checking if there are values in the fields in the table, if the value zero, are simply print null. (we would not update on this line). . I could get o the part update, due to null pointer exception
    I get on the row line null pointer exception [1].getAttribute("Answer") for row2, it prints the value of row1 however.

    Here is the code I wrote:
    Set of rows from the rowset = (RowSet) vo.getRowSet ();
    Rank rank [] = vo.getAllRowsInRange ();
    System.out.println ("row.length" + row.length);
    for (int i = 0; i < row.length; i ++) {}
    String question = row.getAttribute("Question").toString ();
    String response = row [i].getAttribute("Answer").toString ();
    If (question! = null & &!("".)) Equals (question. Trim()))
    {
    System.out.println ("Question line" + i + "-" + question);
    }
    on the other
    {
    System.out.println ("Question line" + i + "is null");
    }

    If (response! = null & &!("".)) Equals (Answer.Trim ()))
    {
    System.out.println ("Response line" + i + "-" + response);
    }
    on the other
    {
    System.out.println ("Response line" + i + "is null");
    }

    Why the NPE survey code, I'm checking for null value and you want to print the value null in the logfile... I can not to getAttribute() on the null field, why can not just give me null in the variable I'm assigning to?

    You can guide me what approach to take, if it is not correct.
    I must examine DataDictionary and collect data there?
    Thanks in advance.

    Hello

    handle the exception of null on these two statements like this pointer

    String question = "";
    String response = "";

    Try
    {
    question = row.getAttribute("Question").toString ();
    }
    catch (NullPointerException e)
    {
    question = "";
    }

    Try
    {
    answer = row.getAttribute("Answer").toString ();
    }
    catch (NullPointerException e)
    {
    response = "";
    }

    Si ( !("". Equals (question. Trim()))
    {
    System.out.println ("Question line" + i + "-" + question);
    }
    on the other
    {
    System.out.println ("Question line" + i + "is null");
    }

    Si ( !("". Equals (Answer.Trim ()))
    {
    System.out.println ("Response line" + i + "-" + response);
    }
    on the other
    {
    System.out.println ("Response line" + i + "is null");
    }

    Thank you
    Gerard

  • A combine with other values of the column, the column values


    Hi all

    I need your help on this. I have a req I need to combine values of a percentage to the values of column test column. Here are examples of data

    Select decode('test',null,'ABC') abc, b.percent, b.amount

    from tableA, tableB b

    where id = b.id

    Examples of data

    Amount of the percentage TEST

    ABC              0.3                10

    ABC              0.5                20

    ABC              0.2                30

    After him combine the values of percentage to the ABC percentage column values must be zero

    Desired output

    Amount of the percentage TEST

    ABC(30%)                              10

    ABC(50%)                              20

    ABC(20%)                              30

    Valuable suggestions are appreciated

    Alter the query from Etbin with a trifle for the exact release.

    with

    t as

    (select 'ABC' test, 0.3 percent, 10 amount of all the double union

    Select 'ABC', 0.5, 20 double Union all

    Select 'ABC', 0.2, 30 double

    )

    Select test | ' ('| to_char(100 * percent) |'%)' test, null as a percentage, the amount

    t

  • Problem of setting a value for the hidden item click on the button with processes action or pl/sql dynamic

    Apex 4.1

    Oracle 11g

    I have a page which consists of a main and several sub-regions area.  I have a pl/sql process in after the header SET_DISPLAY(:P400_DISPLAY:='MAIN';))

    Three subregions have a contional show where P400_DISPLAY = STORE.  It works in the hiding of the sub regions.

    Now, I want to change the value P400_DISPLAY to the STORE to show the subregions when I hit a button.

    I tried to create a dynamic action for the click on the Add button, but get the following error:

    The selected button uses a model of 'button' that does not contain the #BUTTON_ID substitution string #.

    I went to the models and found:

    Substitution strings

    Top

    Substitution strings are used in sub models to reference the value of the components. This report details use of string substitution for this model.
    Substitution string Referenced De Description
    #LINK #.YesModelTo be used in an attribute "href".
    #JAVASCRIPT #.NO.To be used in an "onclick" attribute
    #LABEL #.YesModelButton label
    #BUTTON_ATTRIBUTES #.NO.The attributes button
    #BUTTON_ID #.NO.ID generated button will be ID either the static button if defined, or if not will be a generated ID internally in the format 'B ' | [Internal ID of the button.

    I then tried to create a page process, pl/sql,: P400_DISPLAY: = 'STORE '; If the button is pressed.  The action of the button is submit page. However, it does not change the value of P400_DISPLAY and the subregions are hidden.

    Suggestions please on how to fix the template or change the value of P400_DISPLAY?

    The question of the root, it's that, even if you change the value of the element of your page, it is not visible to other areas of the page until it is in the session. Thus, any other action based on the value of the element of your page. the visibility of a control, a report based on the value of the item, etc. will be affected by changing the value of the item page until it has been changed in the session. Even after that, items are stored in the session, then you must do something to influence the revalued value. To see the effect of this, observe that your page will load and assesses the value of the element of your page, it sees which is the "MAIN" and mask areas. However, he didn't reassess after that.

    Then; your choices for this value set at the session are send the page, or use JavaScript to set the value in the session. If you use the latter, you will have to do extra work to make visibility tests be re - run, so, let's stick with the submit method.

    What you did above sounds correct to do this but, there are a lot of decisions, that you might have done that may have caused things to do not occur in the correct order.

    First of all, we will confirm that what I describe above is your problem. From the development environment, load the page, click on the button to change the value and submit. Now, click on the link marked the Session. He is always at HAND? If the answer is "Yes"; That's your problem.

    Let's start with your calculation after the header. You set it to * only * run if the current value of the element of your page is null? If this isn't the case, it's your problem.

    Load the Page-> Item set to 'Hand' by calculation-> click on the button--> Item set to STORE-> Submit-> Page Load-> point by calculating the value 'hand '.

    See the problem?

    Assuming that's not the question, you have created a branch to the same page, right? What is your process for the branch point? Is it * after * Validation, computation etc.? Because if not, you are not changing the value before that didn't get to submit.

    I bet that's the first question, but take a look at these.

    See you soon,.

    -Joe

  • Value of the increment on click

    Hello.

    I use 8 Captivate and created a delicate design project.

    Created a slide where there are 5 images and a "basket" in the top corner.

    The user must select the 3 images that are the right choice. Whenever they choose an image, the cart updates a value (1, 2 or 3) and the image that they selected and then fades or fades.

    I can't figure out how to set actions to get there.

    The images were to be buttons to give them shares.

    Buttons create an action on and what the parameters of the actions must seem to have these things that multiples occur?

    increment.JPG

    Create a v_counter user variable that you can display in a container of text on the cart. The default value of 0. For the correct form button (I guess those who are filled with images used as buttons on forms?), you can create a shared action that increments the counter (not a setting) and apply an Alpha effect to the button itself, or (perhaps more trustworthy than the effect) replaces the original image button by a same shape with a faded image (not a button at the same time (, you will avoid they click a second time on the same button).

    You don't say what should happen with no correct images?

  • spend multiple values on the interaction of click value

    Hi gurus:

    I have a requirement where I need to display a report of the first (a table or a PivotTable), with the type Cust_ID, recipes, etc. Cust_id is a unique dimension. Most of the stuff is made.

    And then the user wants to select 4 different values of Cust_ID and run another report of detailed comparison of the attributes of these clients.

    Now, the solution I proposed one or the other was a copy and paste in the new edition box prompt, or multiple selection on cust_id on new page.

    But the 'expert' user interface wants something like boxes to tick next to all ranks and press a button that automatically starts a comparison report.

    I know that we can pass a value to the other report using the value interaction. But how I spend 4 different values to the click?
    Or is there no other way?

    Please help me.

    V

    Sorry there not be useful. I think that the solution works and book it that the user needs. Article is that sometimes we spend too much time trying to satisfy a user wants and brings us to spend our valuable time that could be spent more productively. Well...

    Good luck, however, Vinay!

  • What happens when you turn with your finger on the button home iPhone 6s?

    Hello

    It sounds weird, but if I have sinned with my finger on the home button, the screen moves to the bottom and a space without content appears at the top... Is it normal?

    Concerning

    Friends of the Apple,

    What you see is the feature of "accessibility" of the iOS.

  • Any graphical plugin, or other available solution of "CAPTURE a VALUE at THE TIME TO click ON?

    Hello

    I just realized that the query is not my problem.

    I have a graph that uses the query below, and it displays bars showing the 4 different totals revenue market Segment in every bar.

    My requirement is to drill down in this section of the graph and show what amounts to this total.

    I can't add this to the LINK because at the time of the request, the market Segment is unknown.

    Y at - it a graphic plugin, or other available solution that can of "CAPTURE a VALUE at THE TIME CLICK ON"?

    Select the NULL LINK,

    TO_CHAR (to_date (Year, 'YY'), 'YYYY') year.

    sum (decode (market_segment, Advanced Technology Facilities, recipes, 0)) 'Advanced Technology',

    sum (decode (Market_segment, "energy and environmental Technologies", recipes, 0)) 'energy and environment '.

    sum (decode ("market_segment, ' High Tech infrastructure", recipes, 0)) 'high technology Infrastructure. "

    sum (decode (market_segment, "Chemical and Life Sciences", recipes, 0)) 'Life Sciences and chemicals. "

    of apps.xxmwz_apex_rev_5yrs

    Group by year

    order by 1

    I think you just need to change your group clause

    of ' group by year, market_segment.

    for "group by to_char (to_date(year,'YY'), 'YYYY') , market_segment '.

    This is the request of my sample application

    select 'f?p=&APP_ID.:2:'||:app_session||'::::P2_MONTH,P2_STATE:'||trunc(DEMO_ORDERS.ORDER_TIMESTAMP,'MM') ||','||DEMO_CUSTOMERS.CUST_STATE||':' link,
           trunc(DEMO_ORDERS.ORDER_TIMESTAMP,'MM') year,
           case when DEMO_CUSTOMERS.CUST_STATE = 'VA' then sum( DEMO_ORDERS.ORDER_TOTAL) end as VA,
           case when DEMO_CUSTOMERS.CUST_STATE = 'MA' then sum( DEMO_ORDERS.ORDER_TOTAL) end as MA,
           case when DEMO_CUSTOMERS.CUST_STATE = 'GA' then sum( DEMO_ORDERS.ORDER_TOTAL) end as GA,
           case when DEMO_CUSTOMERS.CUST_STATE = 'IL' then sum( DEMO_ORDERS.ORDER_TOTAL) end as IL,
           case when DEMO_CUSTOMERS.CUST_STATE = 'NY' then sum( DEMO_ORDERS.ORDER_TOTAL) end as NY,
           case when DEMO_CUSTOMERS.CUST_STATE = 'MO' then sum( DEMO_ORDERS.ORDER_TOTAL) end as MO,
           case when DEMO_CUSTOMERS.CUST_STATE = 'CT' then sum( DEMO_ORDERS.ORDER_TOTAL) end as CT    
    
    from DEMO_ORDERS DEMO_ORDERS,
        DEMO_CUSTOMERS DEMO_CUSTOMERS
    where DEMO_ORDERS.CUSTOMER_ID=DEMO_CUSTOMERS.CUSTOMER_ID
    group by
    DEMO_CUSTOMERS.CUST_STATE,
    trunc(DEMO_ORDERS.ORDER_TIMESTAMP,'MM')
    
  • CLEAR the VALUE of INPUT TEXT when the button is clicked

    Hi all

    I have a box of 2 inputText in my page in which the user enters a value, click on a button on this box. Now, what I want is to erase the other inputbox, during the click on the button against the inputBox in which the user entered value.
    I did partialTriggers of two boxes to the buttons and buttons are partial shipment.

    Now at the bean (session scope), I write something like firstInputBox.setValue(null);/firstInputBox.setValue("");/firstInputBox.setValue(false). When you click on buttons.

    But still my boxes are not erasing.

    Why can't he be?

    action listener to the button write-

    firstInputBox.resetValue();
    firstInputBox.setValue("");//if it takes a string input
    AdfFacesContext.getCurrentInstance().addPartialTarget(firstInputText);//always better to do programmatic PPR when there is some logic already on click of button .. do for declaritive ppr when ur whole soln. is declaritive
    

Maybe you are looking for

  • D110 printer external IP range

    Dear friends... I have a problem sending prints to my printer. I can't even open the printer admin page. I have suscpect that the reason is due to the range of IP addresses. Grateful if you could help me. Here is the configuration. My laptop connects

  • Scanner and Camera Wizard does not

    I placed my Kodak digital camera memory card into the slot on my computer, and the only answer is that it runs on my printer scanner.  How can I transfer my photos from my camera to my computer?

  • How can I get rid of the malware known as Windows of custom settings?

    Here we have a computer that has picked up the malware known as Windows of the custom settings. I downloaded, installed and tried to run Spyware Doctor, SuperAntiSpyware and a few others. I can't launch the software, obviously this malware prevents w

  • X 201 new owner.

    Hi, I got my X 201 has a few months ago. Its the processor i7, 4 GB ddr3 ram a single stick, the momentum 7200.4 seagate 500 GB hard drive, WiFi, centrino 6300, webcam, win 7 pro w/xp mode, 9 cell batt. overal, I am very pleased. I like the sw of man

  • Custom report for several Datastore latencies

    Hello I would like to create a report from the latancy VMware Storage model, but have the ability to account for the multiple datatstores. I need to create a new report template to do this, or do I have to create a Service with the data store and to