How to Add Image to Web Dynpor Application

Hi,
I want to develop new view with two elements
   1. Label
   2. image
lable properties are
     text property: Welcome to My Page
     design property: header1
image properties are
        source:  img1.jpeg
i created view and in the view i creatge label with out any error.
comming to image  i inserted child to view root element and to select SOURCE for the image element its showing context window.
i am not able to see here any image fine
one thing to tel u that i already placed IMAGE.JPEG under /MIME/MYCOMPONENT/IMAGE.JPEG
So please let me know how to get the image  in the form..
regards
mmukesh

1. Add an another UI element like Caption along with a label
2. Create a Value Attribute for the image and make its Calculated property to true. This automatically creates the setter and getter methods to retrieve the image.
Bind the image source property to this created value attribute.
3.  In the get<value attribute> method, return the image.(image file name and extension are case sensitive - for ex: Image.jpeg)
Thanks and Regards,
Amar Bhagat Challa

Similar Messages

  • How to add images into a java application (not applet)

    Hello,
    I am new in java programming. I would like to know how to add images into a java application (not an applet). If i could get an standard example about how to add a image to a java application, I would apreciated it. Any help will be greatly apreciated.
    Thank you,
    Oscar

    Your' better off looking in the java 2d forum.
    package images;
    import java.awt.*;
    import java.awt.image.*;
    import java.io.FileInputStream;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    /** * LogoImage is a class that is used to load images into the program */
    public class LogoImage extends JPanel {
         private BufferedImage image;
         private int factor = 1; /** Creates a new instance of ImagePanel */
         public LogoImage() {
              this(new Dimension(600, 50));
         public LogoImage(Dimension sz) {
              //setBackground(Color.green);      
              setPreferredSize(sz);
         public void setImage(BufferedImage im) {
              image = im;
              if (im != null) {
                   setPreferredSize(
                        new Dimension(image.getWidth(), image.getHeight()));
              } else {
                   setPreferredSize(new Dimension(200, 200));
         public void setImageSizeFactor(int factor) {
              this.factor = factor;
         public void paintComponent(Graphics g) {
              super.paintComponent(g);
              //paint background 
              Graphics2D g2D = (Graphics2D) g;
              //Draw image at its natural size first. 
              if (image != null) {
                   g2D.drawImage(image, null, 0, 0);
         public static LogoImage createImage(String filename) { /* Stream the logo gif file into an image object */
              LogoImage logoImage = new LogoImage();
              BufferedImage image;
              try {
                   FileInputStream fileInput =
                        new FileInputStream("images/" + filename);
                   image = ImageIO.read(fileInput);
                   logoImage =
                        new LogoImage(
                             new Dimension(image.getWidth(), image.getHeight()));
                   fileInput.close();
                   logoImage.setImage(image);
              } catch (Exception e) {
                   System.err.println(e);
              return logoImage;
         public static void main(String[] args) {
              JFrame jf = new JFrame("testImage");
              Container cp = jf.getContentPane();
              cp.add(LogoImage.createImage("logo.gif"), BorderLayout.CENTER);
              jf.setVisible(true);
              jf.pack();
    }Now you can use this class anywhere in your pgram to add a JPanel

  • How to add Image to Web Document Report?

    Hi,
    I need to add Logo in my report.  Please share how to achieve this, and are there any constrains regarding picture format, or placement of the image or report transformation(to XL/PDF) or printing.
    Thanks in advance,
    -Vishi

    You simply embed the logo in your report however It does not gets exported when the report in exported in Excel but works in PDF.
    You can fine complete details and workaround for image in excel at below link.
    http://www.dallasmarks.org/blog/2009/02/tips-and-tricks-displaying-images-on-web-intelligence-reports/
    --Kuldeep

  • How to add image in web intelligence report?

    Hi All,
    I tried to add an image into web intelligence report by using the background image function available in the appearance settings. But when I tried to click on the button with ellipse, it does not show up a dialog box.
    Do I miss out anything? Help is really needed.
    Thanks
    David Yee

    Hi David,
    You can try these steps to see if the Background image dialog box is appearing for a Free Standing Cell.
    1. In Webi Java Report Panel, select Templates-> Free Standing Cells -> Formula and Text Cells-> Blank Cell
    2. Click and drag the cell in the report.
    3. Select the cell Properties
    4. Under Text Format, click on the button in the Background Image property.
    5. You can select the u201CImage from URLu201D or u201CImage from fileu201D.
    6. If you are selecting u201CImage from URLu201D, change the u201CRead cell content asu201D property to u201CImage URLu201D under Display section in the Properties Window.
    Hope this helps.

  • How to send image from web start application to my servlet

    Hi all,
    I have uploaded image in my web start application and now i want to send that image to my servlet. I have created URL connection and using output stream i am able to send data in String as well as numeric format but i have to send image also.
    please help.
    thanks in advance.

    I have done it. contact [email protected]

  • How to add accessibility to already built application

    Hi,
    Can any one help me how to add accessability to already built application. jdev version which am using is 11.1.1.4.
    Thanks in advance.
    Regards,
    lavanya.

    Hi,
    its mostly a configuration in ADF Faces
    http://docs.oracle.com/cd/E23549_01/web.1111/b31973/af_access.htm
    Frank
    Ps.: One of the beauties of using ADF Faces instead of hand-crafted web site in which case you would have been screwed

  • JAEHYLEE  (R12 ADI)  How to add DFF in Web ADI

    Goal
    How to add DFF in Web ADI
    Solution
    ADI Mass Addition Template Layout Define에서 DFF를 사용하기 위해서 아래 ER이 현재 진행중이고 그 전에 사용하기 위해서는 아래와 같은 Datafix를 Workaround로 사용하여야 합니다.
    Please do the following in the test instance first and if satisfied migrate to production
    1.Setup-->Financials>Flexfields>Descriptive>Segments
    Query the Mass addition DFF and Category flexfield
    2.Both the above is to be defined exactly the same
    3.Reference field for both should be ATTRIBUTE_CATEGORY_CODE
    4)login to sqlplus apps account and run the following script
    sql
    - make sure it runs without errors, then commit. Otherwise rollback. This
    script should not be run over again, therefore verify the outcome.
    - restart the apache listener
    - login to apps and navigate to the Webadi Define Layouts page, under FA
    responsibility.
    - choose a layout for the Additions integrator, include the "Descriptive
    Flexfield" and "Context".
    - Test it.
    SCRIPT
    ===========
    set serveroutput on size 1000000
    Declare
    content_code varchar2(1000);
    interface_code varchar2(50) := 'FA_MASS_ADD_INTERFACE';
    begin
    dbms_output.put_line('Start add descriptive flexfiedl to Additions
    integrator: ' || interface_code);
    dbms_output.put_line('Updating attribute columns in bne_interface_cols_b')
    Update bne_interface_cols_b
    set display_flag = 'N' ,
    val_type = 'DESCFLEXSEG',
    group_name = 'MASSADD_DF'
    where application_id = 140
    and interface_code = 'FA_MASS_ADD_INTERFACE'
    and interface_col_name in ('ATTRIBUTE1','ATTRIBUTE2',
    'ATTRIBUTE3','ATTRIBUTE4','ATTRIBUTE5','ATTRIBUTE6',
    'ATTRIBUTE7','ATTRIBUTE8','ATTRIBUTE9','ATTRIBUTE10',
    'ATTRIBUTE11','ATTRIBUTE12','ATTRIBUTE13','ATTRIBUTE14',
    'ATTRIBUTE15','ATTRIBUTE16','ATTRIBUTE17','ATTRIBUTE18',
    'ATTRIBUTE19','ATTRIBUTE20','ATTRIBUTE21','ATTRIBUTE22',
    'ATTRIBUTE23','ATTRIBUTE24','ATTRIBUTE25','ATTRIBUTE26',
    'ATTRIBUTE27','ATTRIBUTE28','ATTRIBUTE29','ATTRIBUTE30');
    dbms_output.put_line('Creating CONTEXT');
    -- see webadi dev.guide for complete parameter documentation.
    BNE_INTEGRATOR_UTILS.UPSERT_INTERFACE_COLUMN
    (P_APPLICATION_ID => 140,
    P_INTERFACE_CODE => interface_code,
    P_SEQUENCE_NUM => 1011,
    P_INTERFACE_COL_TYPE => 1, -- indicates that column exists
    in interface table.
    P_INTERFACE_COL_NAME => 'CONTEXT',
    P_ENABLED_FLAG => 'Y',
    P_REQUIRED_FLAG => 'N',
    P_DISPLAY_FLAG => 'Y',
    P_FIELD_SIZE => 30,
    P_DEFAULT_TYPE => '', -- JAVA_EACH_ROW, SQL, TABLELOOKUP
    etc.
    P_DEFAULT_VALUE => '',
    P_SEGMENT_NUMBER => '',
    P_GROUP_NAME => 'MASSADD_DF',
    P_OA_FLEX_CODE => 'FA_MASS_ADDITIONS',
    P_OA_CONCAT_FLEX => 'N',
    P_READ_ONLY_FLAG => 'N',
    P_VAL_TYPE => 'DESCFLEXCONTEXT', -- TABLE,JAVA etc.
    P_VAL_ID_COL => '', -- Column for table LOV.
    P_VAL_MEAN_COL => '', -- Column for table LOV.
    P_VAL_DESC_COL => '', -- Column for table LOV.
    P_VAL_OBJ_NAME => '', -- Table for table LOV, class for java
    P_VAL_ADDL_W_C => '', -- where clause for table LOV.
    P_DATA_TYPE => 2, -- 1=NUMBER,2=varchar,3=date
    P_NOT_NULL_FLAG => 'N', -- Y=not null, N=null
    P_VAL_COMPONENT_APP_ID => '140', -- NUMBER
    P_VAL_COMPONENT_CODE => 'OA_FLEX', -- VARCHAR2
    P_SUMMARY_FLAG => 'N', -- VARCHAR2
    P_MAPPING_ENABLED_FLAG => 'Y', -- VARCHAR2
    P_PROMPT_LEFT => 'Context - Descriptive Flexfield', --
    VARCHAR2
    P_PROMPT_ABOVE => '', -- VARCHAR2
    P_USER_HINT => '', -- VARCHAR2' List - Text','* List -
    Text', '* Value','Text','* Date'
    P_USER_HELP_TEXT => 'US', -- VARCHAR2
    P_LANGUAGE => 'US', -- VARCHAR2
    P_SOURCE_LANG => 'US', -- VARCHAR2
    P_OA_FLEX_NUM => '', -- VARCHAR2
    P_OA_FLEX_APPLICATION_ID => '140', -- NUMBER
    P_DISPLAY_ORDER => 802, -- check
    P_UPLOAD_PARAM_LIST_ITEM_NUM => '', -- NUMBER
    P_EXPANDED_SQL_QUERY => '', -- VARCHAR2
    P_LOV_TYPE => 'NONE', -- VARCHAR2
    P_OFFLINE_LOV_ENABLED_FLAG => 'N', -- VARCHAR2
    P_VARIABLE_DATA_TYPE_CLASS => '', -- VARCHAR2
    P_USER_ID => 2 -- NUMBER VERIFY THAT 2 IS CORRCT
    dbms_output.put_line('Creating MASSADD_DF_PARENT');
    -- see webadi dev.guide for complete parameter documentation.
    BNE_INTEGRATOR_UTILS.UPSERT_INTERFACE_COLUMN
    (P_APPLICATION_ID => 140,
    P_INTERFACE_CODE => interface_code,
    P_SEQUENCE_NUM => 1012,
    P_INTERFACE_COL_TYPE => 2, -- indicates that column exists
    in interface table.
    P_INTERFACE_COL_NAME => 'MASSADD_DF_PARENT',
    P_ENABLED_FLAG => 'Y',
    P_REQUIRED_FLAG => 'N',
    P_DISPLAY_FLAG => 'Y',
    P_FIELD_SIZE => '', --?
    P_DEFAULT_TYPE => '', -- JAVA_EACH_ROW, SQL, TABLELOOKUP
    etc.
    P_DEFAULT_VALUE => '',
    P_SEGMENT_NUMBER => '',
    P_GROUP_NAME => 'MASSADD_DF',
    P_OA_FLEX_CODE => 'FA_MASS_ADDITIONS',
    P_OA_CONCAT_FLEX => 'Y',
    P_READ_ONLY_FLAG => 'N',
    P_VAL_TYPE => 'DESCFLEX', -- TABLE,JAVA etc.
    P_VAL_ID_COL => '', -- Column for table LOV.
    P_VAL_MEAN_COL => '', -- Column for table LOV.
    P_VAL_DESC_COL => '', -- Column for table LOV.
    P_VAL_OBJ_NAME => 'oracle.apps.bne.integrator.validators.
    BneDFFValidator', -- Table for table LOV, class for java
    P_VAL_ADDL_W_C => '', -- where clause for table LOV.
    P_DATA_TYPE => '', -- 1=NUMBER,2=varchar,3=date ?
    P_NOT_NULL_FLAG => 'N', -- Y=not null, N=null
    P_VAL_COMPONENT_APP_ID => '140', -- NUMBER
    P_VAL_COMPONENT_CODE => 'OA_FLEX', -- VARCHAR2
    P_SUMMARY_FLAG => 'N', -- VARCHAR2
    P_MAPPING_ENABLED_FLAG => 'Y', -- VARCHAR2
    P_PROMPT_LEFT => 'Descriptive Flexfield', -- VARCHAR2
    P_PROMPT_ABOVE => '', -- VARCHAR2
    P_USER_HINT => '', -- VARCHAR2' List - Text','* List -
    Text', '* Value','Text','* Date'
    P_USER_HELP_TEXT => 'US', -- VARCHAR2
    P_LANGUAGE => 'US', -- VARCHAR2
    P_SOURCE_LANG => 'US', -- VARCHAR2
    P_OA_FLEX_NUM => '', -- VARCHAR2
    P_OA_FLEX_APPLICATION_ID => '140', -- NUMBER
    P_DISPLAY_ORDER => 803, -- check
    P_UPLOAD_PARAM_LIST_ITEM_NUM => '', -- NUMBER
    P_EXPANDED_SQL_QUERY => '', -- VARCHAR2
    P_LOV_TYPE => 'NONE', -- VARCHAR2
    P_OFFLINE_LOV_ENABLED_FLAG => 'N', -- VARCHAR2
    P_VARIABLE_DATA_TYPE_CLASS => '', -- VARCHAR2
    P_USER_ID => 2 -- NUMBER VERIFY THAT 2 IS CORRCT
    dbms_output.put_line('Creating OA_FLEX component');
    end;
    insert into bne_components_b
    (application_id, component_code, object_version_number, component_java_class,
    created_by, creation_date, last_updated_by, last_update_login, last
    updatedate )
    values
    (140, 'OA_FLEX',1.0,'oracle.apps.bne.integrator.component.BneOAFlexComponent',
    2,to_date('20051201','YYYYMMDD') ,2, 2, to_date('20051201','YYYYMMDD') );
    Update bne_interface_cols_b
    set last_update_date = to_date('20051201','yyyymmdd')
    where application_id = 140
    and interface_code = 'FA_MASS_ADD_INTERFACE'
    and sequence_num in (1011, 1012);
    Update bne_interface_cols_tl
    set last_update_date = to_date('20051201','yyyymmdd')
    where application_id = 140
    and interface_code = 'FA_MASS_ADD_INTERFACE'
    and sequence_num in (1011, 1012);
    Reference
    559392.1

    Hello.
    The process is described in the Oracle Web Applications Desktop Integrator Implementation and Administration Guide manual.
    Octavio

  • I want to add image in column is it possible then how to add image in data base what data type we need to do

    I want to add image in column is it possible then how to add image in data base  what data type we need to give we required any casting  please show me one example
    jitendra

    Hi again,
    Several points that can help more:
    1. If you are working with Dot.Net, then I highly recommend read the first link that you got! This is nice and simple coding. Another option is this link which is even better in my opinion:
    http://www.dotnetgallery.com/kb/resource21-How-to-store-and-retrieve-images-from-SQL-server-database-using-aspnet.aspx
    2. As i mention above both link use the column's type image. There are several other option of working with Files. In most of my applications architecture I find that it is better to use a column which let us use any type of file and not an image column.
    In choosing the right column's type for your needs basically your fist question should be if if you want to store your data inside relational database environment or outside relational environment. It is a good idea to look for blogs on this issue. Next
    if you chose to store your data inside then you need to chose the right column type according to your server version. I highly recommend to look for blogs on the differences between those column's types: IMAGE, 
    Check those links:
    To BLOB or Not To BLOB: Large Object Storage in a Database or a Filesystem
    http://research.microsoft.com/apps/pubs/default.aspx?id=64525
    FILESTREAM feature of SQL Server 2008
    http://msdn.microsoft.com/library/hh461480
    FileTables feature of SQL Server 2012
    http://technet.microsoft.com/en-us/library/ff929144.aspx
    Compare Options for Storing Blobs (SQL Server)
    http://technet.microsoft.com/en-us/library/hh403405.aspx
    Binary Large Object (Blob) Data (SQL Server)
    http://technet.microsoft.com/en-us/library/bb895234.aspx
    Managing BLOBs using SQL Server FileStream via EF and WCF streaming
    * Very nice tutorial!
    http://petermeinl.wordpress.com/2012/02/20/managing-blobs-using-sql-server-filestream-via-ef-and-wcf-streaming/
    [Personal Site] [Blog] [Facebook]

  • How to add image to webdynpro screen . ?

    How to add image to webdynpro screen . ?

    hi,
    right click ur application and then click on create mime object.
    with Mime Objects u cn upload doc , jpeg, or giff files from our local system into the webdypnpro system .
    You can even try creating the MIME objects in webdynrpo abap .
    Right click on ur component->mime object->import
    after importing you can see that image into your component as MIME object .Now insert a UI element image into your view layout .
    Go to the source property of IMAGE element and select F4 option , u will find a window is opening with some tabs
    Select tab COMPONENT IMAGES and component name select your component .
    You will find the image which you have imported into this section just select the image and save it.
    In the transaction sicf/bc/webdynpro , u cn check your component name there you can view the mime objects created by you .
    also refer the SAP online help :
    http://help.sap.com/saphelp_crm50/helpdata/en/46/bb182fab4811d4968100a0c94260a5/content.htm
    to knw more abt mime repositories.
    http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
    regards,
    Amit

  • How to add image file while creating addon...pathsetup?

    Hi friends,
    i have a problem while creating addon.
    while creating addon we can add all the files(.vb,xml).but if i add image files(.bmp,.jpg)they are not displayed in runtime.
    --how to add image file while creating addon..?
    we are useing SAP Business One 2005A(6.80.317)SP:01 PL:04

    Somebody knows like I can indicate to him to a button that I have in a form, that accedes to the image in the route where will settle addon? I have this, but it does not work to me
    oButton.Image = IO.Directory.GetParent(Application.StartupPath).ToString & "\CFL.BMP"

  • How to add Image dynamically in Webdynpro ABAP

    Hi Experts,
    How to add Image dynamically in Webdynpro ABAP.
    My requirement is i maintain all the images in a table.
    image source has to pick the table URl dynamically and display.
    is that possible in webdynpro?
    and also please give the suggesion,
    without using MIME objects is that anyway to get images?
    Thanks in advance.
    Regrads,
    Jeyanthi

    Hi,
      are those icons wou want to display then. he following code will be useful.
    data : lo_IMG type ref to CL_WD_IMAGE.
    LO_IMG = cl_wd_IMAGE=>new_IMAGE( id = img_id SOURCE = 'ICON_BW_APD_TARGET' tooltip = sts_tltp ).
    lo_cont->add_child( the_child = lo_img ).
    here lo_cont is the container where you want to add the image dynamically and source is the attribiute through which you can change the ICON image. this thing you can getit from data base table and change accordingly.
    Regards,
    Anil kumar G

  • How to add images to my PDF?

    Hi there
    I am wanting to know how to add images/photos to my PDF theta needs to be sent & signed to my supervisor?

    Hi Helen,
    You'll find the Add Image tool in the Content Editing pane of the Tools panel:
    If you don't see it there, make sure that you're using Acrobat, and not Adobe Reader, as these editing tools are unique to Acrobat.
    Best,
    Sara

  • What is Digital Signature, How to use it in web based applications?

    I am new to digital signatures. Any body can help me how to create a digital signature and how to use it in web based applications. Do we need certificates to use digital signatures?

    <link_farm_and_everything_else_removed_by_moderator>
    Edited by: Julius Bussche on Sep 3, 2008 8:59 AM

  • How to add image in ejb web service

    Hello Community,
    I am writing web service to create a PDF file using itext API. In PDF file i want to add an image.
    Can someone please tell that , how can i add image(jpeg, png , etc.) to an ejb web service?
    Thanks in advance
    Regards,
    Dishant Chawla

    Hi,
    Please check the below code which i used to add image to the header using iText . Similarly you can add image directly to the document also as a element.
    Adding image as Header:
    httpServletRequest = request.getServletRequest();
    domainURL=httpServletRequest.getScheme()+"://"+httpServletRequest.getServerName();
    imgLogo=domainURL+request.getWebResourcePath()+"/images/XXXX.jpg";
    image =Image.getInstance(imgLogo);
    image.scalePercent(22);// As per you need
    chunk = new Chunk(image, 0, -20);
    HeaderFooter header_pdf = new HeaderFooter(new Phrase(chunk), false); // here i have added image as header
    header_pdf.disableBorderSide(0);
    header_pdf.setAlignment(Element.ALIGN_CENTER);
    header_pdf.setBorder(0);
    document.setHeader(header_pdf);
    (or)
    Adding Image a Element:
    httpServletRequest = request.getServletRequest();
    domainURL=httpServletRequest.getScheme()+"://"+httpServletRequest.getServerName();
    imgLogo=domainURL+request.getWebResourcePath()+"/images/XXXX.jpg";
    image =Image.getInstance(imgLogo);
    image.scalePercent(22);
    document.add(image);
    Java IText: Image | tutorials.jenkov.com
    Regards,
    Srinivasan V

  • How to Call Image Viewer from Form application

    Hi,
    how to call Image viewer using host command on oracle form 6i.
    i trying using host command on local/client application .. and it is working ...
    but when i try on server application (EBS - UNIX) it does not working ...
    thanks ..
    regards,
    safar

    Are you using Forms 6i in client/server mode or web deployed? I'm not sure what you mean by 'try on server application"
    Remember that when using a web deployed architecture, a host command will execute the command on the Forms application server, NOT on the client.
    To execute host commands on the client you would have to use WebUtil, but that's not available for Forms 6i. Perhaps there are PJC's out there that can do it for you, but I don't want to get in all those details without me knowing if it is relevant for you.

Maybe you are looking for

  • Automatic settlement rule for receiver 'Fixed asset' (with out IM)

    Hi Experts I am working with project settlement to a fixed asset. I have defined a selttlement profile in which, FXA is the only valid receiver. Please note that we do not use Investment managent and hence no automatic AUC.The predefined asset to be

  • How to get a POP account to mark emails on your mac as viewed when you view them on your iPhone

    I have a private pop account and it is a hassle for me to constantly view the same email on my mac that i just viewed on my iphone to remove the "unviewed dot." If i view them on my mac it removes the dot from my iphone, ipad and itouch but not vise

  • Is it possible to run VI's written in LV8.6 on LV8.5?

    Hello guys, I've written a VI on a machine with LabView 8.6 and I want to send it to someone who has LV 8.5 / LV 8.2 on his machine. Can he start the VI and run it on LV 8.5 or on LV 8.2? Thanks

  • Pages '09 crashes when trying to print

    hello...please help me! Have had iWork '09 for about four months now....and just yesterday it started to crash when i press print. it happens every time. it does not give me a crash log....just says this application has closed unexpectedly and that o

  • Returning a malfunctioning videogame?

    Hi, I recently purchased a Playstation VITA game on bestbuy.com & received it with no issues.I opened it and put it on the console but it never installed, tried taking it out and putting it back in to no avail.I did a few google searches and it turns