on 05-03-2006 12:36 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.