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

Incorrect Javadoc: Refering to specific page in Application properties file is not possible

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 8.0.0, 8.1.0
    • Fix Version/s: 8.2.0, 9.0.0-M1
    • Component/s: wicket-core
    • Labels:
      None

      Description

      I posted a question about this on Stackoverflow and was asked by a Wicket contributor to file the question as a bug. It is not actually a bug in Wicket itself, it appears the Javadoc documentation is wrong.

      Please refer to the Stackoverflow question for more detail, I intend to keep this short.

      According to the Javadoc of ComponentStringResourceLoader the lookup order of resources is as given below:

      page1.properties => form1.input1.Required
      page1.properties => Required
      form1.properties => input1.Required
      form1.properties => Required
      input1.properties => Required
      myApplication.properties => page1.form1.input1.Required
      myApplication.properties => Required

      However, the page1 part on the second to last line seems not to be possible. Thus the Javadoc is incorrect.

        Attachments

          Activity

            People

            • Assignee:
              svenmeier Sven Meier
              Reporter:
              StanB123 StanB123
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: