Basic Customization > User Interface Customization > Information Pages > Customizing Information Page Components > Updating Legacy information Pages
  
Updating Legacy information Pages
If you have an info page jsp using describeInfoPage and infoPage.jspf here are the steps to convert to the new design:
1. Create an InfoBuilder.
a. Many of the attributes on the describeInfoPage tag should have a corresponding setter on the InfoConfig.
a. id, helpContext, actionListName, navBarName,
b. The propertyPanel, moreAttributesActionName, moreAttributesActionType attributes (and the addPropertyPanel tag) are obsolete. See step 4 for how to create your attribute layouts.
c. The describeStatusGlyph tags will become properties on the InfoConfig. (see Adding a Status Glyph)
2. Configure Visualization if necessary (see Configuring the Visualization Component)
3. Create an attribute layout for your object type using one of these 3 options:
a. Through the Type and Attribute Management utility. (see Type and Attribute Management)
b. With a load file.
c. With a custom attribute panel builder. See the Packaged Samples.
4. Delete the xconf entry for your info page jsp
a. If there is an xconf entry for your object type, that will be used instead of the InfoPageBuilder.
5. Delete the describeInfoPage tag and infoPage.jspf include from your info.jsp
6. If there is something left in your jsp that you want displayed on the info page (some tables or property panels), move those tables/property panels into the third level nav bar (which becomes the Table of Contents). This way the tables/panels shown can be configured by admins and the end user.
a. Create a separate action for each table/panel. See the Actions Framework documentation for more info on actions/action models.
a. Preferred – create a builder for each table/panel. See the MVC table documentation. The resulting actions.xml entry will be something like:
<action name="myTable">
<component name="myTable" typeBased="true" windowType="page"/>
</action>
b. Legacy way – create a separate jsp for each table/panel. The resulting actions.xml entry will be something like:
<action name="myTable">
<command windowType="page"/>
</action>
b. Add those actions to your navBarName action model. Make sure you have set that navBarName in the InfoBuilder. (see the Configure the Table of Contents for more details. )
c. Configure which tables/panels are shown out of the box on the Details tab. See Tab Customizations for more information.