Hi,

No need to use PackageResRef.
Just use ResourceReference.

On Tue, Oct 23, 2012 at 5:21 PM, Arne <arne-wigand.bag...@idealo.de> wrote:
> In Wicket 1.5.x I used to mount a RenderedDynamicImageResource like this in my
> Application:
>
>                 mountResource(REF, new PackageResourceReference(REF) {
>                                         @Override
>                                         public IResource getResource() {
>                                                 return new MyImageResource();
>                                         }
>                                 });
>
> In Wicket 6 PackageResourceReference#getResource() returns PackageResource
> instead of IResource, of which RenderedDynamicImageResource is not a subclass
> (RenderedDynamicImageResource > DynamicImageResource > IResource).
>
> How is the mounting of a RenderedDynamicImageResource as a
> PackageResourceReference supposed to work now?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to