Using Facelets with NetBeans 6.1 (without nbfaceletssupport)

Date May 8, 2008

–Update 27. May 2008: You can download the Facelets NetBeans plug-in for 6.1 from: http://project-template.googlecode.com/files/nbfaceletssupport-6.1.zip– I’m a fan of Facelets when it comes to templating for JSF applications. Prior to version 6.1 of NetBeans I was using the nbfaceletssupport plug-in. Sure, it had its quirks, but overall it was a good plug-in. After installing NetBeans [...]

Example of using custom facelet tags

Date March 18, 2008

Rather than using includes when creating templates you can create your own custom facelet tags without the husle of creating a JSF component from scratch. As an example, I’ll create a menu tag that can be used to switch a selected menu item on and off. Here is the menu (save it as /WEB-INF/facelets/tags/menu.xhtml): <ui:composition [...]