1. What will you learn
You will learn how to use the Java perspective to add a Page Icon to your page.
2. Task Description
You will familiarize yourself with Eclipse's perspectives and you will add an icon file to give your application a unique identifier in the browser address bar and bookmarks.
3. Detailed Steps
1. Open your sample application in Domino Designer
2. Select Window – Open Perspective – Other
3. Select Java
(Note: in your installation you most likely will see a different set of perspectives available)
4. The navigator on the left shows the Notes database as a series of folders:
5. Navigate to the WebContent folder and import the favicon.ico file.
6. Remark: the WebContent directory fulfills the same function as the WebContent directory in a J2EE application. You could introduce additional content here at your own risk.
7. To switch back select: Window – Open Perspective – Other – Domino Designer
8. Edit the page properties for your xPages and set the pageIcon to favicon.ico and the page title to something meaningful:
4. The Result
5. Things To Explore
Obviously Domino Designer is a regular Eclipse IDE application. So most of the things you know about eclipse will work here:
- Add additional files to the NSF using the Eclipse Java perspective
- Open a form or a view while in the Java perspective
- Add standard Eclipse plug-ins (e.g. Aptana.com or XMLSpy.com)
6. Further Readings