Updating the User Interface of a Gadget (view.xhtml)
A new gadget will reside under a gadget, portlet, or web application project. If you have specified the root directory during gadget creation, the gadget would be in the root directory.
To update the user interface of a gadget
1. Navigate to one of the following application project:
a. Portlet Application Project
b. Web Application Project
c. Gadget Application Project
2. Navigate to Gadget_root_directory > Gadget_name > views
3. Double-click view.xhtml and edit the file.
4. Provide the HTML code in view.xhtml to define the user interface of the gadget.