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

wicket should handle Enums like other primitives when injecting them.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.4
    • 1.4.6, 1.5-M1
    • wicket, wicket-spring
    • None
    • tested with spring.

    Description

      when binding Enum with the use of a factory-method it is not possible to inject the generated value. Primitives such as Integer, boolean etc are already handled directly, since they need no specific serialization handling. enums can be used likewise. i will provide a half-line patch for LazyInitProxyFactory which will fix this.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jdonnerstag Juegen Donnerstag
            apetersson Andreas Petersson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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

                Slack

                  Issue deployment