I am using wicket 1.2.6 API. I couldnt find this
"org.apache.wicket.markup.IMarkupCacheKeyProvider" interface. Could you
please tell me which jar or wicket has this interface.
Thanks in advance.
Eelco Hillenius wrote:
>
> Look at PageWithCustomLoading. It implements IMarkupCacheKeyProvider
> and has method:
>
> /**
> * Prevent the markup from ever be cached. This is optionally -
> components
> * that don't implement [EMAIL PROTECTED] IMarkupCacheKeyProvider} will
> just have
> their
> * markup cached - but is useful when markup varies. If you don't need
> such
> * dynamic loading, it is advisible to not implement
> * [EMAIL PROTECTED] IMarkupCacheKeyProvider}.
> *
> * @see
> org.apache.wicket.markup.IMarkupCacheKeyProvider#getCacheKey(org.apache.wicket.MarkupContainer,
> * java.lang.Class)
> */
> public CharSequence getCacheKey(MarkupContainer container, Class
> containerClass)
> {
> return null;
> }
>
> Eelco
>
> On 5/30/07, Javed <[EMAIL PROTECTED]> wrote:
>>
>> I tried with customresourceloading from wicket-examples its working but
>> the
>> problem is with markup cache.
>>
>> I am having to different markups for the same page(java file) so when I
>> start my server and hit that page it with criteria that selects markup
>> dynamically it displays that page with that markup but when I hit it one
>> more time (without restarting server) with different criteria which
>> should
>> change the markup but it is showing first(old or previous) markup.
>> After doing google, I came across this markup cache thing. but didnt get
>> any
>> solution.
>>
>> Could you please suggest on this problem?
>>
>>
>> Eelco Hillenius wrote:
>> >
>> >> Thanks for reply.
>> >>
>> >> One more thing, Can I have this setting of markup for particular
>> module
>> >> (Page) and not for whole application?
>> >
>> > Yep, see PageWithCustomLoading from that example. Also note that the
>> > application scoped setting is a strategy, so with a bit of thinking
>> > you can bend it every way you want it.
>> >
>> > Eelco
>> >
>> >
>> -------------------------------------------------------------------------
>> > This SF.net email is sponsored by DB2 Express
>> > Download DB2 Express C - the FREE version of DB2 express and take
>> > control of your XML. No limits. Just data. Click to get it now.
>> > http://sourceforge.net/powerbar/db2/
>> > _______________________________________________
>> > Wicket-user mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Skin-effect-in-wicket-tf3833465.html#a10871813
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
--
View this message in context:
http://www.nabble.com/Skin-effect-in-wicket-tf3833465.html#a10876450
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user