X

Geertjan's Blog

  • August 31, 2005

Even More Struts and JSF Support in NetBeans IDE Dev!

Geertjan Wielenga
Product Manager
In Being Greedy: Instantaneous Struts and JSF Support in NetBeans IDE, I demonstrated how tightly integrated Struts and JSF will be in the next release of NetBeans IDE. Later I found out that there'll also be file-level templates, and so I added screenshots for those to the comments at the end of that blog entry. However, yesterday I discovered that Struts and JSF support will go even further than I had thought.

Firstly, let's look at the Struts configuration file (struts-config.xml). Open it in the Source Editor. Now right-click anywhere and notice that... there's a whole new submenu in the contextual menu:

When you choose one of the items, you get a dialog box where you can fill in some values. Then you click OK and the XML is created for you and put in the appropriate place in the configuration file.

Secondly, let's take a look at the the JSF configuration file (faces-config.xml). Same story -- right-click in the Source Editor and you'll see a new submenu with items for common entries in the file:

If you're familiar with the new Palette (described here), you might think: "Hmmm. Wouldn't those items for Struts and JSF fit quite nicely in the Palette? After all, their behavior is the same as for the other items in the Palette." This is true. From what I've been told, that's the plan for the release after the upcoming release.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.