cancel
Showing results for 
Search instead for 
Did you mean: 

Where to Put Resources (Images)?

detlev_beutner
Active Contributor
0 Kudos

Hi there,

I want to display buttons with images on them. The way how this works is quite clear, nevertheless, I do not see any place where to put the images inside the WD-project and how to refer them!?

Any hint?

Thanks in advance

Detlev

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Detlev,

import the images into the src/Mimes/Components/<currentComponent> directory. There's an "Import from filesystem" feature in Eclipse to do that.

An alternative is to copy the images manually and to use the Navigator view to refresh the project contents (via the context menu).

You can then use the filename(s) you see in the WD view for the corresponding imagesource-properties.

Hope that helps.

Regards

Stefan

detlev_beutner
Active Contributor
0 Kudos

Hi Stefan,

yeah, great, thanks. At a first glance, this was just the place where I expected the image to put in, but tha fact that there was no context menu entry on this mimes directory stopped me from going on this path...

Wouldn't it be a good idea to add such an entry within the context menu, at least for the src/* folders? (And then, start the normal import wizard, with the destination directory preset.)

Best regards

Detlev

Former Member
0 Kudos

Hi Detlev,

> Wouldn't it be a good idea to add such an entry

> within the context menu, at least for the src/*

> folders? (And then, start the normal import wizard,

> with the destination directory preset.)

..maybe one of the SAP internals around here will add it to the request list for the next release.

Regards

Stefan

Former Member
0 Kudos

Hi Detlef, Stefan,

I forwarded the request to the appropriate people!

Thanks for your input!!!

Best regards,

Karin

Former Member
0 Kudos

Hi All,

Good news: We implemented it, so with the next release you will have the following option:

Within a file under src/mimes (Web Dynpro Explorer) you have the option by using the context menue to call the Eclipse "import-from-file-system" Wizard. The selected node (where you started the context menue) will be proposed as target directory.

Thanks and best regards,

Karin

detlev_beutner
Active Contributor
0 Kudos

Hi Karin,

very nice, thank you.

Best regards

Detlev

Former Member
0 Kudos

Hi Karin,

dito, thanks alot! But what about Drag&Drop ) ? (just kidding)

Best regards,

Stefan

Former Member
0 Kudos

Fine tuning will be done later

Karin

Answers (0)