* RĂ¼diger Schulz: > > So going the way Jeremy provided, I would do the following: > > 1. Extend an AbstractRequestUrlCodingStrategy, where I will define how > the path will be interpreted (quite similar to how I do it in my > servlet a.t.m.). > > 2. decode() would return a ResourceStreamRequestTarget, which uses a > IResourceStream, which will deliver the image data. > > 3. Implement a WebComponent, where in onComponentTag() the src > attribute will be generated to match my strategy from above. > > Are there any objections on this, or should it work? This thread > promises an example, but I couldn't find one in the wiki: > http://www.nabble.com/Joost-uses-Wicket-tf3390296.html#a9791575 > (Jean-Baptiste seems to work on some kind of picture gallery as well :)
Exactly, and there are now examples that may help you a bit: http://wicketstuff.org/wicket13/staticpages/ No images are currently shown in the examples, but it works the same with any kind of data. Cheers, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user