刚开始玩,每个人都是如何连接他们的组件ID的?
到目前为止,我遇到的最常见错误是组件 ID 不匹配。例如,
在 html
...
<span wicket:id="messageID">message will be here</span>
...
在Java方面
...
add(new Label("messageID", "If you see this message wicket is properly configured and running"));
...
如果有帮助,我正在使用 maven/IntelliJ 设置。谢谢!