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

Exposing the Link in the EventLink component

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Incomplete
    • 5.3.3
    • None
    • tapestry-core

    Description

      I would like to alter the Link in an EventLink via a Mixin - specifically, remove the LoopBack parameter.

      To do this, the "AbstractLink.link" field needs to be set before the link is rendered and a simple change to org.apache.tapestry5.corelib.base.AbstractComponentEventLink would accomplish this:

      protected void setupRender()

      { super.link = createLink(context); }

      AbstractLink.link would also need to become protected.

      I believe the above to be a small yet useful enhancement to the Link Component API.

      Attachments

        1. Link.patch
          2 kB
          Steve Eynon

        Activity

          People

            Unassigned Unassigned
            slimerdude Steve Eynon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: