Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-66

Use namespaces in templates to reference components in libraries

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.15
    • 5.1.0.0
    • None
    • None

    Description

      Just a thought, how about:

      <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:l="tapestry-library:/mylib">
      <l:mycomponent ...> ... </l:mycomponent>
      </html>

      Freely adapted from Flex's approach, which is a nice one.

      I think this is preferrable to:

      <t:mylib.mycomponent ...

      which is valid XML but not very pretty.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: