2009/4/9 Tarek Ziadé <[email protected]>:
>
> Hello,
>
> to make CacheFu work properly with ETags, I had to append in the ETag the 
> lock state
> of the object:
>
> ILockable(object).locked()

Hi,

Using "object/@@plone_context_state/is_locked" in the ETag expression
of relevant cache rules should do the job, as ILockable is not
exposed.


>
> Otherwise, when you unlock an object the unlock panel will not disappear even 
> if the object is locked. I suggest adding this to CachSetup in the list of 
> elements that can be checked in the configuration panel to compute Etag
>
> Cheers
> Tarek
> --
> View this message in context: 
> http://n2.nabble.com/Adding-an-%22object-lock-state%22-in-CacheSetup-for-ETag-computation-tp2609743p2609743.html
> Sent from the Product Developers mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Product-Developers mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/product-developers
>



-- 
-- 
Gilles Lenfant
INGENIWEB (TM) - SAS 50000 Euros - RC B 438 725 632
Bureaux de la Colline
1 rue Royal
92210 Saint Cloud - France
Phone : 01 78 15 24 00 / Fax : 01 46 02 44 04
web : www.ingeniweb.com - une société du groupe Alter Way

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to