Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1196

When <let unique="true" ..> is used, make sure the output string is a valid js identifier

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.2
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      According to http://www.htmlhelp.com/reference/html40/attrs.html,
      the id of html elements can includes hyphens ("-"), underscores ("_"), colons (":"), and
      periods (".")

      Lots of .script files use that id along with the <let unique="true"> to generate function names, e.t.c.

      Make sure that those function names are accepted by javascript

        Attachments

          Activity

            People

            • Assignee:
              andyhot Andreas Andreou
              Reporter:
              andyhot Andreas Andreou
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: