How to add a link to the html area to launch a dynamic action?

Hey, guys:

I need to add a link to a region of html hyper (I wish it could be a button :(), the value of the items in this region is loaded by a process of pl/sql before loading the header. And this link must trigger a dynamic action to update the database. I know how to add a link Super in this region, but how to define this link if I can launch a dynamic action by clicking on this link, could someone give me a hint?

Thank you very much in advance.

Sam

Published by: lxiscas on April 11, 2013 17:04

When I said updateRec I was just a name. Using the class alias_ncic will produce exactly the same result.
Learn more about what you're trying to do, I wouldn't do that with DA at all. I would probably do the link send page and launch a process that call your PL/SQL. But if you must do a DA I'll try to explain a technique below.

When you say

Then, I pass two values of two hidden variables:

P216_H_NCIC_APPROVE_TABLE_NAME---> "SOR_ALIAS".
P216_H_NCIC_APPROVE_KEY_VALUE---> #ALIAS_ID #.

Your link not pass anything because you never actually call the link, you have a DA of the substitution of the link action.

So... try something like that. Use it for your link attributes:

onclick="return false;" class="alias_ncic" title="NCIC Approve" id="#ALIAS_ID#" rel="SOR_ALIAS"

This defines two attributes more to enter the values you need to.

In yourself DA action on a.alias_ncic add two actions to "set the value.
1.
Action: Set
Set Type: Javascript
JavaScript expression: this.triggeringElement.getAttribute ("id")
Assigned items: P216_H_NCIC_APPROVE_KEY_VALUE

2.
Action: Set
Set Type: Javascript
JavaScript expression: this.triggeringElement.getAttribute ("rel")
Assigned items: P216_H_NCIC_APPROVE_TABLE_NAME

Now you have your values defined.
Make sure that in your PL/SQL Execute Code action you both of these elements in the field "Page to go" so that they values are actually passed.

That should do it.
Thank you
-Jorge

Published by: jrimblas on April 29, 2013 16:49

Tags: Database

Similar Questions

  • How to add a link to the page complete multi-page PDF.

    Is it possible to add a link to the full page in multi-page PDF. So anywhere, I click on the page, it will take me to a specific hyperlink.

    I know there is a link to feature, but I can not create an action on its behalf and therefore cannot automate to easily update all the pages and many docs with it. I also looked in invisible buttons, then right clicking on it and the replication of all pages. This will be my last resort if there is no other options but its still not easy to do what I have to re-create the link for each document layer and must reproduce all individually on a page-by-page. Even if not for several files, it would always be very happy to be able to clone an element to link to all pages in a document.

    Else I've tried creating a layer in InDesign with a link and then using the Action to import layers, but that also doesn't seem to work.

    Any ideas?

    Thank you!

    You can use the Javascript method addLink the doc object.

  • How to add URL links in the XML file?

    Hello

    I have a problem with adding the URL links to the power of lightning. I use the XML file to call images, then the corrsponding links. Images are called correctly but when I try to add a link I do not receive the links, but rather to get the anchor HTML text tags. I use escape XML characters to escape HTML tags, but the results are not what I need.

    I use the following code:

    < preview = "miniature large.jpg" thumb = "thumb.jpg" > "
    < title > <! [CDATA [Financial Services]] > < / title >
    < discription > <! [CDATA [& lt; a href = & quot; ]] http://www.google.ca "> Google < / a > " [[ ]] > < / discription >
    < / thumbnails >

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

    Output:

    Images are displayed correctly, but instead get the links, I get following message:

    " < a href =" http://www.Google.ca "> < /a > Google .

    I need to know what I'm doing wrong. I use the proper way to add links or not?

    Thanks for your time.

    Use tags html directly inside CDATA - after all, what CDATA is for.

  • How to add a link to the tables

    Hello

    If all goes well, there is a simple answer to this question - I had this long table that I created and I separated it until the broadcast on several pages, which links the tables so that the information in the table would pass. -a worked very well!

    I have recently moved these paintings in a new document and now I have these linked tables, I have those individual. I tried to re - bind all text fields, but just, pushes the table down and place the information on it in the form of text, it does not place new information into the table cells as it used to.

    Is it possible to re - linking tables if they are in the same way as they did before?

    Go back to your original document and rather than copy the text boxes, place the text cursor in the first box, and then select all.

    Then paste it into a text box in the new document.

    The copy of the individual images of a related story breaks the links.

  • How to add a link at the bottom of all emails by default

    I would like to have some information at the bottom of all my emails, such as a name, address and Web site. How to set that default on all messages that I write?

    Thanks in advance

    http://KB.mozillazine.org/signatures _ (Thunderbird)

  • How to add background images to the grid area manager

    Hi all,

    Hope everything goes well. I read the book beginning berries black development. In this book, the author has shown that how you create grid area manager. I used the code and created GRDI Manager of fields with 2 columns and added 8 images buutom with labels. every thing works fine until now.

    But the background is white. Now, I want to add a background image on my gield grid Manager. How can I do it. Please tell me. Thank you

    Hi thanks,

    Fixed my problem in this line. I used this line in my BGVerticalFieldManager

     //Constructor
        public BGVerticalFieldManager(Bitmap background) { 
    
            //super(USE_ALL_WIDTH | USE_ALL_HEIGHT );
            super(USE_ALL_WIDTH);
            ....
        } //end of constructor
    

    now my screen scrolling works very well just like I expected

  • How to add my link (folder) to the side RIGHT of the Start Menu?

    How to add my link (folder) to the side RIGHT of the Start Menu? I mean under my documents my music.

    Do I need a registry change or easy way?

    See my post here.

    Replace "Set Program Access and Defaults" Start Menu XP with trash:
    http://groups.Google.com/group/Microsoft.public.WindowsXP.customize/browse_thread/thread/1479ca45f5598b84/91bef4c26cd81c6b?q=replace+%7B2559A1F7-21D7-11D4-BDAF-00C04F60B9F0%7d
    Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]

  • How can I add a link using the adobe reader software?

    How can I add a link using the adobe reader software?

    Hi johnny05,

    This isn't something you can do with Adobe Reader. To edit a PDF file, including adding a link, you must use Acrobat. We invite you to try Acrobat DC for 30 days; You can download a trial of this page: Download Adobe Acrobat free trial version | Acrobat Pro DC.

    Best,

    Sara

  • How to add more application under the new tab shortcuts when we right click on the desktop.

    How to add more application under the new tab shortcuts when we right click on the desktop.

    Hello

    I suggest you to post your questions in the forums 'Development of the User Interface for Windows Desktop' for better assistance.

    Here is the link: http://social.msdn.microsoft.com/Forums/en-US/windowsuidevelopment/threads

  • How to add a shortcut in the taskbar next to the Start Menu?

    I would like to know how to add a shortcut in the taskbar next to the Start Menu (a place with a small shortcut icon).

    Does anyone have any suggestions?
    Thanks in advance for your suggestions

    Hello

    Have a look here: http://www.sevenforums.com/tutorials/397-taskbar-pin-unpin-program.html

    When you scroll down on this page, you will find a lot more "pin to taskbar" - tutorials.

    Take a look at this little program free of practical assistance, too: http://winaero.com/comment.php?comment.news.108 of the taskbar Pinner

    I hope this helps.

  • How to add a link embedded in an image

    My need is to add a link to the image to my frame and then incorporate him (on chassis or document). I won't show the image.

    what I've done until now is,

    1. I selected the image using the application of the "SDKFileHelper.h" in the sdk.
    2. then I converted this file to a URI.

    That's all.

    There are few classes for links that I discovered. ILinkManager, ILInksManaget, ILink, ILinkReosource... etc.
    But there is not any good sample to see the use of those.

    Can you please tell me how I can integrate the image link in the frame of the document.

    First place the image file in a frame.

    You now once the frameRef do what suite:

    LinkUID UID is Utils()-> FindLink (frameUIDRef);.

    If (linkUID! = kInvalidUID)

    {

    ResourceUID UID is Utils()-> FindLinkResource (frameUIDRef);.

    InterfacePtr linkRes (pageItemUIDRef.GetDataBase (), resourceUID, UseDefaultIID());

    {If (linkRes & {linkRes-> CanEmbed())}

    linkRes-> Embed();

    }

    }

  • How to add a space between the currency symbol and price?

    Hello

    Can you please guide me how to add a space between the currency symbol and price?

    Support told me this question in the forums because it is done with JavaScript and it is not covered in the official documentation.

    Any who have done this? I would like to turn 20 at 13.20 RON RON13 or 32, 90 to 32,90 USD.

    Thank you!

    Hello.

    I test and it works.

    If any who need it, this is how I did it.

    I changed the models of Modules-> page layouts of the shop online-> overall layout.

    I added at the end of the HTML code, the code following JS:

    The result can be seen here: http://magazindepiese.worldsecuresystems.com/accesorii/chimice?Page=1&Items=12

    Instead of PRICE: RON22, 62, now it's READY: 22,62 RON that is correct for the Romania.

    Thank you Mario!

  • How can I remove links to the latest features of the homepage of FF

    How can I remove links to the latest features of the homepage of FF. See screenshot. I want deleted url.
    Sorry screenshot has not shown the first time


  • How to create a link on the web to use in an e-mail?

    I don't know how to create a link on the web that I can put in the e-mail addresses. Could you help me please? I know it must be very simple, because thousands of others do regularly. Thank you.

    Katy Anderson

    You can use file-> Send link or copy the web address of the address bar and paste it into an email.

    You are using an older version of Firefox (3.0.7) - you need to update as soon as possible

  • I use the full version of DASYLab 8.0, how to add PID module in the design of the façade (window layout)? while I can vary the p, i, d values in the window layout

    I use the full version of DASYLab 8.0, how to add PID module in the design of the façade (window layout)? while I can vary the p, i, d values in the window layout

    To do that you will need to change the varibles PID values and then use the sliders to add numbers to a latch for variables that point.

    This is how I think it works in Version 8.

    In all cases, you should move on to 12 more stable summer.

    In addition, unless that is a very slow process, I generally do not like closed loop PID with DASYLab due to the fact that computers is not reliable with timing.

Maybe you are looking for