How to show photo in form portlet when using ORDSYS.ORDIMG?

I built a Form based on table that has ORDSYS.ORDIMG column.
When I query the form,the photo shows. And then I publish this
form to portal and add in a page. But the form portlet doesn't
show picture, when I query. Why? What should I do?
Please help me. I'm looking forward to hearing from all of
you
Thank you,
Sirin

Well I don't know how to use the ORDSYS.
So I've created a solution myself using javascript.
I created a table with a column "image" as VARCHAR2. Using the portal image fieldtype (in a form) will store the image name in the table-column and the actual image in a portal own table.
1) First in the form added a new field (label only)
2) The label is "<IMG SRC=/images/blank.gif NAME=test>"
NB. I'm not sure if I added the blank image myself or not but it is a small gif in the images directory with only a transparent color.
3) In the Additional PL/SQL Code section ... after displaying the page I added the following code;
DECLARE
v_image VARCHAR2(200);
BEGIN
v_image := p_session.get_value_as_VARCHAR2(
p_block_name => 'DEFAULT',
p_attribute_name => 'A_<imagefieldname>');
IF v_plaatje IS NOT NULL THEN
HTP.PRINT('<script language="JavaScript">
if(document.images)
document.test.src="http://<hostname>/pls/portal30/docs/'||v_image||'";
</script>');
END IF;
END;
Regards,
Arnoud Koot
Oracle Web Consultant
http://www.thedoc.nl

Similar Messages

  • How to show chinese char form db in my jsp portlet?

    How to show chinese char form db in my jsp portlet?
    I had tried to set contentType in renderResponse, but itn't work ..

    Bent,
    You can access the database from your Java portlet, just like from any other Java/JSP environment. Yes, you can use JDBC, as well as BC4J.
    The Discussion Forum portlet was built using BC4J, take a look at it's source to see how it was done.
    Also, check out Re: BC4J Java portlet anyone?, it contains a lot of useful information too.
    Peter

  • Nested Skip Logic: How do I create a form where when a top-level option has changed, that its related sub-fields will retract (disappear)?

    How do I create a form where when a top-level option has changed, that its related sub-fields will retract (disappear)?
    (This question was asked also in 2012 and 2013, but no answer has been provided.)
    THANKS
    Deborah

    Hi qwerty,
    Dun tink that creative customer support sucks cos I had been dealing with them in the past and I can say that their service are quite gd and fast. If you wanted a refund, I tink you need to contact the store that sells you the product. Dun tink creative will refund you though.

  • How to set fetchsize of sql Query when using Database Adapter.

    Hi All,
    I am using DatabaseAdapter to connect to database and retriving huge amount of data.For improvement in the performance I want to set the "fetchsize" of sql query. I know fetchsize can be preset in Java using Jdbc 2.0 API.Please let me know how to set this value in BPEL when using DBAdapter?
    Thanks
    Chandra

    I talked to the developer of the db adapter - and he told me this feature will be available in BPEL PM 10.1.3 (which is supposed to be production later this year, and a public beta soon). If this is an emergency I would recommend going throug Oracle support and have them file an enhancement for 10.1.2.0.2
    hth clemens

  • How to transfer range parameter from vb when using bapi calling

    Hi,everyone.how to transfer range parameter from vb when using BAPI calling?

    Did you get the solution to your problem?  Can you please share it with me. I have a similar problem. I have a VB program that calls RFC function. It works with a single parameter but not with a range of parameters. If you have the solution, could you please share sample codes with me? Thank you so much.

  • How do images embeded in InDesign link when using Creative Cloud on more than two desktops?

    How do images embeded in InDesign link when using Creative Cloud on more than two desktops?

    If I am understanding your question correctly, you shouldn't have to worry about embedded images in InDesign. Once embedded, the image is stored within the file.
    If you are wondering about linked images... InDesign will follow the path on your computer and, if it does not find the image, you will recieve a notification. Edit: To prevent this, I would suggest packaging your file using File > Package... This will create a folder with all of your fonts and linked graphics so that you need not worry about broken links.  I just remembered that you cannot upload folders directly to Creative Cloud so a packaged folder wouldn't be very helpful unless you wanted to upload each file manually.
    The best solution I see right now is to either embed the graphics in the document, or upload the images with your document to relink.
    I hope this helped,
    Michael

  • IPad showing photos in about settings and using gb space despite being deleted

    iPad showing photos in about settings and using gb space despite being deleted

    And it is not Photo Stream photos that you are seeing reflected?
    Try resetting your device(nothing will be lost): Hold down the Home and Power buttons at the same time and continue to hold them down until the Apple appears (up to 30 seconds). Once the Slide to Unlock screen redisplays, see if the issue is resolved.
    If it isn't try syncing with iTunes on the computer you sync with, and uncheck "Sync Photos". See if that clears it up. If it does, then re-sync the photos that you want.
    Cheers,
    GB

  • How do you update the Bios safely when using onboard RAID mirror? Z87-G45

    How do you update the Bios safely when using onboard RAID with Z87-G45?   I'm using a simple two drive, RAID 1 mirror setup.
    I'm currently at bios 1.4, and want to move up.  However, last time I upgraded the BIOS, the machine rebooted with improper settings for the RAID (they get hosed during BIOS flash) and Windows decided to auto-repair the only boot drive it could see, one half of the mirror, because it couldn't see the RAID array correctly and *POOF*  bare-metal reinstall required.   
    My PC will not let me press the DEL key on bootup to access the bios, even with MSI Fast Boot not installed.  It just ignores the DEL key and tries to load windows which, if that happens, will flame-out my RAID array after a bios flash if I can't catch it to enable the RAID first before windows loads.
    I do not want to rebuild my PC again simply because I do a BIOS update.

    FYI: BIOS 1.4 & 1.8 are using the same RAID version: 12.7.0.1936
    based on this RAID surprise should not hapends.
    But as pandaz says if you have no issues, leave bios update alone.
    there are still risks something to messed up,
    best do a backup of your data just in case if you want to try latest version

  • What shows on screen at startup when using find my mac if owner locks it?

    what shows on screen at startup when using find my mac if owner locks it?

    A gray screen where they will have to enter a six digit passcode to unlock the Mac. If the Mac were being used and the remote lock sent, the computer would re-boot to this screen.

  • How to show photo galleries made in Bridge in Contribute CS4 - Help?

    Hello,
    I have created a photo gallery in Bridge and I cannot find out how to show this in my website. I've uploaded it to my ftp site but I cannot see how I can add it to my website. I have a gallery page on the website - does anyone know how I can find the code to this gallery so I can add this to the web page?
    Any help would be much appreciated - I'm still learning as I go with Contribute and so far the help files have been pretty poor.
    Cheers

    Thanks for your response but the link is missing - can you resend it please?
    Much appreciated

  • How to show photos in report ?

    I build table that has ORDSYS.ORDIMAGE column. Then I build
    report to show these picture but it don't show photos. It just
    show links to display photos while I'd like to display photos.
    I've set this column formatting as HTML.
    What should I do? Please tell me.
    Thank You

    Hi,
    Tnx guys, maybe il try it (about ORDIMAGE) some other time. I have an urgent task to do.. We are now migrating our application from the developement server with 9iAS 1.0.2.0.0 with Portal 3.0.6. Im having a problem on migration, coz the export/import utility of Portal 3.0.6 fails. Some guys like us from other discussions agree to that. So i upgraded my production instance to 9iAS 1.0.2.2.1 with Portal 3.0.9.8.2. with patch 30982. In which they the bug for export/import is fixed.
    Im posting my problem to you guys, maybe u can help me...
    How can i export my application running on Portal 3.0.6 (with a bug on export/import) to a production instance Portal 3.0.9.8.2? Can it be posible to migrate a portal instance from a lower version to ahigher version of portal?
    Some guys suggest for me to upgrade my development instance to Portal 3.0.9.8.2.. but i cannot do that.. coz it might destroy our application currently running on that developement servers over Portal 3.0.6.
    Pls do suggest.. coz it might be a great help to us.
    Tnx in advance,
    jeri

  • How to show photos on TV

    How do you show photos from ipad1 to TV?

    I'll try this tonight but i'm thinking I have a Wii, which has wireless and a photobucket so maybe connect the Ipad to the Wii via bluetooth and view pics that way?
    Just a thought...

  • Can someone tell me how to show a different main menu when someone is logged in?

    When a customer is logged in they can see secure pages. I also want a different menu to appear when logged in, and when logged out I want the menu to go back to normal. Can someone assist please? Let me know if you need more information from me. Thank you in advance!!

    I recommend referring to the following forum post on how to achieve this: Re: Secure Zone - show, hide, or disable content when a user is recognized as logged in.
    To summarize, you would need to use the module {module_isloggedin}  which will render a 0 or a 1 based on whether the customer is logged in or not. With a combination of CSS/JS, you can specify a different menu to display based on whether they're logged in or not.

  • How can I increase the thumbnail size when using Safari to upload an image to a website?

    I upload many images to multiple websites and when using Safari to upload these images, the thumbnails are so small I can barely make out what the image is. I can easily figure out how to increase the thumbnail size when viewing them in Finder and set the default to my liking, but I cannot seem to find a way to do this in Safari. The last topic I saw on this was form 2013 and have not seen any update. Is there a way to do this?

    Delete all unused, invisible layers.
    Sometimes zip compression is better than jpg compression (in the pdf output settings). Zip is lossless, and works better with non gradient colour or no images.
    Flattening the image before you save it to pdf can reduce the file size if you are using jpg compression.
    Post a preview of your pdf and we can comment further on how to reduce the file size.

  • How do you turn off Flash audio when using captivate Nav bar?

    Hi Guys and Girls
    I have an imported flash file that plays an audio track,
    I have no problem turning the audio off, when the user uses
    the button within the flash file to go to the next slide in the
    captivate movie...
    on(release){
    stopAllSounds();
    _root.rdcmndNextSlide = 1;
    BUT if the user decides to use the navigation bar within the
    captivate movie it all goes pair shape.. The flash audio continues
    to play into the next slide. Anyone have a know how to solve this
    problem?
    How do you tell flash to stop playing the audio when using
    the captivate navigation bar?
    (The flash file is a flip book and the audio NEEDS to stay
    within the flash file)
    Cheers
    Aquil0

    Thank you! Thank you! Thank you! This totally solved my issue. I had a Captivate 4 movie using an embeded animation that had audio. It would play the audio again when the next slide appeared. I have to use Captivate 4, because my audience still uses Flash 7 (yikes). However, if you have Captivate 5 and are having this problem there is a widget that solves this issue: http://blogs.adobe.com/captivate/2010/11/animations-%E2%80%93-audio-sync-issue.html#commen t-3872
    Thanks!
    EliteEraser

Maybe you are looking for

  • Can i connect a external hard drive to apple tv 3 generation, for see my movies itunes with out use streaming or icloud?

    can i connect a external hard drive to apple tv 3 generation, for see my movies itunes with out use streaming or icloud?  in apple tv 3 and 2? That  i want to know is i can connect a external hard drive to apple tv, for see my movies that i keep in m

  • How best to update Dev from Production

    Hi experts, I have a  project coming up and I need help in knowing how best to restore our BW development/VAL to be in sync with production, we intend to copy production into dev. I need ideas as I have to meet with basis team to figure out how best

  • Easy DMS and object links

    Hi I have added cProjects object links from DMS. It works fine if I create an object link from cProjects, but if I add an object link from DMS there is no link created in cProjects. Ideas anyone?? Regards Camilla

  • HOW COULD CONNECT FROM SAP SYSTEM TO THIRD PARTY JAVA APPLICATION

    HI expects,         HOW COULD CONNECT FROM SAP SYSTEM TO THIRD PARTY JAVA or . DET APPLICATION.please provide me some scenarios and documents.please help me.

  • Complementos incompatibles

    hola! he actualizado firefox a la version 6 y resulta q uno de los complementos que es muy util, no funciona, este es la barra Google, la cual me permite tener en la barra de herramientas el buscador de google y ademas al abrir una nueva pestaña most