When you install these two plug-in modules, you will need to restart the IDE. Then, you will see a new library in the Library Manager:
Next, when you go to the NetBeans Plug-in Modules sample category, you'll see a new sample:
When you select the sample, and click Next, you'll get this in the Projects window:
This is everything you need for creating a plug-in module that sets up your own framework support (i.e., everything that I blogged about yesterday) in NetBeans IDE. What the project sample does is it creates a new entry in the "Frameworks" panel for Web Applications in the New Project wizard. It lets you type in a few values and then creates files that are useful at the starting stage of working with the Wicket framework. It also changes the web.xml file and the index.jsp file. So, Claudio, for example, you could use this project sample as the basis of your WebWork plug-in module. From this project sample you can learn (1) how to create your own new files programatically, (2) how to write to existing files programatically, (3) how to let the names of files and the content of files be dependent on values provided by the user in the New Project wizard. Here's a little bit of information on the most important files that you see in the illustration above:
I cannot promise that the code is perfect. Actually, I can promise that it is imperfect because error handling is not covered. For example, the code assumes that there is a library called "Wicket" in the Library Manager (that's why you had to install both plug-in modules, because one of them is for providing the JARs that make up the Wicket library). If the Wicket library isn't in the Library Manager, then when you click Finish in the Frameworks panel for Wicket, the plug-in module fails silently. No files are created and you aren't told about it or why. So, this is one example of an area of the plug-in module that is incomplete. There are also various other imperfections, but the general idea of how to add your own framework is pretty clear and well isolated in this plug-in module.