Tapestry 5
  1. Tapestry 5
  2. TAP5-92

Add new element, t:remove, that removes a portion of a template

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.1.0.1
    • Component/s: None
    • Labels:
      None

      Description

      Currently, any XML comments in a Tapestry template are dutifully echoed down to the client.

      It would be nice to have a <t:comment> element, as a parser directive, that would support server-side comments in the template.

      Such an element would not convert into a template token; it would simply drop out.

      This component would fulfill the role of jwcid="$remove$" from Tapestry 4.

        Issue Links

          Activity

          Carsten Klein made changes -
          Link This issue is related to TAP5-1925 [ TAP5-1925 ]
          Howard M. Lewis Ship made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          Fix Version/s 5.1.0.1 [ 12313660 ]
          Howard M. Lewis Ship made changes -
          Summary Add support for server-side only comments Add new element, t:remove, that removes a portion of a template
          Description Currently, any XML comments in a Tapestry template are dutifully echoed down to the client.

          It would be nice to have a <t:comment> element, as a parser directive, that would support server-side comments in the template.

          Such an element would not convert into a template token; it would simply drop out.
          Currently, any XML comments in a Tapestry template are dutifully echoed down to the client.

          It would be nice to have a <t:comment> element, as a parser directive, that would support server-side comments in the template.

          Such an element would not convert into a template token; it would simply drop out.

          This component would fulfill the role of jwcid="$remove$" from Tapestry 4.
          Howard M. Lewis Ship made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Howard M. Lewis Ship made changes -
          Assignee Howard M. Lewis Ship [ hlship ]
          Howard M. Lewis Ship made changes -
          Issue Type Bug [ 1 ] New Feature [ 2 ]
          Howard M. Lewis Ship made changes -
          Affects Version/s 5.0.15 [ 12313429 ]
          Howard M. Lewis Ship made changes -
          Project Tapestry [ 10573 ] Tapestry 5 [ 12310833 ]
          Component/s tapestry-core [ 12311285 ]
          Affects Version/s 5.0.9 [ 12312930 ]
          Issue Type Improvement [ 4 ] Bug [ 1 ]
          Key TAPESTRY-2082 TAP5-92
          Fix Version/s 5.1 [ 12312964 ]
          Hide
          Andy Blower added a comment -

          I also miss this from using JSPs where you could use <%-- non-public comment --%>

          I think a <t:comment> element syntax isn't great, but I'm not sure what the alternatives are though.

          Show
          Andy Blower added a comment - I also miss this from using JSPs where you could use <%-- non-public comment --%> I think a <t:comment> element syntax isn't great, but I'm not sure what the alternatives are though.
          Howard M. Lewis Ship made changes -
          Field Original Value New Value
          Fix Version/s 5.1 [ 12312964 ]
          Hide
          Massimo Lusetti added a comment -

          This would be very very very very nice indeed!

          Show
          Massimo Lusetti added a comment - This would be very very very very nice indeed!
          Howard M. Lewis Ship created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development