You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Markus Schmalhofer <gr...@schmalhofer.net> on 2011/01/27 00:11:49 UTC

Re: IndexedSharedResourceCodingStrategy.encode not being called

I faced the same the problem and found this solution.
You must use "org.apache.wicket.Application/<name of shared ressource>" as
your resource key.

In your example:
Instead of writing mount(new IndexedSharedResourceCodingStrategy("photo",
"photo") ); 
you must use: 
mount(new IndexedSharedResourceCodingStrategy("photo",
"org.apache.wicket.Application/photo") );  
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/IndexedSharedResourceCodingStrategy-encode-not-being-called-tp3074859p3239006.html
Sent from the Users forum 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