it would be great, if you could create a page in the wiki and post the link on the list.
gerolf On 8/15/07, Antoine Angénieux <[EMAIL PROTECTED]> wrote: > > Okay, I found a solution based uniquely based on ResourceReference for > both the original icon and the decorators to be applied. > > If anyone's interested, let me know it and I'll post some code. > > Cheers, > > Antoine. > > Antoine Angénieux a écrit : > > Hi guys, > > > > I've been using Wickets for over 6 months now and absolutely love it! > > > > I'm developping on Wicket 1.3 beta 2 and was looking for the best > > solution to provide some kind of composite ResourceReference... > > > > What I want to achieve is building complex icons by superposing them on > > top of each others (imagine an icon in a tree that could be decorated by > > an error mark and / or a signed, rejected mark or whatever you can come > > up with). > > > > Furthermore, I'd like the resulting image to be accesible by an URL that > > does not require bookmarkability... > > > > My "source" icon to be decorated is available as a Wicket > > ResourceReference. > > > > One way I found interesting was to build this on top of > > RenderedDynamicImageResource and do the overlaying in the > > render(Graphics2D graphics) method, but I could not find a reliable > > method to wrap the data from my source icon ResourceReference into > > either a "comprehensive" byte array for the awt Toolkit to build an > > image, or more simply directly an awt Image from the > > resource.getResourceStream().getInputStream(). > > > > Ideas anyone ? > > > > Cheers, > > > > Antoine. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >