Tapestry 5
  1. Tapestry 5
  2. TAP5-66

Use namespaces in templates to reference components in libraries

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major 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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development