Images in web forms R6.0

Leaving the client/server configuration and entering the true
three-tier solution should be easy, says oracle.
Then tell me how to
"Create a container class extending then VBean"
to invoke forms 6 to show a blob-stored jpg-file.
Has anyone done it already ?
I who only work with Developer tools and not yet have begun to
master the mystery of java (read JDeveloper) are stranded as of
now.
null

Found this somewhere on the web long back.
Not tested, never really had to use blob
create table demo
( id int primary key,
theBlob blob
create or replace directory my_files as '/export/home/tkyte/public_html';
declare
l_blob blob;
l_bfile bfile;
begin
insert into demo values ( 1, empty_blob() )
returning theBlob into l_blob;
l_bfile := bfilename( 'MY_FILES', 'aria.gif' );
dbms_lob.fileopen( l_bfile );
dbms_lob.loadfromfile( l_blob, l_bfile,
dbms_lob.getlength( l_bfile ) );
dbms_lob.fileclose( l_bfile );
end;
Now here is the package that can retrieve the pdf (or anything for that
matter. Just keep adding procedures that are named after the file type like
.doc, .pdf, .xls and so on. Some browsers really want the extension in the URL
to be "correct")
create or replace package image_get
as
procedure gif( p_id in demo.id%type );
end;
create or replace package body image_get
as
procedure gif( p_id in demo.id%type )
is
l_lob blob;
l_amt number default 30;
l_off number default 1;
l_raw raw(4096);
begin
select theBlob into l_lob
from demo
where id = p_id;
-- make sure to change this for your type!
owa_util.mime_header( 'image/gif' );
begin
loop
dbms_lob.read( l_lob, l_amt, l_off, l_raw );
-- it is vital to use htp.PRN to avoid
-- spurious line feeds getting added to your
-- document
htp.prn( utl_raw.cast_to_varchar2( l_raw ) );
l_off := l_off+l_amt;
l_amt := 4096;
end loop;
exception
when no_data_found then
NULL;
end;
end;
end;
/

Similar Messages

  • Oracle BLOB  Display an image in Web Form

    I have an Oracle database that stores image data. The data type of this image column is BLOB. I created a Window application using Visual C#, Oracle Provider for OLE DB to display the images on the Window forms. The mechanism to retrieve the data from Oracle database from client is to call an Oracle stored procedure that returns BLOB type. Now I want to convert it into Web application. I have difficulty to find
    (1) Appropriate web control
    (2) A way to bind OracleLOB object to this web control so the image can be displayed.
    I am aware of the fact that in ASP .NET you can use ImageUrl property of an Image object to link a file stored in a particular URL.
    Your help is very much appreciated.

    Hi ,
    Please can you give me some examples or where can i find the solution.
    Can you guys send some FMB examples on [email protected]
    Please reply as sson as possible because we got stuck up here.
    Regards,

  • Image files not loading continuously on Web Forms

    Hi
    I deployed my application on web which is developed in Forms6.0
    but I am having problem with Image Items(Background Logo).
    We are not able to see the images on web forms continuously.
    Some times they(Image) load onto web & some times with out . I
    couldn't figure out the problem.
    If any body knows please let me know.
    Thanks
    Rao Guduru
    null

    @Ben Pleysier
    Yes, I have the files saved into the site folders, however, when I drag and drop or insert via menus in design view, they do not appear on the page.
    This is working for all my other pages though.

  • How to retain focus in Web forms 6i item when displaying pdf image

    How to retain focus in Web forms 6i item when displaying pdf image in a multi-record block?
    Hello.
    I have a Web Forms 6i program (version Forms 6.0.8.19.2) running in a 3-tier application. The web form program has a multi-record block containing invoices. When navigating to a record, the form should display the PDF invoice image which is stored in an Oracle 8.1.7 database as a BLOB in another window. When user press down-arrow, the next PDF invoice image should be displayed.
    I am able to accomplish the functionality above by using web.show_document('URL', target') in the when-new-record-instance. The URL being called is a PL/SQL Web Toolkit stored procedure using wpg_docload.download_file built-in.
    The problem is that the focus is lost on the Webform and the focus is shifted to the PDF image window when you navigate to the next record using down-arrow. I want to retain the focus in the form as this is a data-entry form, the operator will use down-arrow to go to the next-record rather than the mouse. I also only want to do this for this Invoice Entry form and NOT to all forms.
    Please advise how to resolve this problem. Thank you.
    Regards,
    Armando

    Magesh,
    the issue of a SSO protected form showing the logon dialog is a knwon issue for Windows200 and the Oracle9iAS base release. If you applied Forms Patch 1 then this should be solved. Hope that I am right in that you are using Oracle9iAS and not Oracle9iDS. Do you see the Single Sign-On logon screen or the Forms logon dialog directly? Check the forms90.conf file in teh forms90/server directory as this contains the Form sso settings (mod_osso) which by default is commented out and therefore inactive. You need to remove the commenting '#' characters and make sure that each sentence having a '#' in front, after that starts on a new line.
    The Forms deployment documentation within the Oracle9iAS docu provides this information too.
    Frank

  • Integrate Image-Select to Composite Web Form

    Hello,
    I try to integrate the ImageSelectComponent to a new web form by using the HowTo-Guide "Creating Component Editors for Composite Web Form Elements", so that the component will be displayed like the HtmlEditorComponent.
    That's not so easy as I thought, because I know nothing about the other components.
    [HowTo Guide|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30c46426-829b-2b10-4286-ec70189e5de5]
    So can someone please help me?
    Best Regards
    Marco

    Did you select Run "Rules from Form XX" in composite Form Business Rule section and select Run on save option ? Can you please provide screenshot of your BR section in Composite form and simple form ??

  • Is Minimal OPTIN no longer working in Web Forms ?

    I cant seem to get the code to auto optin
    I created a web form, which includes the newsletter checkbox for a newsletter email list. I hide that, and make sure it is checked, as we *** add &OPTIN=TRUE
    Now the inline editor changes it to &OPTIN=TRUE and maybe that is my problem - no idea.
    Here is the code
    <form name="catwebformform45938" method="post" onsubmit="return checkWholeForm45938(this)" enctype="multipart/form-data" action="/FormProcessv2.aspx?WebFormID=34136&amp;OID={module_oid}&amp;OTYPE={module_otype} &amp;EID={module_eid}&amp;CID={module_cid}">
    <span class="req">*</span>  Required
    <table border="0" cellspacing="0" cellpadding="2" class="webform">
    <tbody>
    <tr>
    <td>{module_ccsecurity}</td>
    </tr>
    <tr>
    <td><label for="Title">Title</label><br />
    <select name="Title" id="Title" class="cat_dropdown_smaller">
    <option value="68127">DR</option>
    <option value="68125">MISS</option>
    <option value="68123" selected="selected">MR</option>
    <option value="68124">MRS</option>
    <option value="68126">MS</option>
    </select></td>
    </tr>
    <tr>
    <td><label for="FirstName">First Name <span class="req">*</span></label><br />
    <input type="text" name="FirstName" id="FirstName" class="cat_textbox" maxlength="255" style="background-image: url(data:image/png;base64,ivborw0kggoaaaansuheugaaabaaaaaqcayaaaaf8/9haaabhkleqvq4eavto26 dqbd1ohqwas2lg9jybz+ak7hnwx2oiovf4upq0lj1fdkktevipel8aknukdcwmxpgsaieatvv3sx7uztitdu2s/98d ywow3dued4who/m2aix5lzv1aesy0+qiwhelyi+ytl0pq69sxaxkwia4rmrtdnske59jumcuzd6xiafez6fgcdj8ky 4y7kautrngd7jyebxsdope3a0qgpsnionnymo67lgsqn9t41f2qgrqrrfcwyzoif2qybukkbcogpxdvey9rmwgnsjf 9ccyesjhk3f5dyt1hx9gr0llqr30tnjkuecx2uius4rni+aj6sjr0am8aaumpam/rrehywhxqbfaa9kh3/8/nvhxay gasz/il8ialkclbfnvaaaaabjru5erkjggg==); background-repeat: no-repeat; background-attachment: scroll; background-position: right center;" /> </td>
    </tr>
    <tr>
    <td><label for="LastName">Last Name <span class="req">*</span></label><br />
    <input type="text" name="LastName" id="LastName" class="cat_textbox" maxlength="255" /> </td>
    </tr>
    <tr>
    <td><label for="EmailAddress">Email Address <span class="req">*</span></label><br />
    <input type="text" name="EmailAddress" id="EmailAddress" class="cat_textbox" maxlength="255" /> </td>
    </tr>
    <tr>
    <td><label for="CAT_Custom_179832">Property Address</label><br />
    <textarea name="CAT_Custom_179832" id="CAT_Custom_179832" cols="10" rows="4" class="cat_listbox" onkeydown="if(this.value.length&gt;=4000)this.value=this.value.substring(0,3999);"></text area></td>
    </tr>
    <tr>
    <td><scan class="hide"><input type="checkbox" checked="yes" name="CampaignList_10142&amp;OPTIN=TRUE" selected="checked" />Subscribe to: Newsletter</scan></td>
    </tr>
    <tr>
    <td><input type="submit" class="cat_button" value="Submit" id="catwebformbutton" /></td>
    </tr>
    </tbody>
    </table>
    <script src="/CatalystScripts/ValidationFunctions.js" type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[
    var submitcount45938 = 0;function checkWholeForm45938(theForm){var why = "";if (theForm.FirstName) why += isEmpty(theForm.FirstName.value, "First Name"); if (theForm.LastName) why += isEmpty(theForm.LastName.value, "Last Name"); if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value); if(why != ""){alert(why);return false;}if(submitcount45938 == 0){submitcount45938++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
    //]]>
    </script>
    </form>
    The problem is that, the subsrcibee does not get the optin email, which is good, but he is not subscribed either.

    so I added &OPTIN=TRUE to catwebformform45938
    so I had this catwebformform45938&OPTIN=TRUE
    Which actually did subscribe them to the newsletter
    However, they still got -
    a) The landing page after subscription now shows
    Campaign Newsletter Subscriptions
    [Newsletter] - requires you to verify your subscription.
    b) The email received now has the link in it.
    I tried also adding it back to where I had it before, but then it went back to not being subscribed.
    How can I get the landing page and email to understand they are subscribed and dont need reminder or the link.

  • Possible to show file upload progress for web form submission?

    I just made a simple form as a test. There are 3 files being submitted here via a "web form".
    Files being uploaded in this case are of these sizes:
    110MB
    9MB
    24MB
    I'm testing functionality that will let a print shop's clients upload their files. For larger files they'll use FTP but this "order form" does a lot of business for them so we're trying to replicate in BC.
    My problem is that I am wondering if there is a way to show the "upload progress" as a total %. Such as a visual status bar, etc.
    As of now the only way it's showing is in the default browser status bar (chrome in this case):
    http://cl.ly/image/1d3U0S1h2521
    I read somewhere that the limit is 150MB for an upload. Wondering if that means 150MB TOTAL as in 3 files combined in my case. Or If I chose to allow 3 files to be attached would it allow for 450MB?
    Also, if you do a user submitted web app instead and allow people to attach files that way, does the same file limit apply?
    My second issue is that the upload speed seems to be SLOW. I know it's not my connection because on my non BC site as well as another with the same form, the files upload fairly fast. But on BC it just crawls and on a few tests I get this:
    http://cl.ly/image/2T2q160M1R1n
    Any help or suggestions with the file upload progress as well as file upload speed would be appreciated.
    Thanks!

    So if i have 3 files to be uploaded, the max allowed is 750MB correct? (just wondering if when uploading its 250mb total or per file).
    Guess i'll do something fake to make it appear its working with a loading graphic or something.
    My web browser (chrome in this case) shows the % uploaded. I wonder if all web browsers do the same. I havent tested yet.
    If only there were a way to have javascript or something grab that same #% from the web browser itself and just format it to appear where I want on the form along with the % uploading.
    Anyone know if that's possible?
    Here's where Chrome for mac shows it:
    http://cl.ly/image/1c3i3x25262j
    If I could grab that (uploading 19%) from the browser and format it into css/html i'd be gold.
    Then find if similar browsers do the same and write some js for each browser specifically to grab it.
    In a perfect world at least....

  • Cannot add Connected Service in asp.web form project in vs 2012

    Hi All,
    I m trying to add  Connected Service in asp.web form project in vs 2012 as shown below image. But my VS 2012 doesn't has that option as shown second image. Any help please.
    First image
    Second image 
    d.n weerasinghe

    Hi,
    If this is not a SharePoint related question, I would suggest you post it to Visual C# forum, you will get more help and confirmed answers from there.
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=csharpgeneral
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to get the full image directory when i upload the image to web page???

    hai, how to get the full image directory when i upload the image to web page???
    here is the example:
    <form action="uploadfile.jsp" method="post">
    image<input type="file" name="image" />
    <input type="submit" value="submit"/>
    <%
    String s=request.getParameter("image");
    %>
    <%=s%>
    </form>
    i upload the image from C:\image\center.gif. i use request.getParameter just can get the image name like "center.gif". Can anybody help me how to get the full path name. Thanks a lot..

    There is no need to get the path. It is also fairly pointless as the server cannot access the client's local file system.
    Carefully read this article how you can upload files the right way: http://balusc.blogspot.com/2007/11/multipartfilter.html

  • How to create Edit Image in my form

    hi All,
    I have a form with header and detail, in my detail block i need to add Edit Image in my form. When i click on this i should be able to open one of my text column.
    can any one please help me how to create new images....

    Siva,
    There is a different Technology Stack associated with the Enterprise Business Suite (EBS). amitphynyl is correct with the description of how to create a button with the edit.ico assigned to it, but with the EBS, you will want to speak to your DBA to get a list of all the Icons that are available as you will have more icons with the EBS than are available with a standard install of Forms Builder 6i. I would also suggest you ask your DBA to give you a copy of all the Icons so you can add them to your Forms Builder installation so they will be available to you during design of your Form.
    I would also recommend that you review the Oracle Applications User Interface Standards for Forms-Based Products guide in the Oracle Applications Documentation web site to ensure your Custom Form conforms to Oracle guidelines.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Web form editor in Oracle UCM

    Hi,
    I am using oracle UCM repository for the content management and its inbuid web form editor for creating HTML content.
    but when i am trying to insert image, it gives some 'server didn't send back a proper XML response' error.
    can anybody please help me on the same.

    See if this helps:
    http://cksource.com/forums/viewtopic.php?t=6642&f=5

  • IMAGES in WEB DEPLOYNMENT

    Hi all,
    I have a problem concerning images when my forms are put on the web.
    Configuration:
    FORMS 5.0.6.8.0
    => Java Client is in f50all.jar
    => Forms Server is f50srv32.exe
    ORACLE DB: 8.0.5.00
    NETSCAPE 4.08 or IE 5.50
    I have forms that have images as GRAPHICAL OBJECTS and/or IMAGE ITEMS in it
    If I open the forms normally in runtime I have no problems.
    As soon as I try to open them in NETSCAPE BROWSER
    I get message like this:
    FRM-9999 Network Error ....
    Java Exception: Null Pointer Exception ...
    at Sun.awt.SunTollkit.getImageFromHash(Compiled Code)
    at Sun.awt.SunTollkit.getImage(Compiled Code)
    when I open the form in BROWSER IE
    I get the form but with the IMAGES crashed.
    where is the problem ?
    shall I upgrade the BROWSER or is there a possible trick in settings of the FORMS server.
    thanks, any help appreciated.
    -Duro
    PS Otherwise I must make 2 sets of forms, one for normal use and one for web.
    null

    Your image must be in GIF format to display them on the WEB: convert !!!
    To check the running enviroment (on windows platforms) and load the image in container fileds you can use the following statement:
    IF get_application_property(USER_INTERFACE) != 'WEB' THEN
    READ_IMAGE_FILE(...);
    null

  • Getting started in Web Forms development.

    Hi There,
    I hope this is the correct form to be posting in.
    Ok, I would like to get into developing Oracle web forms.. I'm not really sure if thats the correct name. Below is an image of exactly what I want to develop. It is loaded up through a Java applet in the web browser but then loads up into a seperate window.
    http://www.excel4apps.com/oracle/downloads/glwand/3.90/user_guide/images/image198.jpg
    Somebody told me that I need to setup a database server along with an application server for the forms.
    I've been on the Oracle download site but to be honest there is a lot of stuff on there and I don't know where to start..
    I'd appreciate any advice on what is needed to get started and any tutorials people might be aware of. Can I start into this type of development free of charge or will I need to buy some licences for some of the software?
    Thanks in advance.
    Regards,
    Conor

    The image you posted is from eBS (Oracle Applications) and specifically setting profile values in this system.
    You can find info:
    http://www.oracle.com/technetwork/documentation/applications-089559.html
    the relative forums for all products of eBS are in:
    http://forums.oracle.com/forums/category.jspa?categoryID=3
    greetings,
    Sim

  • Adding Controls dynamically in the Infopath/Web form with dynamic controls

    Hello,
    The client requirement is to create SharePoint solution for the below image. A web form/Info-path form will be created where user can enter the details and data will be submitted. I am looking for a solution to implement the requirements in SharePoint .
    if not possible then using customizations and SQL server.
    User can enter the Title , Overview in the form , which we can make Single line and multiple line of Text. The problem is with third , fourth and fifth fields.
    1) In third field , i.e. Qualification Summary , User can add/delete , dynamic text boxes..This can be achieved I think using repeating tables/sections in Infopath...How data will be saved in SharePoint columns as it is not fixed that how many
    columns user can enter , how columns(static) will be created in the list ??
    2) For fourth field , user will select one or many Project description title n descriptions which are there in the system..User will not write anything just select..But how many project descriptions they can select , again its not fixed..How
    we can manage it in SharePoint List OR any custom solution  ?  
    3) For fifth field , user will select one or many Awards which are there in the system.User will not write anything just select..But how many awards they can select , again its not fixed..How we can manage it in SharePoint List OR any custom
    solution  ?  
    Vipul Jain

    >Lets say , the data for user selection is stored in two separate lists
    secondary data connection is only for one list so you can get data from only single list by creating list connection. Later you can drag & drop that connection as repeating table or bind with any control so display in form. If you have mulitiple list
    then you may use lookup column or would need to create two seperate data connection.
    >Do you think its a right approach ?
    multi selection listbox is helpful if requirement is select multiple records or filter records. You can almost achieve most of the requirement but still depends on business need. Ofcource some limitation is also there.
    >I'm planning to propose a custom .net form
    Of course custom form is always better than OOTB in some cases but i always prefer OOTB solution if my requirement is being achieved by it.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported.

    SharePoint 2007 custom (VS 2008) solution is upgraded to SharePoint 2013 using (VS 2012). I followed this approach.
    I had created new empty project (solution) in SharePoint 2013 using (VS 2012) compiled and deployed successfully. All safe controls are registered in the web.config file. After deploying solution i Restarted IIS also, still getting this error. How to resolve
    Error
    Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe. Correlation ID: 5d217c9c-1827-7083-80cd-e095a30befee.
    Show Error Details
    Hide Error Details
    [UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.]
      at Microsoft.SharePoint.ApplicationRuntime.SafeControls.GetTypeFromGuid(Boolean isAppWeb, Guid guid, Guid solutionId, Nullable`1 solutionWebId, String assemblyFullName, String typeFullName, Boolean throwIfNotSafe)
      at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts)
    <menu class="ms-hide" id="MSOMenu_WebPartMenu"><ie:menuitem id="MSOMenu_Minimize" text="Minimize" title="Collapse this web part." type="option"></ie:menuitem><ie:menuitem
    id="MSOMenu_Restore" text="Restore" title="Expand this web part." type="option"></ie:menuitem><ie:menuitem id="MSOMenu_Close" text="Close" title="Close this Web Part. You can still
    find it under closed Web Parts section in the insert ribbon. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem iconsrc="/_layouts/15/images/DelItem.gif" id="MSOMenu_Delete" text="Delete"
    title="Delete this Web Part from the page. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem type="separator"></ie:menuitem><ie:menuitem iconsrc="/_layouts/15/images/EditItem.gif"
    id="MSOMenu_Edit" text="Edit Web Part" title="Change properties of this shared Web Part. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem id="MSOMenu_Connections"
    text="Connections" title="Show connections options for this Web Part. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem type="separator"></ie:menuitem><ie:menuitem
    id="MSOMenu_Export" text="Export..." title="Export this Web Part. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem iconsrc="/_layouts/15/images/HelpIcon.gif" id="MSOMenu_Help"
    style="display:none;" text="Help" type="option"></ie:menuitem> </menu>        

    Hi Ashok,
    According to your description, my understanding is that you got an error after you re-built a SharePoint 2007 solution with VS2012, and deployed it.
    Make sure the Namespace and Type Name are consistent across all files where indicated. Also with matching case sensitivity. Verify web.config file and assembly in GAC or virtual directory bin folder in post deployment.
    More information, please refer to the link below:
    http://roykimsharepoint.wordpress.com/2013/04/27/classic-web-part-errors/
    Here is a similar post for you to take a look at:
    http://stackoverflow.com/questions/1689707/sharepoint-web-part-type-could-not-be-found-registered-as-safe
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for

  • File adapter custom module problem

    Dear All, Currently my file adapter is picking up a flat file and I have writeen a module which will remove junk characters from the start of the file...I have also used FCC to convert the flat file to xml. now my question is what is the sequence...

  • Im trying to disable my phone and i can't, whats going ojn?

    it says iphone disable, connect to itunes,,, i did it and doesnt do anything , only charge, still saying the same thing.... why?????????

  • Software or hardware problem on MacBook Pro?

    I was listening to an audio podcast on iTunes (on my 2011 MBP) when sound began to stutter. I observed that when sound stopped, so did iTunes timer, so it was my computer and not the podcast. This kept getting worse, unitil the screen froze and I had

  • Having categoryid in the url to filter items belonging to multiple categories

    Hi, In BC, let's say we have a web app, some items are under category "Services" (Category ID:001) and also "Auckland" (Category ID: 002). We display all items on a page, if we append "?CategoryID=001" in your url, it would just display all web app i

  • Configuring Proxy Service for MQ Transport

    Hi When we configure a MQ Proxy service, we get an option by the name "Endpoint URI 'GET' options ", I wanted to know what is the default setting for this option, i.e if i do not set anything in this tab then what value OSB defaults it to? Its Urgent