cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a central "deposit" for mimes

Former Member
0 Kudos

Hello there,

I have created several web dynpro applications which use several *.gif files for the buttons. Today I always copy the used *.gif files to the mimes directory of each application/component.

I rather would like to use one central "deposit" for these mimes.

Just for testing I tried the following solution:

1. I created a new local DC, application XXApp and component XXComp for storing the icons

2. I created another local DC, application YYApp Component YYComp and added the following statements into Component YYComp:

WDDeployableObjectPart appPart = WDDeployableObject.getDeployableObjectPart( "xx.com/example",

"XXApp", WDDeployableObjectPartType.APPLICATION);

wdContext.currentContextElement().setCancelIcon(WDURLGenerator.getWebResourceURL(appPart, "Cancel.gif"));

I also created a View with a button and used the context CancelIcon to contain the URL to the Cancel.gif icon but I did not manage to get it working

What am i doing wrong or is there another way to do this job.

thanks

Bertil Rebergen

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

You can create a alias for a folder inside the server and store all the related images inside that folder.

Alias is created using http provider service in visual administrator.

Regards

Bharathwaj