cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro java (inserting an image)

gill367
Active Contributor
0 Kudos

Can anybody tell me how to insert an image in the application.

Accepted Solutions (0)

Answers (7)

Answers (7)

gill367
Active Contributor
0 Kudos

thanks

nikhil_bose
Active Contributor
0 Kudos

hi sarbjeet,

Hope you got the problem solved, you can find these questions as already answered. Anyway, plz go through these steps

1. place the image you want to use in your application in the mimes folder.

1.a) go to Navigator view in NWDS

1.b) go to src->mimes->components->"yourcompname"\ and place the image there.

2. You can use this image in any of UI elements' Image Source property.

Plz Note: the file name + extension is case-sensitive.

Nikhil

Former Member
0 Kudos

Hi Sarbjeet

Check this forume link

Inside that forume Suresh T gives the correct answer

Follow these steps

Regards

Ruturaj

Former Member
0 Kudos

Hi Sarbjeet,

Below are the steps required.

1. Create a context of type com.sap.ide.webdynpro.uielementdefinitions.Resource

2. Create a image UI element.

3. Bind the Context with Image UI Element.

4. Store the Pictute in mimes folder.

Regards

Narendra

Former Member
0 Kudos

Hi Sarabjeet,

Check the following thread which has complete step by step solution to your query:

Regards.

Rajat

former_member192434
Active Contributor
0 Kudos

Hi

#copy your image in mime directory.

#then take a simple type in dictionary then give values and description in the enumeration type.

#take a value attribute in your controller

#Add a image UI Element and bind it with the attribute and then set current context element in your with the extension of .jpg

thanks

Former Member
0 Kudos

Hi,

Please go through this thread

Regards,

ramesh