You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by DmitryM <ns...@aol.com> on 2010/08/17 05:41:50 UTC

DynamicWebResource double request

Hello, guys

Can you please advise me on the proper implementation of the
DynamicWebResource subclass?

When I override the abstract methods I see that my getResourceState() is
called twice.
The resource is registered in Wicket and is used to generate a JavaScript
data.

Thanks,
Dmitry
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/DynamicWebResource-double-request-tp2327741p2327741.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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


Re: DynamicWebResource duplicate request

Posted by DmitryM <ns...@aol.com>.
Missed an obvious thing ("use the source, Luke") - there is the getLength()
method on the resourcestate (which also needs to load the data).
So, needed more accurate implementation of the getResourceState.

Closing the topic.
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/DynamicWebResource-duplicate-request-tp2327741p2328645.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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