Skip to content

Passing parameters to the Templateprocessor #6

Description

@RobertHolscher

Hi , I love the ESPTemplateprocessor. however I am running into a problem. I have an HTML with a lot of keys to replace , so the template creater is called several times. I want to pass variables but I do not want to make them global (eat too much memory)
Can I pass parameters to the processor from another routine like a function ? This way I do not have to put the creation of the values in the routine for the processor handler. Since calling this processor handler several times, means also that the calculation of the values is repeated so many times and that is costing time and will slow the html page.
I hope this is a clear description

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions