Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.28.0, 7.9.0, 8.0.0-M8
    • Fix Version/s: 8.0.0
    • Component/s: wicket
    • Labels:

      Description

      For normal rendering we have:

      	/**
      	 * We need to postpone calling beforeRender() on components that implement {@link IFeedback}, to
      	 * be sure that all other component's beforeRender() has been already called, so that IFeedbacks
      	 * can collect all feedback messages. This is the key under list of postponed {@link IFeedback}
      	 * is stored to request cycle metadata. The List is then iterated over in
      	 * {@link #prepareForRender()} after calling {@link #beforeRender()}, to initialize postponed
      	 * components.
      	 */
      	private static final MetaDataKey<List<Component>> FEEDBACK_LIST = new MetaDataKey<List<Component>>()
      	{
      		private static final long serialVersionUID = 1L;
      	};
      

      Should there be similar functionality built in for Ajax update? It seems to be a typical problem that the feedback of an ajax update occurs too late.

        Attachments

        1. WICTKET-6503-feedbacks-prepare-last.zip
          36 kB
          Sven Meier
        2. Wicket8_Quickstart-IListener.zip
          171 kB
          Martin Terra
        3. Wicket8_Quickstart-nested.zip
          166 kB
          Martin Terra
        4. Wicket8_Quickstart.zip
          92 kB
          Martin Terra
        5. AjaxRequestTarget.diff.txt
          3 kB
          Martin Terra

          Issue Links

            Activity

              People

              • Assignee:
                svenmeier Sven Meier
                Reporter:
                mmakundi Martin Terra
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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