Wednesday, August 01, 2007

Simplest Valid UIM Page

During Curam development, you may sometimes have a situation that requires you to create a placeholder UIM page.  It can be to resolve a build problem or to provide a marker while the page requirements are still being gathered or designed.

At minimum you need to have a PAGE element with at least one child.  The simplest child you can make is the JSP_SCRIPTLET as it only requires some Java code to pass validations and it does not require putting in a properties file.

So one of the simplest ones you can make would be as follows:

<?xml version="1.0" encoding="UTF-8"?>
<PAGE
  PAGE_ID="SomePageID"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="file://Curam/UIMSchema.xsd"
>
  <JSP_SCRIPTLET>
    out.println("SomePageID");
  </JSP_SCRIPTLET>
</PAGE>

0 comments: