Coder Social home page Coder Social logo

kudzuasp's People

Contributors

mumpitz avatar trilogic avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

kudzuasp's Issues

Invalid property when sub-templates (parent engine) is used

After upgrading to the latest version I experience the following error.

When I use a custom component that creates a child template engine I receive a VBScript error complaining of an invalid property. This occurs on lines 858 and 1095. I believe the parent property here references the parent engine itself.

When I changed lines from:
ME.Parent.ENGINE.ContentAppend sContent
To this:
ME.Parent.ContentAppend sContent

The inner template was correctly evaluated and the resulting content was properly added to the parent template engine.

broken IIf

In Line 832 of _kudzu.asp, the IIf Handler is set to Class CTPSubst What would need to be CTPIIf.
And then the Class CTPIIf itself has a logical failure.
If the expression evaluates to false, Exit Sub is triggered, instead of returning the third parameter.
Removing the Condition would be correct, right?

How to use another components?

Hi, thanks a lot for this library, I need to maintaint an old system in Classic ASP and I want use this engine, there are a lot of components, but does not information about them.

How can we use this?

Case: a SELECT...CASE programming construct based upon a named value
CrLf: inserts one or more Carriage Return Linefeed pairs to HTML output
Cycle: cycles a variable through a series of values (used in iteration)
Decr: decrements a named value
Execute: executes another ASP page and inserts the content into the stream
Flush: flushes the output (implicitly invoked with Execute)
ForArray: iterates content over an array of values
ForEach: iterates content over a collection of values
IIf: includes content when a named value is true
IfTrue: includes content when a values is true
IfFalse: includes content if a value is false
Ignore: ignores the content completely (for prototyping)
Incr: increments a numeric value by one
Iterate: iterates using a named iterator assigned to the iterators collection
Record: evaluates and copies the enclosed content to a named value
Replace: replaces the content with a single named value
Profiler: computes the "end time," sets the named value and evaluates the content
SetValue: sets a named value with another value
Space: inserts one or more spaces into the output stream
Subst: perform multiple substitutions on the content
Tab: inserts one or more tab characters into the output stream
Tree: draws a tree of information using a named value that is of type TreeNode
UnSetValue: removes a value from the Values collection

Repository Transfer

Did any issues occur while transferring the repo?
I can imagine that github is not able to transfer the repo if i already own a fork of it. So if there were errors, i will delete my fork to be able to accept the repo.

Which is the correct code?

I found Sourcecode at your website http://www.andrewfriedl.com/ that has the Version Number 1.2.5 and seems to be a bit more advanced then the version 1.6.0 here in the repo.

At least there is a Class CTPRandom and Class CTemplateNode has the additional Properties mIncluded, Get Included and Set IncludeNode.
The Sub EvalNodeID changed to a Function and there are minifications to save some lines of code.

In 1.2.5's CTemplatenEngine::WriteOutput(sContent) is ENGINE not present as well as the Condition If Not mParent is Nothing Then in CTemplateEngine::ContentFlush().
Are these missing by mistake?

The Line with libPathPush at the beginning was removed in 1.6.0?

Seems to be quite mixed up a bit. Would like to bring some light into the dark. ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.