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

Template parser is insufficiently picky about component ids

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.6
    • 5.0.7
    • tapestry-core
    • None

    Description

      The template parser should complain if component ids are invalid ... they must be Java identifiers. People keep putting periods into the component id, ex:

      <t:textfield t:id="user.firstname"/>

      when they should:

      <t:textfield value="user.firstname"/>

      The fact that the parser allows the invalid component id, and then complains about it later and obscurely, is confusing.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: