Saturday, February 20, 2010

Programmer - Wicket Component ID Best practive

Programmer Question

Hi,



Just started playing around with, how is everyone linking up their component ids ?



So far the most frequent error I've got are mismatches in component ids. For example,



In the html



...
<span wicket:id="messageID">message will be here</span>
...


and on the Java side



...
add(new Label("messageID", "If you see this message wicket is properly configured and running"));
...


I'm running on a maven/IntelliJ setup if that helps. Thanks!

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails