How to pass part of APEX values in a web link

Starting from a button in a form at the APEX 4.1 I'm redirecting to a mod_plsql generated HTML page. The package that generates receives a parameter called DocID

The button definition I selected the option to redirect to URL and the URL is:
   http:///server:port/blackpls/FAQTool.GenerateBody?DocID=&P1_DOCUMENTID
where P1_DOCUMENTID is a page element. When I look at the URL I get something like this:
 http:///server:port/blackpls/FAQTool.GenerateBody?DocID=&P1_DOCUMENTID
If I add a point at the end of the URL in the APEX, I get
 http:///server:port/blackpls/FAQTool.GenerateBody?DocID=
Don't see no value in the end


How can second question, I open it in a new html window? As target = new

Thank you

Edited by: FabioBui, Sep 22, 2011 12:14

The URL related to redirect is rendered when the page is loaded, when the element is probably still a Virgin.
I would like to change it to run javascript like:

JavaScript:Window.Open('http:///Server:port/blackpls/FAQTool.GenerateBody?docid='+$v('P1_DOCUMENTID'), '_blank');

Tags: Database

Similar Questions

  • Apex 3.2 passing more than 3 values in a report link

    Apex 3.2

    I have a report that contains a link to a page to update.

    The report is based on a table with a key, based on 5 columns in the table.

    I need to put these 5 items on the page updated with the values in my report with a report link.

    The standard report link only 3 values.

    How can I do this?

    Gus

    A very common question with a number of solutions

    Oracle - passing more than 3 points in a binding column reports - Stack Overflow

    Can I make more than 3 values in column with a link to the column?

    OraFAQ Forum: Application Express & amp; MOD_PLSQL & raquo; How can pass more variable in the column link

  • How to pass the parameters or values film double hollow?

    Hello

    I create a game in Flash 8 with 2 AS and I have some questions to ask.

    First of all, I'm stuck for 2 days to create a tower Laser beam to the target.

    I searched the internet for solutions but I can't really find one, so I'll try display of questions myself...

    First I tried to create, and the effectHolder in which each laser beam has been created, because it seems I can create only one line in each movieClip...

    _root.duplicateMovie(effectHolder_mc , "effectHolder_" + this, _root.getNextHighestDepth());
    v = a = _root["effectHolder_" + this];
    ray.onEnterFrame = function()
    {
    v.clear();
    v.lineStyle(1,0xFF0000,100);
    v.moveTo(this._x, this._y);
    v.lineTo(creep._x , creep._y);
    v.text = "True"

    }

    It's triggered eveytime, she was a target.

    With each turn that triggered a laser that I created, it became more than offset, so I tried selfdestructing after some time.

    this._alpha -= 10;

    if (this._alpha <= 0)

    {

         this.removeMovieClip();

    }

    But he did not actually work, so I tried another solution. I tried to give each MovieClip ("Laser"), duplicate code that creates the laser beam.

    onClipEvent(load)
    {
         this.fx = from._x;
         this.fy = from._y;
         this.tx = to._x;
         this.ty = to._y;
    }
    onClipEvent(enterframe)
    {
         _root.dmg.text = "From: " + fx + "," + fy + " To: " + tx + "," + ty; //I used this on a textbox to see if parameters are transmited. But they were all 'undefined'

            this.clear();
         this.lineStyle(1,0xFF0000,100);
         this.moveTo(from._x, from._y);
         this.lineTo(to._x , to._y);

         this._alpha -= 4;
         if (this._alpha <= 0)
         {
              this.removeMovieClip();
         }
                                 
    }

    The problem is that I did not know how to pass the coordinates of the tower and the target to the MovieClip so that it knows where to create the line.

    X++;
    duplicateMovieClip(_root.Laser, "Laser" + X, X,{from._x,from._y,to._x,to._y});         
    g = _root[_root.Laser + X];
    g.fx = from._x;
    g.fy = from._y;
    g.tx = to._x;
    g.ty = to._y;

    Please leave suggestions on how to send the parameters or values for the created clip, or an idea of the creation of this line ("beam") for each tower, without so much trolling.

    Thank you

    Chris

    What is the trigger of v's _alpha decrease?

  • How to pass the external APEX URL parameter values

    Hi all

    Hope you can help me with the following:

    During my first APEX application, I created a button that should have a parameter value of the current page to an external URL

    I created a button.

    The URL redirection target option is set to URL

    [I put the URL target for the http://[URLNAME button]? [constant parameters] & p_variable =: P13_VALUE1

    The APEX variable does not replace what I understand. Can someone tell me how it CAN be replaced?

    Thank you very much

    Marco

    Hi Marko,

    You must use & P13_VALUE1. of the element to get by following the link.

    Kind regards
    Andrea

  • How to pass a user selected value in presentation GROUP to the flow of the screen

    Hello

    I wonder to display a table GUID (Group) comes from a database, so that the user can select (click on) one of the multiple rows that are returned in the presentation.

    based on the value of the user has selected the need to do a few checks and view full details of the message.

    I am not able to pass this selected user GUID as a parameter to the flow of the screen for the automatic object that manipulates and retrieves the full details of the message from DB based on some queries.

    is it possible that we can get value selected by the user of presentation to the flow of the screen? If so someone can help.

    Thank you
    Satya

    Hello

    you don't need to pass arguments. This attribute is part of your instance variable used in your interactive element.

    You said after this interactive element, there is an automatic element is extracted full message, is it? Then, in this automatic element, you can access myInstanceVar.myAttribute.

    If this does not resolve your problem, tell me an email to send you a sample project (I don't know if it is possible to attach a file here).

    Juan.

  • How to pass a list of values to the rear end.

    Hello
    I have a block with 3 columns, a database column no (checkbox), my goal is to return the rows that are selected by the user to the back-end for some
    the treatment. I know not how to loop through the block and assign values to the variable column, if the check box is enabled, but instead to send each line at the rear,
    I am looking for a solution by which I can send all end them the selected backward in one trip.
    Will I do Array, or the type of table, and go to the rear. What is the best solution.

    How to declare the table and the Type of table in Oralce 10g shape

    Thanks in advance

    Rizly

    You can use the following in your stored procedure:

    SQL> set serveroutput on
    SQL>
    SQL> DECLARE
      2    LC$Arg  VARCHAR2(100) := '''file1'' from dual union select ''file2'' from dual union select '
    'file3'' from dual' ;
      3    r sys_refcursor;
      4    lc$sql VARCHAR2(1000) := 'select ' || LC$arg ;
      5    v VARCHAR2(100);
      6  BEGIN
      7    OPEN r FOR lc$sql ;
      8    LOOP
      9      FETCH r INTO v ;
     10   EXIT WHEN r%NOTFOUND;
     11   DBMS_OUTPUT.PUT_LINE(v);
     12    END LOOP;
     13    CLOSE r ;
     14  END;
     15
     16  /
    file1
    file2
    file3
    

    François

  • How to pass the boxes with values?


    I'm dynamically generate a list of items (say, vegetables), each with a digital ID and each with a checkbox. The user selects the vegetables he wants and click on the submit button. Since the ID chosen vegetable, I want to do an insert into another table (say, orders from customers.) I can't find any clear examples of how to do this. The form can submit to another .cfm page or go, is not serious for me. In addition, Flash forms are not allowed on my site.
    Help, please! Thank you.


    Thank you. The results page is now the before treatment, otherwise, it shows "You have not selected any vegetables."

  • How to pass more than 3 Articles in the column link

    Hello
    I need to spend 4 elements as values of link from page 1 to page 2. Under report-> column attributes
    Attributes-> link I can't put more than 3 Articles. Can some please advice the best way to transmit more than 3 values from page 1 to page 2.

    Thanks in advance
    Aali

    More than 1 point/value can be entered in each text box: just, separate them by commas (",") and to ensure that the order of elements and values matches.

  • How to pass the value to query LOV of rows in the table.

    simple table on the page of the ofa:

    col1 col2
    ABC lov-activated
    PQR lov-people with disabilities
    MNO lov-activated

    Col2 is lov and turned under condition if it meets certain conditions. I am capable of until.
    How to pass values in col1 to the co of lov lov query?

    Help, please
    Thank you

    Hello

    You can pass the value to LOV in this way in a region of the table.

    col1 col2

    DEPTNO empname (Lov field)
    1 lov1
    2 lov2

    requirement: lov1, you will need to pass the value of deptno 1.

    If deptno is message style text then you need to create a value of the deptnoFormValue with the attribute in the base page table area, and the same instance of vo.

    danslechamp empname lov

    fields of lov region:

    EmpName,
    DEPTNO,
    and deptnoFormValueinLov

    lov mappings: a first return to the basic page.

    a second part of the criteria

    Point lov region: deptnoFormValueinLov
    Return article: -.
    Point of criteria: deptnoFormValue
    Required: true
    Query programmatically: true

    Now create a controller for the region of Lov

    the code example is:

    Import oracle.apps.fnd.framework.OAApplicationModule;
    Import oracle.apps.fnd.framework.OAViewObject;
    java.util.Dictionary import;

    in the process request:

    OAApplicationModule m = pageContext.getApplicationModule (webBean) (OAApplicationModule);
    Dictionary passiveCriteria = pageContext.getLovCriteriaItems ();
    String deptno = (String) passiveCriteria.get ("deptnoFormValueinLov");

    System.out.println ("org code in controller of lov is" + orgcode);

    OAViewObject vo = (OAViewObject) am.findViewObject ("view instance of lov");
    vo.setWhereClause ("Organization_code =" "+ deptno +" ' "");

    System.out.println ("request after adding where clause." + vo.getQuery ());

    hope this is useful

    Kind regards
    Barros.
    [email protected]

  • HOW TO PASS THE HEX OF THE MAIN PROGRAM VI ENUM, SUB VI ENUM VALUE

    HOW TO PASS THE HEX OF THE MAIN PROGRAM VI ENUM, SUB VI ENUM VALUE.

    HOW THEN IT WILL CHOOSE CORRECT ON SUB VI HEXAGONAL ENUM VALUES.

    Enum values are strings, you must first convert the hexadecimal value to a hexadecimal value chain represtation.

    Then that convert from the enum.

  • How to pass the value?

    Hello.. I'm creating an application of streaming, in which I have a list field in a screen like this...

    1

    --------

    2

    --------

    3

    --------

    and when the item 1 is selected means a url must be passed to the video player...

    I created the list field screen in a package and a video player in other package... but I do not know how to pass the value of the field from the list to the player... Help, please... its URGENT...

    You can get the index selected by the listname.getSelectedIndex () method and compare that value with Vector data (data store URL) .that you will give a correct value from the URL and pass it.

  • How to pass view controller class bean to model bean class value?

    Hi all

    I use JDev 11.1.6. I do not use the ADF BC. The use of EJB. Do not use session scope.

    My question is

    I get the value of the input box. I put this value in the class variable Bean (bean View Controller class). I need to pass this value to the variable in class model bean.

    Help, please...

    Thank you

    Hello

    It's simple enough to create a method on the model (AMImpl or VOImpl) and set the setting for the values you wish to obtain ViewController then add expose this method in the client interface

    next is to add this method to link pagedef and access the VC bean managed using the OperationBinding class and pass the value of the parameters of this method here

    This is how you pass a ViewController value model

    See - Fortune Minds - Oracle ADF: how to call the Application Module of backing bean method

    https://blogs.Oracle.com/jdevotnharvest/entry/best_practice_invoking_business_services

    Ashish

  • How to pass the value of the run-time file .sh by Oracle procedure

    I have a file test.sh that contain

    #1/bin/bash

    exp test/test@orcl file=/home/oracle/dump/test.dmp log=/home/oracle/dump/test.dmp grants = Y = index constraints Y = Y = (test) owner statistics = none

    Exit 0

    I craete a work called Create_job_proc in this work, I want to pass the value of job_action is the location of the file test.sh to

    /U01/home/Oracle/dump/test.sh and want to spend the test/test@orcl as a variable...

    Please suggest me... how to pass the value of Job_Action which will replace the .sh file content test/test@orcl to the value of the time of execution as scott/tiger@hr

    Thank you much Parth... It works perfectly...

    Thank you all for your help...

  • How to pass a value to the form defined in the context of security file name?

    Hi all

    Yet to learn JavaScript... I have a JavaScript script, save a copy of my pdf to a location on my machine. Got the privileges of working well as well.

    How I spend in the field values for the file name? Right, the created pdf copy is now called .pdf [object scope]. Instead, I want to use dynamic values of in the form itself.

    Then this.documentFileName gets me the name of the file (Code record trust)...

    var mySaveDoc = app.trustedFunction (function (doc, subName) {}

    app.beginPriv ();
    var myPath = "/ c/SubInspectionForms /" + this.documentFileName + ".pdf";

    saveAs is the only privileged code that should be placed
    with beginPriv/endPriv
    doc.saveAs ({cPath: myPath,})
    bCopy: true,
    ({bPromptToOverwrite: true});
    app.endPriv ();

    });

    this.getField("INSPECTION_Location") doesn't the value of a field:

    var mySaveDoc = app.trustedFunction (function (doc, subName) {}

    app.beginPriv ();
    var myPath = "/ c/SubInspectionForms /" + this.getField("INSPECTION_Location") + ".pdf";

    saveAs is the only privileged code that should be placed
    with beginPriv/endPriv
    doc.saveAs ({cPath: myPath,})
    bCopy: true,
    ({bPromptToOverwrite: true});
    app.endPriv ();

    });

    The script on my SaveACopy button is:


    subName var = this.getField ("INSPECTION_Location");

    mySaveDoc (this, subName);

    I need the value of the field in the function?

    It is easy to think 'this. GetField"is a universal thing you can still use, but it is not. Read carefully the description of the object "Thi". It is set in some contexts, and I don't think this is allowed when using it. You must pass it as a parameter in a context where it is defined.

  • How to pass multiple values of payload through the contextual event - jdev 11.1.2.3

    Hello:

    How to configure contextual events publish several values of payload?

    On click of a button, I'm declaritively publish a contextual event, which works very well when a single value is passed to the event handler.

    My event handler method has the signature of:
    eventHandler (String)

    But now I also have an oracle.jbo.domain.Number, so my new eventHandler looks like this:
    eventHandler (Number, String)

    How to pass two values during editing of the event and how to place the payload with multiple values for the new eventHandler?

    All article or code would be greatly appreciated.

    Thanks for the help.

    You define a bean holding your values and pass an instance of the bean as a payload...

    Timo

Maybe you are looking for