Skip to Content
avatar image
Former Member

How I can show the img in to table and where to save the img in the dynPro

Hi friends,

I want to display a img in the table,( in the CUIBB)

I have the img on the desktop, how i can bring that into the CUIBB and show that image.

Could you support me in this regard?

Thanks & Best Regards, Prabhu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 03, 2008 at 08:49 AM


    Go to navigator view in web dynpro perspective

    save the image into

    just copy ur image and paste it into following path

    Project-Folder>Src>Mimes>Components>YourComponentname, inside that you can save.

    Just make sure that ur CUIBB is a image type editor.

    Just delete existing CUIBB editor and add tablecelleditor of Image type.

    go to properties of image type editor and and in source property type ur full image name.

    At runtime u will see image in ur output.


    Surender Dahiya

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ayyappaji,

      I have done the assignment of context attribute by using the below code:


      wdThis.wdGetEvaluationDimensionCompController().wdGetAPI().getComponent().getMessageManager().reportSuccess("Not mandatory");

      selcontextElement.setAttributeValue("ImgUrl", NosinglevalDesc);






      when i tried to check if value is assigned then i get the exception.


      Object fortest = "";

      String s = null;

      for(int i=wdContext.nodeImg().size()-1;i>=0;i--)


      IImgElement NodeElement = wdContext.nodeImg().getImgElementAt(i);

      fortest = NodeElement.getAttributeValue("ImgUrl");

      s = fortest.toString();



      Could you look into it??

      Thanks & Best Regards, Prabhu

  • Jun 03, 2008 at 07:40 AM

    Hi Prabhu,

    You can save your image inside your project only and you can set this to the UI context.

    plz save the project under following mention ladder:-

    Project-Folder>Src-folder>Mimes>Components>YourComponentname, inside that you can save.

    Think that may help you.



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 03, 2008 at 07:45 AM

    delete default table cell editor under table column and use image as table cell editor.

    you have to place images under src/mimes/components/ folder.


    Add comment
    10|10000 characters needed characters exceeded