How to create dynamic action of the link column in the classic report

I have an apex page to display a modal window using jquery. In the modal window, I have a classic report with a column of link I want to capture its click event.
I thought I could create a dynamic action with selection of type = jquery selector. Not sure if I need to do anything on the link column and do not know the syntax
jquery selector. Would appreciate help or direction?

Always zip code using .

...\

tags as described in the FAQ.

I created a region of report with the following query:

Select empno, ename, 'SELECT' from emp
where (ename like '%'||ltrim(rtrim(:P2_SEARCHPU))||'%'
or :P2_SEARCHPU is null)

There is no alias specified for the "SELECT" column, Oracle uses so the content of the column as a default alias. It comes

'SELECT'

Instead of

SELECT

The necessary jQuery selector would be:

td[headers="\'SELECT\'"] a

However the need to release the single quote everywhere is a ticking time bug. SELECT an Oracle reserved word means use it as any type of identifier is either too smart.

You should always use a valid Oracle identifier as an alias explicit when a column contains a literal value or a complex expression:

select
    empno
  , ename
  , 'SELECT' link_text
from
    emp
where
    (  ename like '%'||ltrim(rtrim(:P2_SEARCHPU))||'%'
     or :P2_SEARCHPU is null)

APEX will use the column alias LINK_TEXT as the ID attribute of the column header and the cells in the column will reference it in their headersattributes. The jQuery selector is:

td[headers="LINK_TEXT"] a

Tags: Database

Similar Questions

  • How to create an 'Action' in the PS?

    I said that it's easier than a script, which is attractive.

    Thank you

    Matt

    Look at my package of shares craft. http://www.mouseprints.NET/old/DPR/JJMacksCraftingActions.zip

    Contains:

    Action Actions Palette Tips.txt

    Action creating Guidelines.txt

    Action dealing with Image Size.txt

    Strengthened through scripts functions.txt Photoshop action

    Action of CraftedActions.atn example set includes an example action http://www.mouseprints.net/old/dpr/WM900x600.jpg tattoo

    Sample Photoshop Actions.txt CraftedActions the value stored in a text file. This file contains a few additional observations that I inserted describing how the actions.

    12 scripts for actions

  • How to create a crosstab to the APEX report

    Hi all

    Here's the query that I want to create a report of the tab cross- report_label & project_execution. Could you please guide me how to proceed in Oracle APEX.

    Select project_execution,

    report_label,

    (Project_execution) count of)

    SELECT NVL (xmigr.project_execution,' ') project_execution;

    xmigr.report_label

    OF xxqbix.xxqbd_disco_count_details_d xdcd,.

    xxqbix.xx_fls_disco_migr_comments xmigr,

    (select report_label, 'Y' qbix_phase1_2)

    of xx_fls_disco_migr_comments c

    where 1 = 1

    and c.project_execution in (' QBIX Phase 1', ' QBIX Phase 2' "')) xcom2

    WHERE xdcd. Annual = xmigr. ANNUAL

    AND xdcd.worksheet = xmigr.worksheet

    AND xdcd.owner = xmigr.owner

    and xmigr.report_label = xcom2.report_label

    and Accruals 'xmigr.report_label ='

    Xdcd.owner GROUP,

    NVL(xcom2.qbix_phase1_2,'N').

    xDCD.Workbook,

    xDCD.Worksheet,

    xmigr. Migrate,

    NVL (xmigr.project_execution,' '),

    xmigr.report_label,

    Group of xmigr. Portal_Name) by project_execution,.

    report_label

    Kind regards

    Sushant

    not tested not having no not your tables, but the use of something like that

    WITH pivot_data AS)

    SELECT NVL (xmigr.project_execution,' ') project_execution;

    xmigr.report_label

    OF xxqbix.xxqbd_disco_count_details_d xdcd,.

    xxqbix.xx_fls_disco_migr_comments xmigr,

    (select report_label, 'Y' qbix_phase1_2)

    of xx_fls_disco_migr_comments c

    where 1 = 1

    and c.project_execution in (' QBIX Phase 1', ' QBIX Phase 2' "')) xcom2

    WHERE xdcd. Annual = xmigr. ANNUAL

    AND xdcd.worksheet = xmigr.worksheet

    AND xdcd.owner = xmigr.owner

    and xmigr.report_label = xcom2.report_label

    and Accruals 'xmigr.report_label ='

    Xdcd.owner GROUP,

    NVL(xcom2.qbix_phase1_2,'N').

    xDCD.Workbook,

    xDCD.Worksheet,

    xmigr. Migrate,

    NVL (xmigr.project_execution,' '),

    xmigr.report_label,

    Group of xmigr. Portal_Name) by project_execution,.

    report_label

    )

    SELECT *.

    OF pivot_data

    PIVOT)

    Count (report_label)

    FOR project_execution ("QBIX Phase 1', ' QBIX Phase 2', 'QBIX Phase END'" ")

    );

  • How to create an action link that goes to a section that is 'hidden' in the same page

    Hello

    OBIEE 11, I have a dashboard page that has section 1 as a guest, 2 which shows an analysis that contains a chart and article 3 that shows the details of the graph. I have an action to link this graphic article 2 connection to the details in section 3. However, I would like my report to the do not appear in article 3 as long as you press the link of action. Is there a way to 'Hide section 3 until you press the link action?' Thank you!

    Hello

    Try to avoid the double-display: How to create an action link that goes to a section that is 'hidden' in the same page

    Felipe_Idalgo meets the other post (and he posted the best answer to your needs), in order to continue the other thread instead of opening another.

  • How to use PL/SQL to create dynamic action to set the value of a selection by another list?

    Hello

    I would like to know how to use PL/SQL to create dynamic action to set the value of a list of selection by another selection list.

    1.PNG

    I wish can create dynamic action to manage the two above the Room select list (: P9_ROOM) and building (: P8_BUILDING).

    When you select "1074" in the bathroom, building highlights like "BRM BLD 5"

    When you select 'Area of the black box' in the room, building must assign the value "7 BLD BRM"

    When the room is Null, building should also be Null.

    I thank you,

    Alice

    I forgot to mention, for the PL/SQL Code, because you are working with items in the selection list, the return values are different from the display on your LOV values, you must instead use the return values.

    Thank you

    Erick

  • Dynamic action on the region

    Hello

    Request Express 4.1.0.00.32

    I have a report region on a page that is conditionaly displayed depending on the value of an element of page Pn_ITEM = "HIDE".

    I have dynamic stock running on the page that fill a collection and update the report without the need to submit the page. However, I need to show the report somehow when the collection contains at least one of the members present.

    I tried the following:

    1st real action running pl/sql that adds a record / member of a collection, then a 2nd action sets the value to a page Pn_ITEM = true 'SHOW' action item and a 3rd that should show the region based on the value of the real action 2.

    My collection has an added member. The value 'SHOW' is applied to my article on Pn_ITEM page by the dynamic action but the region of report I want now displayed is not displayed. Obviously if the page is submitted, the report will now be shown however I can't send the page at this stage that's why I need to do this dynamicaly or through javascript and on the application process.

    Any ideas how to get my region report to display once the collection has at least one member without submitting the page?

    Thanks in advance.

    Remove the requirement for the view from the region. You don't want this here since it completely stops rendering region if the condition is not fullfilled to the render time. You want that he made, but not displayed.

    Add css to the region (inline, class):

    style="display: none;"
    

    Add real action that will do a refresh on your area (component - refresh, select your report as an affected item region).

    Now, either:
    Add a real action of type run javascript. Since you can not put conditions on the real actions, we will test the condition in javascript.
    Choose one:

    if($v("Pn_ITEM")=='SHOW'){
    //if you want to target the region to be shown by an ID (static id?)
    $("#region_id").show();
    };
    
    if($v("Pn_ITEM")=='SHOW'){
    //if the triggering element would be the region to be shown
    $(this.triggeringElement).show();
    };
    
    if($v("Pn_ITEM")=='SHOW'){
    //if you'd want multiple affected elements to be shown at once drop the [0]
    $(this.affectedElements[0]).show();
    };
    

    Create a new dynamic action that has the same conditions of release as your other dynamic action.
    Specify a when condition:

    $v("Pn_ITEM")=='SHOW'
    

    Create a real "Show" type action to show the region.

    Final result should be your dynamic action creating an item in the collection, an update of the report based on the item (but still not represented) and finally a show in the region.

    Remember that stocks will also fire on page load (so don't forget to check the box on the actions of true), otherwise the region does not appear initially.
    I would say that the item is probably not necessary, but depends on any other logic, you might have on your page and possibly interacts with it.

  • Dynamic action on the points of the apex

    Hello

    I have a requirement like after the entry of date of birth in the element. then the age value must be defined dynamically.

    How can I set the value?

    Hi Tulasi,

    Follow the steps below

    Click on create button dynamic action
    Select the advanced type
    Give a name

    event - on the evolution of the
    selection type - point
    Article (s) element of your page (used to select date of birth)
    condition: no strings attached
    action - code PL/SQL Execute
    Fire on the loading of the page - white

    PL/SQL - code

    declare
    v_age varchar2(100);
    v_dob date;
    v_sysdate date;
    begin
    
    select sysdate into v_sysdate from dual;
    v_dob := :P1_DOB;    //here P1_dob is a page item from where i am selecting date of birth.
    
    select trunc(to_char((v_sysdate - v_dob)/365)) into v_age from dual;
    :P1_AGE := v_age;     // i have created one item named P1_AGE to display the calculated age.
    end;
    

    Page elements to send = P1_DOB / / replace with your agenda of the datepicker page

    Elements of the page return = P1_AGE / / replace with your article.

    Hope this will give you an idea.

    Thank you and best regards,
    Jitendra

  • How to create a '. '. The URL file"of a Web page I visit

    How to create a '. '. The URL file"of a Web page I visit

    Check these

    deskCut {web link}
    This extension adds desktop shortcut creation for the
    context menu for Windows, Linux and Mac.

    My CopyFixer {web link}
    Use Ctrl + C when nothing selected to copy the page title and the url in
    various (base model) format.

    Send the URL of the tab {web link}
    Send a list of URLS tab browser to email, webmail or the Clipboard

  • How to create an ERD for the vista sp2 x 64?

    How to create an ERD for the vista sp2 x 64?

    How to create an ERD for the vista sp2 x 64?

    If you do not have a Microsoft Vista DVD, make a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner: http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    Make sure you get the 64 bit version.

    See you soon. Mick Murphy - Microsoft partner

  • How to create an association in the Set associations Control Panel?

    When I try to open attachments to emails that have pps file it is said, this file does not have a program associated with it for performing this action. Create an association in the Set associations Control Panel. How to create an association in the Set associations Control Panel?

    1: If you do not PowerPiont or PowerPoint Viewer, you need at least the Viewer.

    PowerPoint 2007 Viewer:
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=048DC840-14E1-467D-8DCA-19D2A8FD7485&displaylang=en

    2: create a file association.

    1. download and save the attachment to the office.
    2. right click on the saved file.
    3. Select: Open with on the shortcut menu.
    4. click on: choose [default] program.
    5 PowerPiont select: (Or PPViewer).
    6. check: always use the selected program to open this type of file.
    7. click on OK.

    3: Edit the registry here if necessary.

    Cannot open. PPS directly from Windows Mail or Windows Live Mail attachments
    http://www.Winhelponline.com/articles/149/1/Unable-to-open-PPS-attachments-directly-from-Windows-mail-in-Windows-Vista.html

    Bruce Hagen ~ MS - MVP [Mail]

  • How to create a password for the user account for my child?

    How to create a password for the user account for my child?

    You can create the user with the parental control account. This will act as a protection for the child's account.

    You can take a look at the following links on setting up parental controls:

    http://Windows.Microsoft.com/en-us/Windows/set-up-family-safety#set-up-family-safety=Windows-7

    http://Windows.Microsoft.com/en-us/Windows/set-parental-controls#1TC=Windows-7

    http://www.howtogeek.com/HOWTO/10524/how-to-use-parental-controls-in-Windows-7/

  • Dynamic action using the datePicker in APEX5.0

    I want to use dynamic action with dates in APEX 5.0 picker such that after the selection of start_date and end_date interactive report should display data for the selected date range.

    I first created an interactive report in the APEX and then created a page with date elements pickers.ln my database table, I have a column name time_stamp, who is with the date format varchar2 data type YYYY-MM-DD - HH24:MI:SS.

    Looks like my request for interactive report below:

    Select * from table1 where time_stamp between to_char(to_date(:p1_item,'YYYY-MM-DD-HH24:MI:SS'),'DD-MM-YY') and to_char(to_date(:p2_item,'YYYY-MM-DD-HH24:MI:SS'),'DD-MM-YY')

    (where p1_item and p2_item are the page numbers for the selectors of dates), the 'Mask of Format' attribute for the selectors of dates, I put to JJ-MM-AA. Now, I need to define a dynamic action to run my SQL query of interactive report based on the selected start_date and end_date arguments. I need to know more about the steps to create such dynamic action and look for the detailed steps to what attributes must be defined to achieve this.

    Help, please.

    Thank you

    Mukul

    I did notice that the column time_stamp was varchar2. You can use this query:

    select *
      from table1
    where to_date(time_stamp, 'YYYY-MM-DD-HH24:MI:SS') between to_date(:p1_item, 'DD-MM-YY')
      and to_date(:p2_item, 'DD-MM-YY')
    

    And if you remove it your selectors of dates format mask then you could be simpler:

    select *
      from table1
    where to_date(time_stamp, 'YYYY-MM-DD-HH24:MI:SS') between :p1_item
      and :p2_item
    

    You have need of other attributes.

  • APEX 5. Dynamic action on the CHANGE event does not work after applying the filter on IR.

    APEX 5.

    Dynamic action for the CHANGE event does not work after applying the filter on IR.

    Event: Change, selection Type: jQuery Selector, jQuery Selector: td [header = 'abc'] entry

    Real action

    Selection type: jQuery Selector, jQuery Selector: td [header = 'abc'] entry, Action: run the Javascript Code

    Is TI WHEREAS behavior?

    I know, I can work around this problem by using the Refresh event and javascript, but I prefer DA and if possible Change event.

    Concerning

    mdyla

    mdyla wrote:

    It is, how to force them reallocate dynamic Action in the event of CHANGE of the input elements after refresh of IR region.

    Set the dynamic scope of the event action to Dynamics.

  • Can not set a value by the executed dynamic action on the page element "selection list."

    I created an agenda of the page 'list of selection' and I want to when I change a value in another element of the page set only 'screen '.

    I created a dynamic action on the page element "selection list" for this.

    These are the dynamic action attribute:

    When:

    ======

    Event: change

    Selection type: point

    Article: P29_PURCHASE_ORDER

    Condition: No strings attached

    Advanced:

    ========

    Scope of the event: static

    Identification:

    ==========

    Action: Set

    The ' Action Page when the changed value "attribute of the element of 'list of selection' = 'None', and when I run form the dynamic action run and set the value for once and do not update the value according to the change in the article"list of selection. "

    Note: when I change the previous attribute of 'Redirect and set', dynamic action run and properly value, but the value was hidden soon

    I want to value when the value of change of select list according to this change successfully.

    Please, advice me,

    Best regards

    Mustafa Ezzat

    Hello

    you set the value of the 'Page elements to submit' to P29_PURCHASE_ORDER?

    Then, the SQL statement would use the current selected value.

    This is the help text says: "specify a list separated by commas of the elements of the page that will be submitted to the server and therefore available for use in your"SQL statement"," PL/SQL Expression"or"Body of the PL/SQL function".»

    Kind regards

    Erik-jan

  • Help with dynamic action and the selection list item

    G ' Day Apex gurus.

    I have problems trying to achieve to trigger the Help window from an element automatically select. A Help window is triggered when it is clicked on the label of an item, but my customer wants to be triguered automatically as soon as the user clicks to view the options in the select list.

    I think I should be able to do with dynamic actions but I can't function.

    I know when someone clicks on the label of the item selection list trigger this JavaScript

    JavaScript:popupFieldHelp('277938589795252851','1545903379570909')

    So I want to trigger the javascript also when the user click on the item selection list and pull down the options and for that I think that the dynamic action is the way to go, but I can't do things.

    That's what I have to do:

    I created a dynamic option as follows:

    Name: test
    Sequence: 30
    Even: click
    Selection type: product (s)
    Article (s): P1_RATING <-a selection list item
    Condtion: - no requirement.

    Real Actions
    Sequence: 10
    Action: Run the JavaScript Code
    Fires when the result of the event is: true
    Fire on loading the page: checked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')

    Thank you anyone who can tell me what I'm doing wrong here or bring a solution to my problem to trigger the Help window from an element automatically select.

    Kind regards
    Carlos

    Hi Carlos,

    I've set up a test case of exactly in the same way and it worked fine for me. I've created a page element called P1_DA_DEMO and added some values of the static selection list, then added a help text. I used the settings are lower, I suggest you try again, but also make sure that you have no other Javascript errors on the page. Use a tool like firebug to check.

    Name: Action Dynamics demo
    Sequence: 10
    Even: click
    Selection type: product (s)
    Product (s): P1_DA_DEMO<- a="" selection="" list="">
    Condtion: - no requirement.

    Real Actions
    Sequence: 10
    Action: Run the JavaScript Code
    Fires when the result of the event is: true
    Fire on loading the page: unchecked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')

    Scope of the event set a Bind s.

    Thank you

    Paul

Maybe you are looking for