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

Incorrect parameter name in SpringWebApplicationFactory's javadocs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4-RC2
    • 1.4-RC3
    • wicket-spring
    • None

    Description

      The javadocs state that it is the parameter named "beanName" which value is taken into account when looking up spring managed application bean. It is wrong, according to the code it should say "applicationBean". Right now even if the wrong "beanName" parameter name is used applications tend to work because it is most common to use a single application class (bean in spring) and when the "applicationBean" init parameter is not provided, the factory falls back to the bean resolution based on the ancestor class.

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            drzewo Dominik Drzewiecki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: