Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4904

Use a behavior that modifies AbstractLink's markup when disabled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.3.0
    • 7.0.0-M1
    • wicket
    • None

    Description

      Currently Wicket transforms <a> tag to <span><em> when a link is disabled.

      Recently Wicket-Bootstrap user filed issue https://github.com/l0rdn1kk0n/wicket-bootstrap/issues/79 that this breaks the UI because Twitter Bootstrap needs just 'disabled="disabled"' attribute in <a>.

      With the new strategy it will be possible to set global strategy and override it per link.

      Attachments

        1. WICKET-4904.patch
          7 kB
          Martin Tzvetanov Grigorov

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              mgrigorov Martin Tzvetanov Grigorov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: