Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.11.0
    • Fix Version/s: 6.12.0, 7.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      Please can HeaderItem be made Serializable?

      Use case: Behavior which renders OnEventHeaderItems to the header response. I want to be able to add dependencies to the Behavior, but HeaderItems are not Serializable.

        Activity

        Hide
        Martin Grigorov added a comment -

        Why not keep the just content (CharSequence) around ?

        Show
        Martin Grigorov added a comment - Why not keep the just content (CharSequence) around ?
        Hide
        Jesse Long added a comment -

        I do, but I need to say that this CharSequence requires JQuery, JQueryUI etc etc to work. For this, I want to add a method:

        public MyBehaviorName addDependency(HeaderItem item);

        The OnEventHeaderItem I render is then a subclass of real OnEventHeaderItem and returns the behaviors list of dependencies in getDependencies().

        Show
        Jesse Long added a comment - I do, but I need to say that this CharSequence requires JQuery, JQueryUI etc etc to work. For this, I want to add a method: public MyBehaviorName addDependency(HeaderItem item); The OnEventHeaderItem I render is then a subclass of real OnEventHeaderItem and returns the behaviors list of dependencies in getDependencies().
        Hide
        Martin Grigorov added a comment -

        In 6.12 HeaderItem will be serializable

        Show
        Martin Grigorov added a comment - In 6.12 HeaderItem will be serializable

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Jesse Long
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development