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

Use namespaces in templates to reference components in libraries

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.1.0.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: