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

VTL Reference include directive's explanation is wrong

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: Documentation
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: