Sample: Member subsystem properties files

The Member subsystem uses PropertyResourceBundle files to store information specific to locales.

By accessing these properties files, one single Java Server Pages file can display different language requirements. For example, there is no personal title in Korean. Accordingly, the Korean version of the properties file associated with the AddressAdd and AddressUpdate commands would indicate this variation.

More generally speaking, these properties files can be used to specify the labels to use for each parameter, including whether a label is mandatory, or used at all in a given language. Furthermore, the properties files can be used to create drop-down lists, define tokens that are used repeatedly, and it can set some HTML formatting parameters.

The settings you put into a properties file do not actually affect the system behavior. For example, setting a parameter as mandatory causes it to appear on the page in a bold font, but does not actually cause the user's input to be checked. To check the user's input requires that the appropriate task command be modified.

The following properties files are associated with commands in the Member subsystem. The default properties files are located in the following directory:

workspace_dir/properties

Note: A store can define its own custom properties files to override the default files.
Type URL Properties file
Address and address book AddressAdd and AddressUpdate
  • Address_ locale.properties (Used to define the mandatory fields for the address add and update commands. Contains control information for each locale and no translatable text.)
  • AddressText_ locale.properties (Not used empty.)
User registration UserRegistrationAdd, UserRegistrationUpdate, and AuditUserRegistration
  • UserRegistration_ locale.properties (Used to define the mandatory fields for the user registration add and update commands.)
  • UserRegistrationText_ locale.properties (Defines the options for certain registration fields.)
  • UserRegistrationB2B_ locale.properties (Used to define the mandatory fields for the B2B user registration add and update commands.)
  • UserRegistrationB2BText_ locale.properties (Defines the options for certain B2B registration fields)
The AuditUserRegistration task command source code may need to be updated in order to use this information in the property file.
Organizational entity registration and management OrgEntityAdd, OrgEntityUpdate, OrgEntityManage, and AuditOrgEntity
  • OrgEntity_ locale.properties (Used to define the mandatory fields for the organization registration add and update commands.)
  • OrgEntityText_ locale.properties (Defines the options for certain organization registration fields.)
  • OrgEntityManage.properties (provides globalization support for the OrgEntityManageForm.jsp file)
The AuditOrgEntity task command source code may need to be updated in order to use this information in the property file.