Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-416

VTL Reference include directive's explanation is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.5
    • Documentation
    • None

    Description

      VTL Reference include include directive's explanation is wrong.
      Current explanation is
      #include( arg[, arg2, ... argn] )

      • arg - Refers to a valid file under TEMPLATE_ROOT.

      Examples:

      • String: #include( "disclaimer.txt", "opinion.txt" )
      • Variable: #include( $foo, $bar )

      but #include directive does not allow comma-deliminated expression. So this should describe as follows,
      #include( arg[ arg2 ... argn] )

      • arg - Refers to a valid file under TEMPLATE_ROOT.

      Examples:

      • String: #include( "disclaimer.txt" "opinion.txt" )
      • Variable: #include( $foo $bar )

      Attachments

        Activity

          People

            Unassigned Unassigned
            abs Daigo Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: