Wicket 1.5.3 in NetBeans IDE 7.1
By Geertjan on Dec 29, 2011
Register this URL in your Plugin Manager: https://blogs.oracle.com/geertjan/resource/NetBeans4Wicket.xml
(Note: The sources and binaries are at http://java.net/projects/nbwicketsupport, but for some reason you can't access NetBeans update centers if they're on java.net, hence I uploaded it into this blog.)
Then you'll be able to create Wicket applications in NetBeans IDE 7.1, in the final step of the New Web Application wizard:
The above panel in the Web Application wizard looks different to how it looked before for Wicket. For the first time, any library registered in the NetBeans Library Manager with a name beginning with "Wicket" will automatically appear in the Version list above. You can see that Wicket 1.5.3 is in there now, which is because the plugin installs that particular version of Wicket. So, if you have another version of Wicket you'd like to use, go to the Library Manager, register your own Wicket library, make sure to name it something starting with "Wicket" and then you'll be able to select the library in the panel above.
Also, if no library is found in the Library Manager with a name starting with "Wicket", the panel above will look different; you'll be able to select a Wicket root folder yourself, or select none, in which case no JARs will be attached to the project when it is created and you'll need to do so yourself manually.
Another small change is that no restart of NetBeans IDE is needed after you install the plugin.
Wicket applications in NetBeans IDE end up looking like this:
The above is an Ant based Wicket application, created via the dialog above, with no configuration needing to be done of any kind afterwards. For the moment, the plugin doesn't work very well for Maven, but Maven users can continue using the Maven archetype for Wicket, accessible from the New Project dialog as before.
The many features for Wicket developers that were there before are still there, once the NetBeans Wicket plugin is installed, such as Wicket ID matching, hyperlinking, a navigator window, palette with snippets, and more. We're working on updating the tutorial at the moment.
The latest version of this plugin was created with NetBeans IDE 7.1 RC 2, so if you're using an earlier version of NetBeans IDE, you'll probably experience problems of one kind or another during installation, so you're strongly advised to use NetBeans IDE 7.1 RC 2 or later.
Feedback on the NetBeans Wicket plugin is welcome.