Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4520 Inline enclosure doesn't work if wicket:message attribute is used on the same tag
  3. WICKET-4521

Improve all IComponentResolvers which are also IMarkupFilters to set tag ids with common prefix

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.6
    • 6.0.0-beta2
    • wicket
    • None

    Description

      Several IComponentResolvers (like InlineEnclosureHandler and WicketMessageTagHandler) create dynamic Component id from the ComponentTag id + page.getAutoIndex() only if the respective IComponentResolver recognize the ComponentTag id.
      This should be improved and should set the auto index if the ComponentTag id has a predefined namespace.

      See WICKET-4520. There a ComponentTag looks like <div wicket:enclosure=... wicket:message=...> and thus both IMarkupFilters manipulate the ComponentTag but just the first one sets its id. Later InlineEnclosureHandler acting as IComponentResolver sees 'wicket_message' as tag id and decides to not add the auto index.

      Attachments

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              mgrigorov Martin Tzvetanov Grigorov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: