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 Improvement
    • Status: Resolved
    • Priority: Major 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

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567997 ] jira [ 12591107 ]
        Mark Thomas made changes -
        Workflow jira [ 12392619 ] Default workflow, editable Closed status [ 12567997 ]
        Andreas Andreou made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Andreas Andreou made changes -
        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 exceptable by javascript

        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

        Andreas Andreou made changes -
        Field Original Value New Value
        Summary When <let unique="true" ..> is used, make sure the outpur string is a valid js identifier When <let unique="true" ..> is used, make sure the output string is a valid js identifier
        Andreas Andreou created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development