group Next Big Thing: Register for the Foswiki Camp 2015 now. ... group Annual Foswiki Association meeting: Friday 20th March 2015 at 1300Z

Item11453: Convert RenderListPlugin to use preRenderingHandler

Priority: Normal
Current State: Closed
Released In: 1.1.5
Target Release: patch
Applies To: Extension
Component: RenderListPlugin
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Should change this to use preRenderingHandler. Change is simple but without unit tests - don't know what else might break. Everything seems to work fine

diff --git a/RenderListPlugin/lib/Foswiki/Plugins/ b/RenderListPlugin/lib/Foswiki/Plugins/
index c6c5fb9..8605791 100755
--- a/RenderListPlugin/lib/Foswiki/Plugins/
+++ b/RenderListPlugin/lib/Foswiki/Plugins/
@@ -72,7 +72,7 @@ sub initPlugin {
 # =========================
-sub startRenderingHandler {
+sub preRenderingHandler {
 ### my ( $text, $web ) = @_;   # do not uncomment, use $_[0], $_[1] instead
     # This handler is called by getRenderedVersion just before the line loop

-- GeorgeClark - 18 Jan 2012

Topic revision: r7 - 11 Apr 2012, GeorgeClark

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License