IBM® WebSphere® Portlet Factory uses several panels in the editor area of the WebSphere Portlet Factory perspective to create and develop models for a web application.
Use the Project Explorer or Model Navigator view to access and open a model in the model editor. The tabs with the model icon (
) at the top of the Editor area of the WebSphere Portlet Factory perspective provide access to the project models that are open for editing. The tab with focus displays an X
and populates the content of all the views.
When a tab displays an asterisk (*
), there are unsaved changes in the model.
You can use the panels in the model editor to understand the effect of a builder call on the model, to change builder calls, or to examine the relationships among elements within the model. The panels include:
This panel displays under the WebApp folder all the elements that builder calls have created and added to the model. This includes data services, Events, linked Java objects, methods, pages, variables, schemas and more. By navigating to and selecting an object, you can examine the object and its contents. Pages
The WebApp tree is updated each time the model is regenerated.
This panel provides alternate representations of pages and forms in the model. Use the Large Icon format to more readily locate a particular page or form. Source
This panel displays source code related to objects in the model and provides useful information about the source code itself. Design
This panel shows a visual representation of a visible element that is selected in either the Application Tree or Pages panel. This panel lets you quickly and conveniently see visible elements in your model without having to run the model. Using this panel, you can also change the page automation fields and display appearance.
In the upper right corner of the Design panel is a palette icon. Click the icon to alternately show and hide a palette of design tools and commands to add builders to your model. A popup menu in the title bar lets you resize and move the docking location of the palette. Using drag and drop, you can also make layout changes in your model. These changes add a Display Manager builder to your model.
This panel displays the underlying XML code for the model. This panel is useful for developers who are creating builders. Builder Call Editor
This panel displays the editor used to configure or change a builder call in the model.
About the Application Tree
The Application Tree lists generated elements in the open model selected in the editor area.
Previewing and interacting with your design
You can display a visual representation of your model.
Working with the Source panel
The Source panel in the model editor shows the application code that is associated with a generated element that is selected in the Application Tree, in the Design or Pages panel, or with a selected builder call in the Outline view.
Controlling the default page view in a container model
Model editor popup menu
The popup menu in the model editor (that is, in the Application Tree, the Pages panel, and the Design panel) shows in the current context both the builder that created the selected object and available builders that can modify the selected generated element.
The Model XML panel
The Model XML panel in the model editor displays the XML for the model as it is saved on disk.
Parent topic: The IBM WebSphere Portlet Factory interface