The only solution I have is to create my own class ResourceLink with a
method:

    public void beforeResourceRequested() {}  (here I will set rowModel to
my resource)


and use it inside onResourceRequested:

        /**
         * @see org.apache.wicket.IResourceListener#onResourceRequested()
         */
        @Override
        public final void onResourceRequested()
        {
                beforeResourceRequested();
                Attributes a = new Attributes(RequestCycle.get().getRequest(),
RequestCycle.get()
                        .getResponse(), null);
                resource.respond(a);
                onLinkClicked();
        }



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-LinkResource-with-a-dynamic-resource-tp4657238p4657239.html
Sent from the Users forum mailing list archive at Nabble.com.

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

Reply via email to