Ok, I'll give it a shot. Perhaps there should be an ExternalImage class. I can't imagine that I'm the only one who needs something like this.
--- Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > Image is a Wicket specifc class and accesses images > the wicket way. If > you don't want, you can not use Image.java. Just use > ExternalLink, > create your own component similar to ExternalLink > (which is realy > easy) or may be even WebMarkupContainer and an > AttributeModifer only. > > Juergen > > On 10/5/05, Andrew Berman <[EMAIL PROTECTED]> > wrote: > > I've looked at the wicket images examples, but it > does > > not seem to help me out with how I use images. > > Basically, my database stores the image path for > > certain items. I pull that path out and want to > put > > it in the src attribute of the image or input > > type="image" tag, so it looks like > > src="images/imageHere.jpg". However, all the > images > > are hosted by Apache and I use mod_jk, such that > all > > images and javascript are hosted by Apache and all > > dynamic stuff is forwarded to Tomcat. > > > > When I construct an Image object and pass it the > Url, > > it tries to look for it in the path of the > component > > it was added to. How do I configure it to simply > spit > > out images/imageName.jpg? > > > > Thanks again for any help! > > > > Andrew > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, > downloads, discussions, > > and more. > http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, > downloads, discussions, > and more. > http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
