Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need help loading images/resources from ADF libraries

Sascha HerrmannDec 1 2010 — edited Dec 3 2010
Hi!

We have a couple of detail flows, developed as bounded task-flows with page fragments, packaged into ADF libraries, which we then re-use in the main applications as regions (11.1.1.3.0).

Now, one page fragment contains some buttons, and the buttons have icons, specified with "icon='/images/someIcon.png'", "disabledIcon='....'". That works well during design and test of the flow and of the fragment.
But as soon as the task-flow is packaged as ADF library and runs inside the main application's region, the images can no longer be found. We just get a "404" for the image URL.
I have checked the libraries jar file, the images are there alright in the images folder.

Probably we're missing some mapping in our web.xml?! Or is something else going wrong here?
I have found a posting by Simon Lessard for a similar (?) problem, he said there should be a blog entry for that (I hope) problem, but I cannot find it, no matter what I google.

I had some limited success putting the images into META-INF/adf, but I also would need to load a DLL for example from an ADF library, and that did not work when put into META-INF/adf.

Thanks in advance!

Sascha
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 31 2010
Added on Dec 1 2010
9 comments
1,511 views