【发布时间】:2010-02-20 04:29:43
【问题描述】:
刚开始玩,大家是如何连接他们的组件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 设置。谢谢!
【问题讨论】: