You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by flb <la...@gmail.com> on 2009/04/06 13:42:25 UTC

Re: IMarkupCacheKeyProvider - getCacheKey Problem

Hi there!

 I have a question regarding your code below:

@Override
public IResourceStream getMarkupResourceStream( final MarkupContainer
container,   final Class                      containerClass )
 {
           String markup  =   call to method to get the markup string (
creates it on the fly based on some xml )

           return new StringResourceStream( new StringBuffer( markup ) );
 } 

Your markup returned here uses templating with markup inheritance?! 
If so then remove it and use page templating without inheritance! - This was
the solution in my case. I had the same problem as you. 

BR,
Laszlo
-- 
View this message in context: http://www.nabble.com/IMarkupCacheKeyProvider---getCacheKey-Problem-tp22533136p22907105.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