Mapping properties files allow you to customize the default locale, presentation, and object properties files, and map them to specific Registration Spaces. Customizing properties files enables you to do the following, without changing the JSPs:
You can have multiple sets of properties files, each linked to a different Registration Space. The registration space properties files map a Registration Space identifier (SPID) to a sub-directory where properties files for the specified environment are located.
For example, if a user accesses the following URL:
http://myserver.myorg.org/servlet/DMS/Admin/sales/user_data_collector.jsp
the Registration Space properties files map sales in the URL to a subdirectory in the Properties directory where Registration Services is installed.
If no mapping is specified, Registration Services uses the properties files under the default folder where the properties files are installed—for example:
C:\Program Files\Netegrity\<Web Agent Installation>\Samples\Properties\default
export/smuser/netegrity/<webagent_installation>/samples/properties/default
Registration Services includes the following mapping properties files in the properties directory:
Maps Registration Space identifiers to object properties files, which are contained in a tables directory.
Maps Registration Space identifiers to presentation properties files, which are contained in a presentation directory.
Maps Registration Space identifiers to locale properties files, which are contained in a locale directory.
To map properties files to a Registration Space
C:\Program Files\Netegrity\<Web Agent installation>\Samples\your-directory
export/smuser/netegrity/<web agent installation>/samples/properties/your-directory
Note: To easily identify the directory, give it the same name as the Registration Space to which it will apply.
spid=directory name
where spid is the Registration Space identifier that you specified when creating the environment, and directory name is the name of the properties directory that you created.
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |