Adding a new page to a Web site
You can add a new Web page to a Web site first by adding a page icon to the navigation of the site in Web Site Navigation, then by creating a Web page and associating it with the page icon.
To add a new page to a Web site:
- To open Web Site Navigation, expand your Web project in the Enterprise Explorer view and double-click
Web Site Navigation.
- Decide where the Web page you are adding fits in the Web site's organization.
- Right-click where you want to attach the new page, either on an existing page icon or anywhere in the Navigation view and select
Add | New Page.
- If you want to attach the new page as a sibling of the existing page icon that is presented prior to the existing page in the navigation hierarchy, select Before. Your navigation structure will look similar to the following illustration:
- If you want to attach the new page as a sibling of the existing page icon that is presented after the existing page in the navigation hierarchy, select After. Your navigation structure will look similar to the following illustration:
- If you want to attach the new page as a child of the existing page icon, select As Child. Your navigation structure will look similar to the following illustration:
- If you do not want to attach the new page to an existing page icon, or if this is the first page that you are adding to Web Site Navigation, select As Top. If you are adding the new page to a navigation structure that has existing pages, it will look similar to the following illustration:
If you are adding the first page to the navigation structure, it will look similar to the following illustration:
- Type a navigation label for the Web page. The navigation title is used as the page label for site navigation purposes. For example while the title of the home page for your Web site might be the name of your company you may want the navigation label for that site to display Home.
- Once you have added the page icon to the navigation structure, you can:
Tip: You can also add a new page to your Web site by dragging the
New Page icon from the Site drawer of the Palette to the place that you want to add the new page.
Related concepts
Related tasks
Adding an external page to a Web site
Adding an existing page to a Web site
Adding an existing Faces JSP page to a Web site