Tapestry
  1. Tapestry
  2. TAPESTRY-1746

Input validation documentation includes an invalid template that results in a parser error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.5
    • Fix Version/s: 5.0.6
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      This is a parser and a doc bug. In the "Input Validation" docs:
      <t:form>

      causes something like:
      [ERROR] Login Embedded component(s) form are defined within component class
      Login, but are not present in the component template.

      Fix the parser (exercise for the reader) and change the example to something like:
      <t:form t:id="form">

      All the examples need to "just work" if copied and pasted. (Obviously.)

      Cheers,
      Nick.

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567998 ] jira [ 12591108 ]
        Mark Thomas made changes -
        Workflow jira [ 12412678 ] Default workflow, editable Closed status [ 12567998 ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 5.0.6 [ 12312544 ]
        Resolution Fixed [ 1 ]
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Summary Validation documentation example generates a parser error (which confuses newbies) Input validation documentation includes an invalid template that results in a parser error
        Nick Westgate created issue -

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Nick Westgate
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development