You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2018/11/04 19:46:00 UTC

[jira] [Resolved] (WICKET-6610) Incorrect Javadoc: Refering to specific page in Application properties file is not possible

     [ https://issues.apache.org/jira/browse/WICKET-6610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier resolved WICKET-6610.
--------------------------------
       Resolution: Fixed
         Assignee: Sven Meier
    Fix Version/s: 9.0.0
                   8.2.0

Thanks, I've corrected the JavaDoc.

> Incorrect Javadoc: Refering to specific page in Application properties file is not possible
> -------------------------------------------------------------------------------------------
>
>                 Key: WICKET-6610
>                 URL: https://issues.apache.org/jira/browse/WICKET-6610
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 8.0.0, 8.1.0
>            Reporter: StanB123
>            Assignee: Sven Meier
>            Priority: Trivial
>             Fix For: 8.2.0, 9.0.0
>
>
> I posted [a question about this on Stackoverflow|https://stackoverflow.com/questions/53119449/refering-to-a-specific-page-in-wicket-i18n-properties-file] 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)