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

FilterForm#enableFocusTracking(FormComponent) method uses ComponentTag#put(String,CharSequence) with key="id" which gives a warning in Wicket 1.5

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5-RC5.1
    • Fix Version/s: 1.5-RC6
    • Component/s: wicket-extensions
    • Labels:
      None
    • Environment:
      Any

      Description

      A warning "Please use component.setMarkupId(String) to change the tag's 'id' attribute." is issued every time the component is rendered as the put(String, CharSequence) method on ComponentTag is called with "id" as a key.

      To get rid of the warning message the FilterForm#enableFocusTracking(FormComponent) should be updated according to the warning message.

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              jomarl Andre L
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified