Include the anchor and image with apex_item.text

I wonder if it is possible to include an anchor and an image with the apex_item.text function. I tried to use the p_attributes parameter in the function, adding an anchor tag and tag the image. When I discovered the page, I can see the image and the link goes to the page I want, however, to the right of the image I see not what turns out to be my p_item_id parameter. In my case it appear on the page as a id = "f1_1" / > just to the right of the image.
SELECT apex_item.text(1, ID, 15, 15,
           '<a href="f?p=&APP_ID.:23:&SESSION.::::P23_ID:#ID#" >
             <img src="#IMAGE_PREFIX#e2.gif" border="0" ></a>',
           'f1_' || ROWNUM, null) ID,
In addition, the #ID # point the value of the href above URL (f? p = & APP_ID.:23: & SESSION.: P23_ID: #ID #) does not pass the value of the element, rather it passes #ID # as value, any thoughts on how to pass the value of the line in a table would be greatly appreciated.

Our version of the ApEx is 3.2.1.00.10

Concerning
Mark

Published by: bohnensm on July 12, 2010 12:04

Published by: bohnensm on July 12, 2010 12:05

Mark,

apex_item. Text renders a text field, you try to include your own HTML (image + anchor) code as an attribute of this text field. This will generate incorrect HTML code. Instead you can concatenate the string generated for the text with your HTML code field, i.e. move it out of the text field:

SELECT Apex_item.text (1, ID, 15, 15, null, 'f1_' |) ROWNUM, null).
'',
« f1_ » || ROWNUM ID, null)...

Kind regards
Marc

Tags: Database

Similar Questions

  • How to export my history of travel (including the date and time) to a text file?

    I need to collect data on the amount of time I spend on specific sites, research on my thesis topic. In my browsing history data. I need a way to export the data from the history file including the date and time information in a format that is easy to parse (.txt file delimited by commas, etc.)

    You are welcome

  • I have a problem with my indenting, there all of a sudden everything including the headers and about 2.5 inches in withdrawal. I have

    I have a problem with my indenting, there all of a sudden everything including the headers and about 2.5 inches in withdrawal.

    Looks like your BMP format is defined to respect the heads side.  Open the designer of TFP and try to put it like that...

    I have no idea why the script would have changed your BMP formats.  Depends entirely how the script was executed - the authore makes the script actually do.

    I suspect that you can import formats of a document where you have NOT run the script, and it would return to the formatting to the way you want.  I hope you save your work!

  • How to do an image have several clickable camp arrives with a box next to the image with a text. as I click on a bone in an image a box comes up next to the image with which are the OS.

    How to do an image have several clickable camp arrives with a box next to the image with a text. as I click on a bone in an image a box comes up next to the image with which are the OS. I have cs6

    This article has very clear steps & description of what you're trying to accomplish:

    http://Demosthenes.info/blog/537/enhancing-Imagemaps-with-CSS3-popups#wheelset

  • Add the date and time to a text field when the form is submitted

    Is it possible to add the date and time to a text field where the user is clicking the button of form submit?

    I created a custom send form button and do not use the distribution process to collect the results and would like to have a time stamp of when the form has been sent.

    Thank you!

    Sure. Before your submit order add a command run JavaScript with this code:

    this.getField("SubmitDate").value = util.printd ("mm/dd/yyyy hh: mm", new Date());

    Change the field name or date that required such boss.

  • When you use Adobe Acrobat Pro DC, how do I convert my PDF to Excel and have it include the header and footer from the original PDF? I can't get it on down to the Excel worksheet.

    When you use Adobe Acrobat Pro DC, how do I convert my PDF to Excel and have it include the header and footer from the original PDF? I can convert all information of an organization but the footer and header with no discharge in the excel worksheet.

    Hi trudyb54940538,

    Converting PDF file to sheet Excel spread, header & foot is not included.  I am able to reproduce the problem at my end.

    Thanks for reporting the issue.

    Kind regards
    Nicos

  • How to create a full page border, including the header and footer?

    Hello

    So, I'm new to Muse but I'm loving far! I am trying to create a border of 1 px around the entirety of my page, including the header and the footer, which surrounds the whole of each page (regardless of the specific height of the page). I tried to create the border on the master page, but on other pages, the border is that the size of the image of the master page, no matter how large, I put the master page.

    Is it possible to have an object extends through (and around) the header and footer and scale to the size of the page, depending on the amount of content there is on the page? Thank you!


    John

    Go to your master page, deselect all items, and then use the run command in the command band on top of the application window.

    Your second question: element use identical 2, which lie precisely on the other. Pin the element of punch to the top of the page and the second to the bottom of the page. If the page grows, it will look like a, item "long".

  • Dynamic PDF up to 200 images, the size of the pdf is greater, cannot save the data and images to the form

    Hi all

    My client would like to dynamic images up to 200 photos to my forms. It works very well. However, when I add images up to 35 images. I could not add images to shape more. Then I save data on the form. All the images and the data entered on the form are missing. I don't know why.

    If I add only 10 images - I can record data and images on the form. 15456 KB is the size of the pdf.  I was unable to add more photos or data on the form.

    There may be a problem the size of the pdf? How big can make a limited dynamic pdf?

    Can save us the information and images as much as we want?

    I spent two weeks to work and trying to figure out this problem. However, it is not successful.

    Help, please

    Cindy

    You must ensure that your users do not import large images.

    Therefore, you can use a script on the change event of an image field that checks the size of the data and warns the user if the file is too large.

    function formatNumber(number) {
        var num = number + '',
        x = num.split('.'),
        x1 = x[0],
        x2 = x.length > 1 ? '.' + x[1] : '',
        rgx = /(\d+)(\d{3})/;
        while (rgx.test(x1)) {
            x1 = x1.replace(rgx, '$1' + ',' + '$2');
        }
        return x1 + x2 + "KB";
    }
    
    var sizeLimit = 200, //allow upto 200KB images
      thisSize = Math.round((this.value.oneOfChild.value.length * 3 / 4) / 1024);
    
    if (sizeLimit > 0) {
      if (thisSize > sizeLimit) {
      xfa.host.messageBox("Note: With " + formatNumber(thisSize) + " the size of the imported image is greater that the recommended maximum of " + formatNumber(sizeLimit) + ".\nLarge images can cause a insufficent performance.\n\nIf possible, use images with the following recommended specs:\nFormat:\t\tPNG or JPG\nColor depth:\t8 Bit (higher is not supported)\nColor space:\tRGB (CMYK is not supported)\nFile Size:\t\t" + formatNumber(sizeLimit), "Recommended image size exceeded", 3, 0);
      }
    }
    
  • How can I change PRINT &gt; MARKS AND SAIGNER to include the size and location of the file?

    We are trying to create a physical catalog of signs and would like some kind of automation in each file with the location and the size of print.  Is it possible to customize this brands and appearing in the dialog impression of bleeding?  Is there a different way I could get the same result?

    Thank you.

    You probably want to use InDesign for that. Instead of each print file and combine them in a catalogue, place the files in a page in InDesign, generally there are several items per page, but it is up to you. You can add captions to your placed files (object > caption > caption installation), captions can pick up and include metadata of the placed file, including the path and of the size, among other things. There are also specific catalog software, but maybe it's more that you need.

  • Vector map of the USA and Canada with the boundaries of State and province

    Hello

    I'm looking for a map free vector of the USA and the Canada that includes the States and border provinces on this subject so I can fill in each State with different colors. I searched and searched, but didn't succeed. Anyone here have any ideas? Thank you.

    Mark

    It looks decent.

    http://Commons.wikimedia.org/wiki/file:BlankMap - USA-States-Canada-provinces, _HI_closer.svg

    I don't think you looked very hard.

  • I've updated VIA / S3G UniChrome IGP plug-and-play reverse, but the update still no resolution 1600 x 1200 with the exception and others with the same ratio of 4 x 3.

    I've updated VIA / S3G UniChrome IGP plug-and-play reverse, but the update still no resolution 1600 x 1200 with the exception and others with the same ratio of 4 x 3. That did not help.

    Hello

    1. What version of Windows are you using?
    2. What is the brand and model of the computer?

    I suggest to run the patch from the following link and check the status of the issue.

    Hardware devices do not work or are not detected in Windows.

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    If the problem persists, I suggest you to send us more information to help you better.

  • I'm administrator, but do messages telling me that what I want to do is forbidden by the administrator and verify with the system administrator

    original title: administrator problem

    I am the administrator with a password (in fact the only user of my computor) but continue to receive messages telling me that what I want to do is forbidden by the administrator and verify with the system administrator. How to work around this problem? My os is Vista Home Premium.This happens more frequently when I try to remove a program

    According to what "program", you tried to 'delete '.

    If one of these programs to the system, you will get the message.

    If it's one of those programs that you have installed from the web, try one of these programs to "Uninstall" part 3:

    Revo Uninstaller 1.91
    http://download.CNET.com/Revo-Uninstaller/3000-2096_4-10687648.HTML?tag=mncol

    IObit Uninstaller 1.1
    http://download.CNET.com/advanced-uninstaller-free/3000-2096_4-75157230.HTML?tag=mncol

    Advanced Uninstaller Free 10.1.1
    http://download.CNET.com/Revo-Uninstaller/3000-2096_4-10687648.HTML?tag=mncol

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • When you use the pen tool when I click and create an anchor point and release the mouse button the pen tool emerges from the anchor and allow me to go and select a new anchor point. The right pen tool keeps adding lines that I move the mouse.

    When you use the pen tool when I click and create an anchor point and release the mouse button the pen tool emerges from the anchor and allow me to go and select a new anchor point. The right pen tool keeps adding lines that I move the mouse.  How can I get the pen tool to release the anchor

    Try this.go in the menus. Select cc illustrator > preferences > display selection & anchor > then make sure the box "activate the rubber band for" the pen tool is not selected. Then press OK. It should work.

  • I could only browse to files on my android app dc adobe phone in the gallery and image files, but not other folders

    I could only browse files on my phone android app dc adobe in the folders of the gallery and image, but I could only browse files on my phone android app dc adobe in the folders of the gallery and image, but not the other files

    Hi Buckyball1982,

    What version of Android phone do you use?

    You have a built-in file Explorer or any Explorer third-party file installed on your phone?

    If not, then I recommend you to install an Explorer of files on your phone and you would be able to browse the files in the Acrobat DC application on your Android phone.

    Kind regards

    Rahul

  • Collect the fonts and images in Illustrator

    Hello

    In addition to using a plugin or software to collect the fonts and images, is it possible to carry out this action in Illustrator. Perhaps, even showing the path or the location of the fonts/images is easily accessible.

    Sutagami

    Given that I cannot even keep that part on the external link images vs straight embedded images, the chances of a mode of work to collect assets are thin... I agree, however, that these days, just send a PDF file is the surest and most send the files, so why not try it?

    Mylenium

Maybe you are looking for

  • Put the iMac to sleep

    How I can put the iMac to sleep automatically after a certain time. I don't have this option in energy saver (only display option appears).

  • How can I keep Firefox 22 update my site of the University being incompatible with later versions

    By taking courses online from Northern Arizona University, told me that the University website does not work with Firefox 23 and 24. Before can register it for this course of study my computer was updated to 24, as is normal. I downloaded the version

  • 2007 MacBook Pro gel

    Hello It is a recurring problem, even after dry and re - install, can someone shed light on this, the MBP dies? Yosemite, tried running Reset the PRAM and NVRAM on your Mac. MacIntel: Reset of the controller (SMC) system management same problem occur

  • taskbar flashes t410i

    HelloAfter I updated my windows 7 professional 64 bit last night, my taskbar, especially and almost that, battery icon of time and... Are start blinking and flashing for seconds, then stop and after minutes it flashes again.what should I do?

  • Move data directly from inside the loop

    Is it possible to move data directly from inside a loop outside the structure of matter in real time? I would like a chart of the data in a structure of matter in real time outside the structure of the case. Ideally, it would include information of t