@Peter: This is actually what I was doing already via the
ByteArrayResource class! I just didn't notice that only the constructor
was called... Thanks for opening my eyes!
@Martin: In 1.5.3, I think the code you referenced is :
// see if request handler addresses the resource we serve
if (resourceReference.equals(handler.getResourceReference()) ==
false &&
resourceReference.getResource().equals(handler.getResource()) == false)
{
return null;
}
Indeed, it suffices for the ResourceReference to implement equals which
it already does by default using its key. Thanks for explaining!
Regards,
Bertrand
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org