Re: ResourceReferences not working as expected

2009-04-13 Thread Jeremy Thomerson
Have you tried using it in an img tag rather than println? I.e.: add(new Image(img, ref)); img wicket:id=img / -- Jeremy Thomerson http://www.wickettraining.com On Mon, Apr 13, 2009 at 11:38 AM, Ryan LaHue ryanlahue...@gmail.com wrote: I'm having trouble getting ResourceReferences to work

Re: ResourceReferences not working as expected

2009-04-13 Thread Igor Vaynberg
make sure whatever ide/tools you use copies non java resources into the compiled classpath. -igor On Mon, Apr 13, 2009 at 9:38 AM, Ryan LaHue ryanlahue...@gmail.com wrote: I'm having trouble getting ResourceReferences to work for some reason, and was hoping somebody could give me some

Re: ResourceReferences not working as expected

2009-04-13 Thread mallet
Thanks for the responses. Jeremy: That's really strange... when I put the ResourceReference inside the image constructor it did work for the png image. I still not having any luck getting my javascript and .swf files to load, but I will continue trying. Igor: I made sure the IDE is copying all

Re: ResourceReferences not working as expected

2009-04-13 Thread mallet
Igor, you were right after all. There was an IDE exclusion on of my script's dependent files so it was not being copied over, causing my script to crash and appear not to be working. I thought I had verified they were all making it over but I missed one. Sincerest apologies for taking up your