JBoss.orgCommunity Documentation

Chapter 8. Web Projects View

8.1. Project Organization
8.2. Drag and Drop
8.2.1. For a Property
8.2.2. For Managed Bean Attributes
8.2.3. Navigation Rules
8.2.4. For a Tag Library File Declaration
8.2.5. For JSP Pages
8.3. Developing the Application
8.4. Expanding Tag Library Files
8.5. Drag and Drop Tag Libraries on to JBoss Tools Palette
8.6. Create and Import JSF Projects

Web Projects is a special view that comes with JBoss Developer Studio.

If the Web Projects view's tab is not visible next to the Package Explorer tab, select WindowShow ViewOtherJBoss Tools WebWeb Projects from the menu bar.

With the Web Projects view you can:

The Web Projects view organizes your project in a different way. The physical structure of course stays the same. The new organization combines common project artifacts together which makes it simpler to locate what you are looking for and develop.

The screen shot below shows a JSF project in Web Projects view.


The Web Projects view has a drag and drop option that can be used for property, managed bean attributes, navigation rules, tag library file declaration and JSP Pages.

It is also possible to develop your application right from the Web Projects view. Simply right-click any node in the tree and select an appropriate action from the context menu. For instance, this screen capture shows creating a new navigation rule.


You can easily expand any TLD file in the project. Browse to the Tag Libraries folder. Right-click a TLD file and select Expand:


The TLD file will now be expanded:


You can then select any tag and drag it onto a JSP page.

Read Section 5.2.2, “Adding Custom JSF Tags to the JBoss Tools Palette” to learn about this.

You can also create and import JSF project from Web Projects view by selecting the buttons below.

From left to right: