Tapestry
  1. Tapestry
  2. TAPESTRY-913

Cannot specify property or copy-of without using a page specification

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.2, 4.0.1, 4.0, 4.1
    • Fix Version/s: 4.1.1
    • Component/s: Annotations
    • Labels:
      None

      Description

      When declaring a component in a page specification you can set these values as attributes of the component element.

      When declaring a component with an annotation you can specify "inherit-informal-parameters" via the Component annotation in page class, but "property" and "copy-of" are not implemented in the annotation.

      You can only specify the "id" and "type" attributes when declaring a component implicitly in the HTML template. You cannot specify "property", "copy-of" or "inherit-informal-parameters".

        Issue Links

          Activity

          Hide
          Andreas Andreou added a comment -

          copyOf attribute handles this now.

          Show
          Andreas Andreou added a comment - copyOf attribute handles this now.
          Hide
          Andreas Andreou added a comment -

          There's no need for "property" in the @Component annotation.
          It's derived from the method name.

          Show
          Andreas Andreou added a comment - There's no need for "property" in the @Component annotation. It's derived from the method name.
          Hide
          Andreas Andreou added a comment -

          IHMO, only annotations should support this

          Show
          Andreas Andreou added a comment - IHMO, only annotations should support this

            People

            • Assignee:
              Andreas Andreou
              Reporter:
              Mat Gessel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development