On Tue, Oct 4, 2011 at 10:55 AM, Carl-Eric Menzel <cmen...@wicketbuch.de> wrote: > On Tue, 4 Oct 2011 10:41:27 +0200 > Martin Grigorov <mgrigo...@apache.org> wrote: > >> RequestListenerInterface stops the execution of callbacks for disabled >> and/or invisible components/behaviors but its seems it also forbids >> requesting a resource ... > > I think this is a not-so-easy problem, actually. In this use case > (render an image) it seems obvious that even though the whole panel is > disabled, it is being rendered, so the image resource should work. Define "disabled image" and we may find a solution :-) > > But is it always true that a resource should be allowed even if the > parent is disabled? Not sure. > > On the other hand, this can only affect component-hosted resources, I > think. One could reasonably say that in those cases the component is > responsible to see whether to allow the resource. Yes, only "component-hosted" resources are protected this way. That's why I suggested ContextImage as a workaround, or maybe it is more correct to say solution. > > Carl-Eric > www.wicketbuch.de > > --------------------------------------------------------------------- > 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