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

don't keep references to Font and Color in DefaultButtonImageResource

    XMLWordPrintableJSON

Details

    Description

      See if we can get rid of the Color and Font fields in DefaultButtonImageResource. For starters, they are quite heavy and even though they are serializable, they are probably heavier than we would want. Furthermore, at this time they are a problem for clustering with Terracotta. This may or may not be fixed, but we can probably do our bit to avoid keeping those references.

      What we should investigate is whether we can store the relevant data of the Font and Color instances, keep that and reconstruct the actual Font and Color instances just when we needed (which should only be during the processing of a request cycle.

      Attachments

        Activity

          People

            ehillenius Eelco Hillenius
            ehillenius Eelco Hillenius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: