Image Not getting displayed in DataGridColumn ItemRenderer

I have a DataGridColumn ItemRenderer and based on the value,
I am displaying image in the DataGridColumn
However the image is not getting displayed.
Below is my code. What could be the problem?
Thanks

"ajesing" <[email protected]> wrote in
message
news:gbcd0n$8sn$[email protected]..
>I have a DataGridColumn ItemRenderer and based on the
value, I am
>displaying
> image in the DataGridColumn
> However the image is not getting displayed.
>
> Below is my code. What could be the problem?
@Embed embeds at compiletime, so it can't take a variable. If
you want to
embed the graphics, embed them to the main file and use
DataGrid's
iconFunction to pass an icon to the itemRenderer.
HTH;
Amy

Similar Messages

  • Component image not getting displayed in Portal

    Hi All,
    I have added a jpg image to MIME folder in my component and used it as source for Image UI and also as a separator in Breadcrumb. When I run this web dynpro application in portal, the image is not getting rendered. I am getting cross mark instead of the image. But the image is getting displayed if I run the application as a stand alone application from SE80 -> Test. Once I do this, the image starts appering even in portal and again disappears after sometime.
    Could you please help me to resolve this issue?
    Thanks & Regards,
    Vishweshwara P.K.M.

    Vishweshwara,
    I hope you referred the MIME object in below way.
    '/sap/bc/webdynpro/sap/ZCOMP_EPI/SELECTED.JPEG'
    Where zcomp_epi is my component name and selected.jpg is mime object name. Check and let me know
    Regards
    Srinvias

  • Images not getting displayed!...Urgent

    Hi,
    While developing code on my local machine, update, delete, etc images are not getting displayed. I am having problem while testing code on my machine. But the same code when i am deploying on the server works fine. How do i resolve this.
    Thanks in advance.

    When you delete the system folder and try to run the page from that project, all the folders and files gets regenerated. Hence if some image files were corrupted or missing, they should be regenerated back.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Graph image not getting displayed when navigating from another page

    Hi All,
    I have implemented a line graph in ADF with "dept no"(in x-axis) and "avg sal"(in y-axis). When I am going to run only this graph page, its showing proper data.
    But,when I am trying to navigate from another jspx page (which is under some package) to this graph page, the graph is not getting displayed(graph image is not getting displayed).
    In my project I am following package structure for jspx and backing bean.
    Please help me to solve this problem.
    Thnx,
    Abhijit

    Abhijit,
    A couple of things:
    1). There's really not enough information provided to answer your question - have you tried doing some debugging?
    2). You may have beer luck on the [url http://forums.oracle.com/forums/forum.jspa?forumID=381&start=0]11g forum
    John

  • Images not getting displayed in the WebView

    Hi every1,i am facing a problem in displaying images in the WebView. when a particular page or HTML is loaded in a WebView ,images are not coming and i am not able to go to other pages on clicking another link in that page. can ny1 help me?

    @ is a default value as per ALV internal process. This is used in icons .
    I think this is causing the confusion.
    Check in the fieldcat if there is any adjsutment to be made to handle this.
    Br,
    Vijay

  • Adf images not  getting displayed in th browser.

    Hi,
    I have image tag in my jsff file.
    The image is shown on preview.
    But when i run the application , the image is not displayed.
    Am using Firefox 3.6.6 and IE 7
    Tried using the following tags:
    <af:activeImage id="image" source="/WEB-INF/Images/logo.jpg"/>
    <af:image id="img" source="/WEB-INF/Images/logo.jpg"
    shortDesc="logo"/>
    Do i have enable anything for this ?

    Move your images to a folder outside WEB-INF. Anything under the WEB-INF folder cannot be accessed directly by the user. However, you can use a servlet to access images under WEB-INF.
    Timo

  • Images not getting displayed in PD4ML

    hi,
    I used PD4ML for generating PDF.
    but in that generated PDF, Image which i want to display is not displayed. and it is working for other images can u plz help for that.
    code ->java.io.FileOutputStream fos = new java.io.FileOutputStream(f);
              //OutputStream sos = System.out;
              File fz = new File("C://output.htm"); //HTML Code of the template
                    java.io.FileInputStream fis = new java.io.FileInputStream(fz);
                    InputStreamReader isr = new InputStreamReader( fis, "UTF-8" );
                    PD4ML html = new PD4ML();
                    html.setPageSize( new Dimension(450, 450) );
                    html.setPageInsets( new Insets(20, 50, 10, 10) );
                    html.setHtmlWidth( 750 );
                    html.enableImgSplit( false );
                    html.interpolateImages(true);
                    URL base = new URL( "file:C:/" ); //Used for images, css, etc.
                    // alternatively base can be specified with <base href="..."> tag
                    html.render( isr, fos, base );Edited by: raj_pardeshi1986 on May 11, 2009 1:37 AM
    Edited by: raj_pardeshi1986 on May 11, 2009 1:38 AM

    This might be a good place to start: [http://pd4ml.com/support.htm] since this doesn't seem to be a Java problem.
    But if I had to guess I'd say the problem was here:
    new URL( "file:C:/" );Of course, since you haven't told us the problem...

  • Images from KM are not getting displayed in EP

    Hi All,
    I am using EP7.0 SP11.When I run the portal, the images are not getting displayed. When I right click on the * mark and click on Show picture, then also its not appearing.
    Location of the Images that I received from EP is mentioned below.
    http://hostname:port no./irj/go/km/docs/documents/HP_Images/Image_123.jpg
    Images are available in the location in the below mentioned path as .jpg files:-
    http://hostname:port no./irj/go/km/documents/HP_Images/Image_123.jpg
    Difference in both is a DOCS folder missing in between........
    Is this is the reason for the image not getting displayed?
    Anything more has to be done in KM part to display these images?
    May I know how to solve this issue??
    Regards,
    Athulya

    Hi,
    the right path look like this: /irj/go/km/docs/<path_to_document>.
    You may have to check you URL generator service settings. Here:
    Configuration - Content Management - Global Services - URL Generator Service(advanced section)
    and then have a look for example for the following values "Content Access Path:" and "Viewer:" normally they both have same value "/irj/go/km/docs".
    Hope that will help.
    best regards,
    --epexpert

  • How come the images are not getting displayed in ie?

    Hi,
    In my application i have a page where the thumbnails
    representing the videos uploaded into the site should be
    displayed.These imgaes are getting displayed in mozilla properly,
    but when it comes to ie 7 they are not getting displayed..instead
    iam getting a broken image.Please suggest me a solution.Thanks in
    advance.

    Hi KChamarti,
    I am also trying to display images insid the datagrid but i get a weird broken image(all silver gray).
    My item renderer is:
              <mx:DataGridColumn headerText="Type">
                   <mx:itemRenderer>
                     <mx:Component>
                      <mx:HBox verticalGap="2">
                          <mx:Image id="dgImage" source="\assets\images\{toLowerCase(data.type)}.jpg" />
                          <mx:Label text="{data.type}"/>
                        </mx:HBox>
                     </mx:Component>
                   </mx:itemRenderer>
                </mx:DataGridColumn>
    Am i mentioning the source of the image in the right way?

  • Images for tabs are not getting displayed in the page if Iam using a template

    I have page with a unstructured template. I have arranged tabs on page with images attached. But images are not getting displayed. why

    Hi,
    Please check if the images are in the server and in the /images alias path.
    thanks,
    Sharmila

  • Whenever a record is Edited the rows are not getting displayed in the repor

    Hi all,
    When a new record is added or edited, It is physically getting added or edited according to the process, but those records are not getting displayed in the report..
    Please Any body faced this situation...
    Help me to identify what error i am doing........
    thanks in advance
    kavitha L

    Hi KChamarti,
    I am also trying to display images insid the datagrid but i get a weird broken image(all silver gray).
    My item renderer is:
              <mx:DataGridColumn headerText="Type">
                   <mx:itemRenderer>
                     <mx:Component>
                      <mx:HBox verticalGap="2">
                          <mx:Image id="dgImage" source="\assets\images\{toLowerCase(data.type)}.jpg" />
                          <mx:Label text="{data.type}"/>
                        </mx:HBox>
                     </mx:Component>
                   </mx:itemRenderer>
                </mx:DataGridColumn>
    Am i mentioning the source of the image in the right way?

  • The html select box option is not getting displayed properly in IE11

    The html select box option is not getting displayed properly in IE11
    I have developed a website that has a select box drop down. The select box drop down is getting displayed properly in IE9. But in IE11, if I am selecting any option apart from the first one, the whole select box option is getting moved up in the page.
    In IE11, if option 2 is selected, then the select options is getting moved up. But in IE9, if option 2 is selected, then the select options is getting displayed properly.
    Please let me know the fix so that the select options are displayed in the same manner as in IE9.
    Sorry but I am unable to upload images as this site is throwing some error

    Hi Kevin Shen,
    Thanks for post.
    I tried above code in ie 11(version 11.0.9600.17633).
    But it is not working. If you select option 2, and open select box then it open on the select box.
    It should open below the select box.
    Code for above:-
    <select>
    <option>1</option>
    <option>2</option>
    <option>3</option>
    </select>
    Sorry I could not attach screen shot. We have normal select box with three options. If we select option 2, it is showing option list on the select box. It is coming below the select box in ie 10 and other browse like chrome. 
    So what we should do, so that all options will come below the select box?
    Thanks,
    Yogesh Toke

  • Pictogram in EP 7.4 are not getting displayed.

    Hi Everyone
    We have installed 7.4 and export the roles of portal 7.01 to 7.4 however the pictograms are not getting displayed.
    We copied all the images manually from old path to the new one but still its broken using:
    In the content administration >> web resource repository. In the tree find the folder "pictograms" right click on it and upload all of the pictograms
    We followed the note 1753605 but that didnt help too.
    I have checked this link:
    Managing Pictograms in the Web Resource Repository - Portal - SAP Library
    What is the cause of this error?
    The system take the picture resource for show the pictograms that show the screen of ESS.
    Thanks
    Regards

    Hi Samuli.
    We are working with AIX.
    The Path /usr/sap/<SID>/J<SYSNR>/
    j2ee/cluster/apps/sap.com/pcui_gp~xssutils exist , however the directory Components/com.sap.xss.ser.xssmenu.vc.areagroup.VcXssMenuAreaGroup not exist and we have created the folders. and in thie new folder copied the pictograms , however the issue continue.
    http://pbmdebddpd02.bancolombia.corp:50000/webdynpro/resources/sap.com/pcui_gp~xssutils/Components/com.sap.xss.ser.xssmenu.vc.areagroup.VcXssMenuAreaGroup/hcm_beneficios.gif
    We have tested the url and this system genera the following error
    http://hostname:port/webdynpro/resources/
    Thanks
    Regards

  • Total is not getting displayed in the ALV output.

    Hi,
    Total is not getting displayed in the ALV output.
    I m using :REUSE_ALV_BLOCK_LIST_APPEND & REUSE_ALV_BLOCK_LIST_DISPLAY
    Are  there any issues with it as the same settings are working fine with REUSE_ALV_LIST_DISPLAY
    source code:
    DATA: layout TYPE slis_layout_alv,
          IT_eventS  TYPE slis_t_event,
          fcat   TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          rec_fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    TYPES: BEGIN OF ty_tab,
          belnr TYPE dberchz-belnr,
          belzart TYPE dberchz-belzart,
          net TYPE dberchz-nettobtr,
          END OF ty_tab.
    DATA: lt_tab TYPE STANDARD TABLE OF ty_tab.
    SELECT belnr belzart nettobtr
      FROM dberchz
      INTO TABLE lt_tab[]
    WHERE belnr eq '000000000001'.
      if sy-subrc ne 0.
      ENDIF.
    *  defining layout
    layout-colwidth_optimize = 'X'.
    layout-def_status = 'X'.
    *defning event
    *event
    *defining field catalog
    fcat-col_pos = 1.
    fcat-fieldname = 'BELNR'.
    fcat-tabname  = 'LT_TAB'.
    APPEND fcat.
    fcat-col_pos = 2.
    fcat-fieldname = 'BELZART'.
    fcat-tabname  = 'LT_TAB'.
    APPEND fcat.
    fcat-col_pos = 3.
    fcat-fieldname = 'NET'.
    fcat-tabname  = 'LT_TAB'.
    fcat-do_sum = 'X'.
    APPEND fcat.
    *calling alv
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
      EXPORTING
        i_callback_program             = 'YZ_PLR'
    *   I_CALLBACK_PF_STATUS_SET       = ' '
    *   I_CALLBACK_USER_COMMAND        = ' '
    *   IT_EXCLUDING                   =
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        is_layout                        = layout
        it_fieldcat                      = fcat[]
        i_tabname                        = 'LT_TAB'
        it_events                        = IT_EVENTS[]
    *   IT_SORT                          =
    *   I_TEXT                           = ' '
      tables
        t_outtab                         = lt_tab[]
    * EXCEPTIONS
    *   PROGRAM_ERROR                    = 1
    *   MAXIMUM_OF_APPENDS_REACHED       = 2
    *   OTHERS                           = 3
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    Thanks,
    Gaurav

    Hi
    No I don't think, this is my code (based on your code) and it works fine:
    TYPE-POOLS SLIS.
    DATA: BEGIN OF LT_TAB OCCURS 0,
           BELNR LIKE BSEG-BELNR,
           GJAHR LIKE BSEG-GJAHR,
           WRBTR LIKE BSEG-WRBTR,
           WAERS LIKE BKPF-WAERS,
          END OF LT_TAB.
    DATA: LAYOUT     TYPE SLIS_LAYOUT_ALV,
          IT_EVENTS  TYPE SLIS_T_EVENT,
          FCAT       TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          REC_FCAT   TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE.
    START-OF-SELECTION.
      FCAT-COL_POS       = 1.
      FCAT-FIELDNAME     = 'BELNR'.
      FCAT-TABNAME       = 'LT_TAB'.
      FCAT-REF_FIELDNAME = 'BELNR'.
      FCAT-REF_TABNAME   = 'BSEG'.
      APPEND FCAT.
      FCAT-COL_POS       = 2.
      FCAT-FIELDNAME     = 'GJAHR'.
      FCAT-TABNAME       = 'LT_TAB'.
      FCAT-REF_FIELDNAME = 'GJAHR'.
      FCAT-REF_TABNAME   = 'BSEG'.
      APPEND FCAT.
      FCAT-COL_POS       = 3.
      FCAT-FIELDNAME     = 'WRBTR'.
      FCAT-TABNAME       = 'LT_TAB'.
      FCAT-CFIELDNAME    = 'WAERS'.
      FCAT-REF_FIELDNAME = 'WRBTR'.
      FCAT-REF_TABNAME   = 'BSEG'.
      FCAT-DO_SUM        = 'X'.
      APPEND FCAT.
      FCAT-COL_POS       = 4.
      FCAT-FIELDNAME     = 'WAERS'.
      FCAT-TABNAME       = 'LT_TAB'.
      FCAT-REF_FIELDNAME = 'WAERS'.
      FCAT-REF_TABNAME   = 'BKPF'.
      FCAT-DO_SUM        = SPACE.
      APPEND FCAT.
      SELECT * FROM BSEG INTO CORRESPONDING FIELDS OF TABLE LT_TAB
        WHERE BUKRS = 'MAAB'
          AND BELNR = '0000000001'.
      LT_TAB-WAERS = 'EUR'.
      MODIFY LT_TAB FROM LT_TAB TRANSPORTING WAERS WHERE WAERS = SPACE.
    *CALLING ALV
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
        EXPORTING
          I_CALLBACK_PROGRAM = 'ZPROVAMAX5'.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
          IS_LAYOUT   = LAYOUT
          IT_FIELDCAT = FCAT[]
          I_TABNAME   = 'LT_TAB'
          IT_EVENTS   = IT_EVENTS[]
        TABLES
          T_OUTTAB    = LT_TAB[].
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
    I've also inserted a currency field
    Max

  • Data is not getting displayed in the report from an Infoset.

    Hi All,
    I am having a report  based on an infoset. This report is displaying the data in the Dev. envmt. When it is transported to the QA, it is not displaying the data in the BEx as well as RSRT, in the QA envmt. The patch levels of both the Dev. and QA are the same. The Queries are same in the Dev and QA also.
    While trying to display the data from the infoset (rt.click- display data), i am able to view the data, in the QA.
    Could anyone please suggest why the data is not getting displayed in the query designer.
    Thanks & Regards,
    A.V.N.Rao

    Hi Ashish,
    I ran the "ZPS/!ZPS" in RSRT where ZPS is the infoset name. In Dev, it displayed the values. In QA, it displayed the below messages:
    ECharacteristic 0TCAKYFNM does not exist. Check authorizations
    WThere are calculated elements. These results are bracketed [  ]
    and below that, it displayed the values for Number of records. But, it has not displayed the values for the other figures.
    Does this has any impact in QA.
    Thanks & Regards,
    AVN Rao.

Maybe you are looking for

  • How can I copy music from my ipod to my itunes library?

    I have an ipod nano with all my itunes purchases plus a bunch of music I put on from my old cds.  When I synced my ipod to my new computer it only synced my purchases, not my other downloads.  How can I get all my music onto my itunes library?  I'd e

  • IDoc Receiver, Error in we02 - EDI: Partner profile inbound not available

    Hi All, I have a problem when creating a receiver IDoc from XI to R/3. I have successfully tested the IDoc when populating the receiver information from the payload. However I want this information to be populated automatically based on the logical s

  • Validation for Expense Accounting Entry

    I need an up-front validation to allow only certain internal orders to be valid for the expense entries. However I do not see anyplace in the configuration for defining such a validation. Any direction regarding this is greatly appreciated

  • IMovie to FCE - should I invest?

    I am quickly outgrowing iMovie, but I have concerns about stepping up to FCE. Below are three frustrating problems in iMovie - there are many unresolved posts regarding these issues. Can anyone tell me if they've experienced the same problems in FCE?

  • Nokia 6110 and downloading log data to PC

    I want to access the phones log data from my PC. eg Menu- >Log->Recent Calls->Dialled Numbers. However I cannot work out how to do this using the Nokia PC Suite. My carrier does not provide me with real time info about how much credit I have used eac