-
Book Overview & Buying
-
Table Of Contents
JBoss Tools 3 Developers Guide
In this section, we will generate the source code of the register.jsp and success.jsp pages. You will also see how to develop a start page for the application.
For editing the source code of a page that appears in the Diagram view, just double-click on it. For example, double-click on the register.jsp icon to open the page source in the Visual Page Editor as you can see in the following screenshot:

The Visual Page Editor is made of two parts: source code along the top and a WYSIWIG view along the bottom.
Now, we can use the JBoss Tools Palette (for details see Chapter 3) for editing the page source code in an easy manner. For example, for editing the register.jsp source code, follow these steps:
1. Place the cursor in source code, right after the f:view tag.
2. Type here the following code and place the cursor after it:
<h2>Registration form:</h2>
3. Expand the JSF HTML section of the JBoss Tools Palette.
4. Click on...
Change the font size
Change margin width
Change background colour