The foswiki svn repository is obsolete. Developers should register for a http://github.com/ account for commit access to foswiki project. Github is ready for updates.

Item11453: Convert RenderListPlugin to use preRenderingHandler

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Extension RenderListPlugin  
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/RenderListPlugin.pm b/RenderListPlugin/lib/Foswiki/Plugins/RenderListPlugin.pm
index c6c5fb9..8605791 100755
--- a/RenderListPlugin/lib/Foswiki/Plugins/RenderListPlugin.pm
+++ b/RenderListPlugin/lib/Foswiki/Plugins/RenderListPlugin.pm
@@ -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

 

ItemTemplate edit

Summary Convert RenderListPlugin to use preRenderingHandler
ReportedBy GeorgeClark
Codebase 1.1.4, trunk
SVN Range
AppliesTo Extension
Component RenderListPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:13720 Foswikirev:13721
TargetRelease patch
ReleasedIn 1.1.5
CheckinsOnBranches Release01x01 trunk
trunkCheckins Foswikirev:13720
Release01x01Checkins Foswikirev:13721
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