Sha256: db37d6a55c67955150ed0418127d7592df00df5f6ffb7a0123d293b3432d01cd

Contents?: true

Size: 1.24 KB

Versions: 20

Compression:

Stored size: 1.24 KB

Contents

            # hasHandler = false
            # if pageOptions.handler != nil
            #     handlerpath = File.join(website, pageOptions.handler)
            #     if File.exists?(handlerpath)
            #         ScmsUtils.log( "Handler found: #{pageOptions.handler}" )
            #         hasHandler = true
            #         begin
            #             require handlerpath
            #             ScmsUtils.log("Rendering with handler")
            #             begin
            #                 viewSnippet = ScmsHandler.render(viewpath)
            #             rescue Exception=>e
            #                 ScmsUtils.errLog(e.message)
            #                 ScmsUtils.log(e.backtrace.inspect)
            #             end
            #         rescue Exception => e 
            #             ScmsUtils.errLog( "Problem running: ScmsHandler: #{e.message}" )
            #         end
            #     else
            #         ScmsUtils.errLog("Handler not found: #{pageOptions.handler}")
            #         ScmsUtils.writelog("::Handler not found #{pageOptions.handler}", website)
            #         ScmsUtils.writelog("type NUL > #{handlerpath}", website)
            #     end
            # end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
scms-4.5.1 lib/scms/scms-customHandler.rb
scms-4.5.0 lib/scms/scms-customHandler.rb
scms-4.4.9 lib/scms/scms-customHandler.rb
scms-4.4.8 lib/scms/scms-customHandler.rb
scms-4.4.6 lib/scms/scms-customHandler.rb
scms-4.4.5 lib/scms/scms-customHandler.rb
scms-4.4.4 lib/scms/scms-customHandler.rb
scms-4.4.3 lib/scms/scms-customHandler.rb
scms-4.4.2 lib/scms/scms-customHandler.rb
scms-4.4.1 lib/scms/scms-customHandler.rb
scms-4.4.0 lib/scms/scms-customHandler.rb
scms-4.3.0 lib/scms/scms-customHandler.rb
scms-4.2.6 lib/scms/scms-customHandler.rb
scms-4.2.5 lib/scms/scms-customHandler.rb
scms-4.2.4 lib/scms/scms-customHandler.rb
scms-4.2.3 lib/scms/scms-customHandler.rb
scms-4.2.2 lib/scms/scms-customHandler.rb
scms-4.2.0 lib/scms/scms-customHandler.rb
scms-4.1.2 lib/scms/scms-customHandler.rb
scms-4.1.1 lib/scms/scms-customHandler.rb