Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

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
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License