Linking to a UIM Page

The URI of Cúram application pages includes the locale code as the first part of the resource path, for example, en/Person_homePage.do. This path is relative to the application's context root, which corresponds to the WebContent folder in the development environment. All UIM pages are therefore considered to be in a locale "folder". When linking from one UIM page to another, it is always in the same locale (or "folder"). Therefore the locale should not be specified in the URI when generating a link. For example, in the sample code shown above, note that the href to link to the Person_home UIM page was generated without the locale specific folder specified:

Figure 1. Linking to a UIM Page
anchor.setAttribute("href", "Person_homePage.do?"
                                + "id=" + personID);