Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
1.3.0-beta2
-
None
-
Windows XP, JDK 1.4
Description
When using StringResourceModel, the class IStringResourceLoader is being called 3 times.
Here is an example to how to trigger the error:
CLASS: TestPage.java
public class TestPage extends WebPage {
public TestPage()
}
MARKUP:TestPage.html
<html>
<head>
<title>Test Page</title>
</head>
<body>
<h1>This is a test page...</h1>
<span wicket:id="label"></span>
</body>
</html>
PROPERTY FILE:TestPage.properties
myresourcekey=label
Add a breakpoint in the wicket class ComponentStringResourceLoader.public String loadStringResource(final Component component, final String key)
Trigger the webpage and you will see it be triggered 3 times.