Get the ID value in the onClick event in IR

Hi all

When I click in an interactive report I want to resubmit the page with the value of the ID (pk) of the line where I clicked.

Is this possible with dynamic action (Apex 4)?

Can someone give me an idea how to do this?

Kind regards
Marco

Hello

Maybe not easy to do through dynamic measurements (certqainly no ompossible) but much easier the old-fashioned way
Heres how to do it. Suppose that your primary key column is named ID.

1 change report IR attributes and change the ID column
2 scroll down to the section "links"
3. in etxt link set column, text or Image you prefer.
4. change the target URL
5. enter the URL text bix in this

javascript:apex.submit('#ID#');

Save and run the report.

Kind regards

Tags: Database

Similar Questions

  • Rank Selector - how to set the onclick event handler?

    I have a set of master-detail forms and would like to respond to the onclick event of the line selector. When I go on the line selector column attributes I don't see anywhere to set the onclick event.

    The other elements of tabular presentation have a field 'Attributes of the element' that I use usually, but not line selector. I just missing something?

    I'm open to alternatives as well. The reality is, however, I do not need anything either complicated or sophisticated. When the user clicks on the box I collect data from the current row and initiate an AJAX call. I have to submit the page, etc.

    Thank you

    Brent

    I think the only way to do this is to use the package apex_item like this:

    http://HTMLDB.Oracle.com/pls/OTN/f?p=31517:170

    Standard line selector is not an option to fix the JavaScript to it.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • dynamically set the onclick event in setAttribute with bbui

    Hello

    what I want to achieve is to create an onclick event in a ListItem which is passing a variable to the function of bb.pushScreen (). I have it?

    1. after a loading screen, I created a dynamic list with items that have an onclick event.

    listItem = document.createElement('div');
    listItem.setAttribute('data-bb-type', 'item');
    listItem.setAttribute('data-bb-title', title);
    listItem.setAttribute('data-bb-accent-text', combindedDate);
    listItem.setAttribute('onclick', "bb.pushScreen('page.htm', 'page', '666');");
    

    2. If clicked article opens a new page, because of the onclick attribute. (works well)

    The additional option (666) must be a variable. I couldn't understand how to solve this problem.
    There must be a way I can pass a variable in the new created element the bb.pushScreen funtion.

    Any ideas?

    The best

    bert2002

    UPDATE: just sitting once again and its possible some flee:

    listItem.setAttribute('onclick', 'bb.pushScreen(\'page.htm\', \'page\', \''+ itemid +'\');');
    

    chadtatro wrote:

    Just helped a friend with the same thing yesterday, it was also a problem of leaks... the "update" sounds good to me, it's good now?

    Yes absolutely is working very well

  • get the current event (name) of a field - possible / how to?

    Hello

    I wonder if it is possible to get the name of a field as event:

    (form.pag1.mytextfield::enter - JavaScript, client)

    var eventname = this.MagicJSfunction();
    

    It is of course possible to get the current name of the event with:

    (form.pag1.mytextfield::enter - JavaScript, client)

    var eventname = event.name; 

    It's a shame it's always = 'Focus' wherever I use it (form.pag1.mytextfield::ENTER - JavaScript, client) (form.pag1.mytextfield::EXIT - JavaScript, client)

    (form.pag1.mytextfield::enter - JavaScript, client)

    my_scripting_obj.my_set_design_function(this, eventname);

    Reason:

    I use to change the structure of a field in realtion to his event in my script object. By calling the function of my script object, I'd use some copy/paste.

    I have more than 120 field where this function must be called to enter and exit the event.

    Hello

    Does that help? http://assure.ly/h8ZLr5.

    In this case, I call the function entry and exit of the events of each field.

    Niall

  • Flash the onclick event of form does not

    He can't get onClick syntax works correctly. Help is very appreciated.

    < cfform action = "nexpage.cfm" target = "_self" method = "post" enctype = "application/x-www-formulaires-urlencoded" name = "frm1" format = "flash" width = "900" height = "700" skin = "haloblue" > "

    < cfformgroup type = "horizontal" >
    < cfformitem type = "text" width = "300" enabled = "yes" > how did you learn about our online process? < / cfformitem >

    < cfinput type = "radio" name = "lead" label = "Journal" value = "1" onClick = "document.frm1.newspaper.disabled = false" / > "

    < cfselect disabled = "true" visible = "Yes" name = "journal" id = "journal" multiple = "" width = "250" >
    < option value = "" > select a < / option >
    < option value = "1" > option 1 < / option >
    < option value = "2" > option 2 < / option >
    < option value = "3" > option 3 < / option >
    < / cfselect >
    < / cfformgroup >

    < cfformgroup type = "horizontal" >
    < cfformitem type = "spacer" width = "300" enabled = "yes" / >

    < cfinput type = "radio" name = "lead" label = "Job Center" value = "2" onClick = "document.frm1.JCenter.disabled = false" / > "

    < cfselect disabled = "true" visible = "Yes" name = "JCenter" id = "JCenter" multiple = "" width = "250" >
    < option value = "" > select a < / option >
    < option value = "1" > option 1 < / option >
    < option value = "2" > option 2 < / option >
    < option value = "3" > option3 < / option >
    < / cfselect >


    < / cfformgroup >

    < / cfform >

    onClick = "document.frm1.newspaper.disabled = false"

    It seems that you are not using javascript. Flash forms use actionscript. It's a totally different beast.

    UPDATE:

    Never mind.  My previous suggestion will not work because the fields of radio have the same name.  I'm sure there are better ways.

    But you can call a function onClick. The one who changes the select lists State...


    function setListState() {}
    Newspaper.Enabled = (lead.selectedData == 1);
    JCenter.enabled = (lead.selectedData == 2);
    }
       

      

    ...
      

    Post edited by: == cfSearching == -.

  • Need help to display text with the onClick event

    I have a thumbnail that when you click on, it displays a larger image.  I also want to display the title under the enlarged image when the user clicks on the thumbnail.  Help, please!

    but is there a way to simulate onClick with CSS?

    In fact, there is, but it works on devices with touchscreen like the iPhone, iPad and Droid.

    If your visitors use a mouse device operated, they will see the event in the overview.

    http://www.usabilitypost.com/2010/05/12/CSS-hover-controls-on-iPhone/

    If you must use onClick, watch the tutorial to Show/Hide layer below.

    http://www.cbtcafe.com/Dreamweaver/showhidelayers/index.html

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB
    http://ALT-Web.blogspot.com

  • Unable to connect to get the wireless event ID: 8002 task category: AcmConnection; Event ID: 12013, event ID: 11006

    Hello

    I have a Dell Latitude E6440 Win 7 Enterprise 64 running on a domain. It will connect to an unsecured network, and he can see the secure network in the list when I click the icon for the wireless connection on the system tray. When I go on manage wireless networks, the secure network is not displayed (and so I can not delete the network to try to add new). Normally, we would add the network protected here. I click Add, type the name in the correct syntax, add the necessary information (2/WPA-Enterprise TKIP or EAS) and click Next, it returns immediately with "an unexpected error has occurred." The same thing happens when I hit the connection in the list of available networks that appears when I open system tray icon: he said that it was impossible to connect, when I hit the Troubleshoot, it is said that he could not identify the problem. The event log shows error below. I could not find any resolution here or elsewhere who respond to the fact that I can connect to networks unsecured wireless, but unsecured wireless networks.

    Other notable troubleshooting procedures:

    • Uninstalled/Reinstalled with the latest wireless adapter driver
    • Other laptops may have access to the same secure wireless network
    • The first configuration error automatic WLAN in the event log is event ID: 12013, attempting authentication 802. 1 x. Then the event ID: 11006; declaring "explicit Eap received to fail". After a few days of alternating every 3 errors, they started only error event ID 8002.

    Log name: Microsoft-Windows-WLAN-AutoConfig/Operational
    Source: Microsoft-Windows - autoconfiguration WLAN Service
    Date: 04/06/2014 11:53:55
    Event ID: 8002
    Task category: AcmConnection
    Level: error
    Key words: (512)
    User: SYSTEM
    Computer: [ComputerName. AREA]
    Description:
    Autoconfiguration WLAN service cannot connect to a wireless network.
    Network adapter: Intel Centrino Advanced - N 6235 Interface GUID: {f27af762-dff8-4927-84e0-7f4ade30dcc9}
    Connection mode: connect to a network secure without a profile profile name: [NAME of the SECURE NETWORK]
    SSID: SECURE NETWORK [SSID]
    Type BSS: Infrastructure
    Reason for the failure: the specific network is not available.

    The event XML:

    8002

    0

    2

    24010

    191

    0 x 8000000000000200

    1475

    Microsoft-Windows-WLAN-AutoConfig/Operational

    [COMPUTERNAME. AREA]

    {F27AF762-DFF8-4927-84E0-7F4ADE30DCC9}

    Intel Centrino Advanced-N 6235

    Connect to a network without a profile

    [NAME OF THE SECURE NETWORK]

    [NAME OF THE SECURE NETWORK]

    Infrastructure

    The specific network is not available.

    163851

    0 x 6

    Hello

    The question you posted would be better suited in the TechNet Forums. Large networks, domains and windowsserver questions version are supported via TechNet so best to check with Experts there. I would recommend posting your query in the TechNet Forums.
     
    TechNet Forum
    http://social.technet.Microsoft.com/forums/Windows/en-us/home?filter=AllTypes&sort=lastpostdesc&brandIgnore=true

    Hope this information is useful.

  • Can I get the lock event of user interface for a class that extends the Application class?


    Here's an article in the knowledge base on the subject:

    http://supportforums.BlackBerry.com/T5/Java-development/alert-a-BlackBerry-Smartphone-user-from-a-BA...

  • River: Getting the application event get the focus

    Hello

    Is it possible to listen to when any application gain focus IE get application details when he user starts?

    Thank you

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

    P.Ramkumar.

    I use Applicationmanager for this.

    Thank you

    ----------

    P.Ramkumar.

  • Unable to access children in the init event or complete SWFLoader (numchildren =-1)

    Trying to put a label to a loaded flash (it is public), works fine if I call a timer and wait 2 seconds. Then I tried to do the 'right' way and it fails. (See the code example) Aparnently the flash charge (type FlashLoader) has a child (type SystemManager) with numChildren-1 at the event.

    Tried the init and event complete but no workie.
    http://livedocs.Adobe.com/Flex/3/langref/MX/controls/SWFLoader.html#summaryTableEvent
    init: dispatched when the properties and methods of a loaded SWF file are accessible.
    full: dispatched when the content is finished loading.

    Here is the code example:
    the file swf to load only fitted with a label with the id innerLabel and is called inner.swf

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML 'creationComplete = "init ();' >
    < mx:Script >
    <! [CDATA]
    import flash.display.DisplayObject;
    import flash.display.DisplayObjectContainer;
    import flash.events.TimerEvent;
    import flash.utils.Timer;
    Import mx.controls.Label;
    import flash.utils. *;
    Import mx.controls.SWFLoader;
    Import mx.core.Container;
    Import mx.core.FlexLoader;
    Import mx.managers.SystemManager;

    public var errors: Array = new Array();
    public var ld:SWFLoader = new SWFLoader();
    public void init (): void {}
    LD. Load ("Inner.swf");
    ld.addEventListener (Event.COMPLETE, setInnerLabel);
    this.addChild (ld);

    COMMENT THE ADDEVENTLISTENER METHOD AND UNCOMMENT THE LINES 3 AND IT WORKS
    LIKE A CHARM
    var t:Timer = new Timer(2000, 1);
    t.addEventListener (TimerEvent.TIMER, setInnerLabel);
    t.Start ();
    var doneTimer:Timer = new Timer (3000, 1);
    doneTimer.addEventListener (TimerEvent.TIMER, checkDone);
    doneTimer.start ();
    }
    public void checkDone(o:Object):void {}
    If (this.errors.length! = 0) {}
    trace (this.) Errors.Join ("\n"));
    } else {}
    trace ("done without error");
    }
    }

    public void setInnerLabel(o:Object):void {}
    var l:Label = getObjectsByProperty ("id", "innerLabel", Thi, null) [0] as Label;
    If (l == null) {}
    Errors.push ("unexpected innerLabel reduced label...");
    } else {l.text = "OK getbyid." ;}
    }
    {region for getElementById functions
    public void getObjectsByProperty (startFrom:DisplayObjectContainer,
    Public,
    PropertyValue:String,
    arrRet:Array = null): Array {}
    If (terminate == null) {}
    Terminate = new Array();
    }
    in the case where you pass a null value
    If (startFrom == null) {}
    return terminate;
    }
    If (startFrom.hasOwnProperty (propertyName)) {}
    If (startFrom [propertyName] = propertyvalue) {}
    arrRet.push (startFrom);
    }
    }
    trace ("HOW MANY of the CHILDREN:" + new String (startFrom.numChildren));
    traceElem (startFrom);
    for (var i: int = 0; i < startFrom.numChildren; i ++) {}
    traceElem (startFrom.getChildAt (i));
    If (startFrom.getChildAt (i) is DisplayObjectContainer) {}
    var tmpArr:Array = getObjectsByProperty (startFrom.getChildAt (i) as DisplayObjectContainer,
    propertyName, propertyvalue, terminate);
    Terminate = tmpArr;
    } else {}
    trace ("THE FOLLOWING WAS NOT A DISPLAYOBJECTCONTAINTER :");
    traceElem (startFrom.getChildAt (i));
    }
    }
    return terminate;
    }

    private void traceElem(elem:Object):void {}
    var x: XML = describeType (elem);
    var s:String = "got an item of the type:"+ x.attribute("name").toString ();.
    for (var i: int = 0; i < x.child("method").length (); i ++) {}
    If (x.child ("method") [i].attribute('name').toString () == 'getChildAt') {}
    s = s + "\n\t\t\tSupports getChildAt;
    }
    }
    for (i = 0; i < x.child("accessor").length (); i ++) {}
    If (x.child ("accessor") [i].attribute('name').toString () == 'numChildren') {}
    s = s + "\n\t\t\tSupports numChildren;
    s = s + "\n\t\t\tChildren:"+ new String ((elem.numChildren)); "
    }
    }
    trace (s);
    }
    } endregion
    []] >
    < / mx:Script >
    < / mx:Application >

    Common practice is to listen to the event APPLICATION_COMPLETE of SWFLoader.content once you get the COMPLETE event.  When loading a SWF Flex events really mean:

    Init: Enough of the properties and methods of SystemManager are available to implement the preloader, but we are waiting for the rest of the SWF file before we create all children whose main application:

    Full: All the bytes of the SWF file are downloaded, but we expect the event framework before the Framework 2 and the creation of the main application.

    So, your code would look more like:

    ld.addEventListener (Event.COMPLETE, completeHandler);

    function completeHandler(event:Event):void

    {

    ld.content.addEventListener (FlexEvent.APPLICATION_COMPLETE, setInnerLabel);

    }

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • On startup, I get the message: Please wait while Wilndows configure installation package 'Destination' Destinations.msi.

    Original title: Windows Installer

    Whenever I reboot Windows Vista Home Premium, I get the following events:

    Windows Installer opens and then I get the following

    Please wait while Wilndows configure installation package 'Destination' Destinations.msi.  I have no idea of what is Destinations.msi and that you have never installed such a program.  He asks me to put in the cd disk that comes with the program.

    Any suggestions on how to stop this very annoying interference every time I restart my computer.

    Thanks in advance for your suggestions and help.  HankL

    Hello
     
    Method 1.
    Let us run Disk Cleanup and then reregister the Windows Installer service and check.
    Stage I.
    a. open Disk Cleanup by clicking the Start button. In the search box, type and then disk cleanup in the list of results, click Disk Cleanup.
    b. in the drives list, click the drive you want to clean, and then click OK.
    (c) in the dialog box disk cleanup, on the Disk Cleanup tab, select the check boxes for the types of files that you want to remove, and then click OK.
    d. in the message that appears, click on delete files.

    Stage II.
    Unregister Windows Installer and then reregister Windows Installer. To do this, follow these steps:
    a. in the menu 'Start', click on ' execute:.»
    b. in the "Open" box type "msiexec /unreg" and then press ENTER.
    c. on the menu 'Start', click 'run '.
    d. in the "Open" box type "msiexec/regserver" and then press ENTER.
     
    Method 2.
    At startup, there is a request pending to be updated or installed. We can perform the boot minimum troubleshooting to find this application.
    See the article below for instructions on how to start your computer in a clean boot state.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: When the diagnosis is complete, don't forget to reset your computer to normal startup. Follow step 7 in the above article.
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to get the JOINT-2 log file

    Hi, we installed in the 6500 system JOINT-2 cat. Anyone know how to get the syslog JOINT-2 file? and how config to send the log to syslog server? I know that these two questions are quite simple, but I've yet to find answers.

    Any help would be greatly appreciated.

    You can get the JOINT events to the CETS format. Using the Manager of IPS or other tool to collect these logs.

  • OnClick event in flash

    Hello

    I have a file flv video that I need to convert to swf format and add an onclick event. I could take the first step by importing the flv movie and export it to swf. How can I add the onclick event? This swf will be an advertisement for a product, and onclick I need to redirect to a specific URL.

    Thank you in advance.

    Oliver

    Create a new layer with the invisible button (value 0 his alpha) and add the code by clicking on necessary.

    The first thing you need to do to make it useful down must assign a unique instance name.  So when it is selected on the stage, you enter the instance name unique for it in the properties panel... Let's say you name "btn1.

    In AS3, to make a button with the code, you must add a listener of events and event handler for it function.  You may need to add a little (for different events, like reversal, deployment, by clicking on it, but for now let's just say you want to be able to click them to get a web page.)  In the scenario that contains this button, a layer of separate actions that you create in a similar framework where this button exists, numbered, you must add the event listener:

    Btn1.addEventListener (MouseEvent.CLICK, btn1Click);

    The name of the unique function for the treatment, the click of this button is specified at the end of the assignment of event listener, so now you just have to write this function:

    function btn1Click(evt:MouseEvent):void {}

    var url: String = "http://www.awebsite.com/awebpage.html";

    var req:URLRequest = new URLRequest (url);

    navigateToURL (req, "_blank");

    }

  • Defining a button to a function not defined onclick event / custom

    I'm not a developer of captivate, but I develop a page that is embedded in an iframe (webobject) within a page of captivate. Page that I have developed a chart, the data for which depend on which button is clicked in the Captivate parent page.

    Ideally, I wish I could have my captivate developer simply set the onclick event for each button to call a function (by name) I'll set my page in the iframe. To do this, I was hoping there was an option to simply give the name of the function to an event onclick in captivate, so that my iframe can 'reach' in the parent company and equal to a function in my graphic page, I set the value of this function.

    I would like most, the outcome to be (basically) something like this:

    Captivate page:

    < someButton onclick = "CaptivateTest1" >

    < someButton2 onclick = "CaptivateTest2" >

    < iframe src = "myGraph.html > < / iframe >"

    myGraph.html:

    < html >

    <!--... Graph of stuff here->

    < script >

    function myDefinedFunction() {}

    Change a chart of the data

    }

    function myOtherDefinedFunction() {}

    Change a chart of the data

    }

    window.parent.CaptivateTest1 = myDefinedFunction;

    window.parent.CaptivateTest2 = myOtherDefinedFunction;

    < /script >

    < / html >

    Describe your functions in the html document in the iFrame:

    window.parent.CaptivateTest1 = function()

    {

    do stuff

    }

    Then you have Developer run JavaScript in JS linked to the button window:

    CaptivateTest1();

  • Not pulling HTML onClick event!

    Hey guys,.

    I use the onClick event that is not shot. I tested Simulator v4.5. How to make clickable HTML buttons without using the onClick event?

    Hi Vinayak,

    Can you confirm if JavaScript is enabled? Selection 'Options' in the menu of the browser and make sure the "Enable JavaScript" box is checked.

    Also, how you set your HTML button, as a

Maybe you are looking for