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

Add possibility to force usage of (renderable) tag for own Components

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • wicket
    • None

    Description

      Sometimes, Components don't work as expected when not used with a DOM element.
      This generates bugs, which are often and especially only visible on ajax interaction.

      Common scenario: updating a component via Ajax which is used with wicket:container or setRenderBodyOnly(true). Or updating those (non-existent) DOM element with HTML attributes.

      To allow for fail-fast behavior, I suggest to add an overridable getter to indicate that the component must be rendered as DOM element, e.g. isDomElementMandatory().

      Attachments

        1. wicketPanel_Tag_Rewriting.zip
          5 kB
          Tobias Haupt

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pparson Peter Parson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: