cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

AddToZoneFromPluginHandlers

Using ADDTOZONE from certain plugin handlers

IDEA! This document is linked to from the standard POD documentation

ALERT! Warning! Take care when adding to zones from the following plugin handlers: Normally, adding to the same zone/id multiple times is fine - previous data is ovewritten to ensure content only appears once in the output. However, because these handlers are fired at the end of _renderZone() handling with Foswiki::Meta::expandMacros() and Foswiki::Meta::renderTML(), it is possible that multiple renderings of a particular zone (normally, only the first rendering should contain any content) will result in content appearing more than once.

See Tasks.Item9480 for background

BasicForm edit

TopicClassification DeveloperDocumentation
TopicSummary Take care when adding to a zone from a rendering or macro/tag related plugin handler
InterestedParties
Topic revision: r1 - 18 Aug 2010, PaulHarvey - This page was cached on 20 Jun 2018 - 11:33.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy