Skip to content

Create new TALES expression type: 'pipe' #250

@craigfowler

Description

@craigfowler

The reason for a pipe expression is transform done payload data (retrieved via a TALES expression) via another object (again, a TALES expression) and get the result. The payload data would be piped through an object which transforms it.

The usage would be something like:

tal:define="formattedDate pipe:here/sourceDate pipes/DateFormatter"

In this case here/sourceDate could be a raw date object and pipes/DateFormatter would be a transformer object which formats dates and outputs a string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAn improvement, new feature or other addition to the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions