Support new markup languages

 

+

Search Tips   |   Advanced Search

 

WebSphere Portal supports HTML markup language. To define another markup language to support, such as WML or cHTML, ensure that you have portlets that provide markup for that language. In addition, create a subdirectory for the markup in each of the following locations:

Windows and UNIX:

was_profile_root/installedApps/cell/wps.ear/wps.war/screens

i5/OS:

AppServer_root_usr/installedApps/cell/wps.ear/wps.war/screens

Screens are JSPs that are invoked by the portal server for displaying various content. The Home screen is most often displayed because it is used for the portlet content area. Other screens include the Login or Error screen.

Windows and UNIX:

was_profile_root/installedApps/cell/wps.ear/wps.war/themes

i5/OS:

AppServer_root_usr/installedApps/cell/wps.ear/wps.war/themes

In addition to JSPs, the themes directory might need images, style sheets, or any other file types that are required of the new markup. See the Creating a new theme topic for more information.

Windows and UNIX:

was_profile_root/installedApps/cell/wps.ear/wps.war/skins

i5/OS:

AppServer_root_usr/installedApps/cell/wps.ear/wps.war/themes

See the Creating a new skin topic for information about the resources in the skins.

To add WML and cHTML as supported markup, run the following command:

See the Search order for portal resources topic for complete information about how client resources are found in the directory structure. The JSPs in each of these locations must provide the markup that is required by the new markup language.

Use the Manage Markups administration portlets to add the new markup to the portal site. Verify the markup name that you add is the same as the subdirectory name that you used for the markup. You can add a new markup using the Manage Markups administration portlets in the Portal settings-Supported Markups page.

 

Parent topic

Customizing the portal