Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
8.0.0, 8.1.0
-
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.