JamesBranam's Blog
Friday Oct 31, 2008
Adding a Theme to a Visual Web JSF Project
Hi all,
In a web application with Visual Web JSF support, you can add a theme JAR file by creating a theme library for it. Creating a theme library automatically adds it to the list of available themes under the Themes node in the Projects window.
If necessary, you can also set the theme as the current theme for the project.
To add a theme:
- From the main menu, choose Tools > Libraries.
- In the bottom left of the Library Manager dialog box, click New Library.
- In the New Library dialog box, enter the theme name and choose Theme Libraries as the library type.
- In the Classpath tab of the Library Manager, click Add JAR/Folder, navigate to the theme JAR file, and then click Add JAR/Folder. In the Library Manager, click OK to add the new theme library.
To set the current theme:
- In the Projects window, open the project-name > Themes node.
- Right-click the theme and choose Set As Current Theme.
Another example of how the IDE's Helpset can help save the day.
Cheers!
--James
Posted at 09:00AM Oct 31, 2008 by branajam in NetBeans |
Comments: