Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-741

PopupLinkRenderer overrides wrong method of DefaultLinkRenderer

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Contrib
    • Labels:
      None
    • Environment:
      Tapestry 4.0-beta-12

      Description

      In his fix for TAPESTRY-580, HLS changed the signature of DefaultLinkRenderer.constructURL from constructURL(ILink, String, IRequestCycle) to constructURL(ILinkComponent, IRequestCycle). PopupLinkRenderer's constructURL method was not modified to match the change, and is therefore not being called.

      Too bad Tapestry's codebase can't use Java 1.5...this is the perfect example of why the "@Override" annotation is a good thing

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard Lewis Ship
              Reporter:
              jefflub Jeff Lubetkin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: