Re: ResourceReference.getResource() returns NULL ?

2011-07-02 Thread Jim Pinkham
Search for Dynamically loading image for good examples of how to do this. Basically, you do not put the image data directly into HTML. Instead, you make your page.html with some table perhaps, and a series of links to your images. So you would need one method to list the ids of your images to

ResourceReference.getResource() returns NULL ?

2011-02-22 Thread smallufo
I want to build a DynamicImageResource which can scale internal (packaged) images (with name : {index}.gif ) . In getImageData() , I try to load a truly existing image , but cannot getResource() , it returns null ! Here is my code : public class ScaledImageResource extends DynamicImageResource {