Sun Java System Communications Express 6.3 管理指南

为托管域配置参数

uwcdomainconfig.properties 文件中的配置参数

uwcdomainconfig.properties 文件中维护与日历和通讯录相关的用户首选项的默认值,可以根据每个域来配置这些值。这些默认的用户首选项值是当新用户首次在 Communications Express 中访问日历和通讯录时为其动态分配的。

表 6–1 列出了默认的用户首选项。

表 6–1 uwcdomainconfig.properties 文件中的默认用户首选项

参数 

默认值 

描述 

uwc-user-attr-sunUCDefaultApplication

 

指定用户登录后显示的页面。 

部署 Messenger Express 后,默认情况下将“邮件”页显示为登录页。否则显示“日历”页。如果未部署日历,用户将进入“通讯录”页。 

uwc-user-attr-sunUCDefaultEmailHandler

uc 

指定用于从应用程序中发送电子邮件的默认电子邮件客户端。 

可以将默认的电子邮件客户端设置为 Messenger Express 或浏览器邮件客户端。

uwc-user-attr-sunUCDateFormat

M/D/Y 

指定日期中的日、月和年的显示顺序。 

可用选项为: 

  • M/D/Y

  • D/M/Y

  • Y/M/D

uwc-user-attr-sunUCDateDelimiter

指定日期中使用的分界符。

分界符是分隔日期中的日、月和年的字符。 

您可以将分界符指定为逗号 (,)、正斜杠 (/) 或连字符 (-)。 

uwc-user-attr-sunUCTimeZone

America/Los_Angeles 

指定创建日历时所采用的时区。

您可以从以下区域中选择任何有效的时区: 

  • 北美洲和南美洲

  • 欧洲和非洲

  • 亚洲和太平洋地区

表 6–2 列出了与日历应用程序相关的用户首选项。

表 6–2 uwcdomainconfig.properties 文件中的默认日历首选项

参数 

默认值 

描述 

uwc-user-attr-icsExtendedUserPrefs-ceDefaultView

dayview

指定登录后应显示的默认日历视图。可用选项为:

  • dayview

  • weekview

  • monthview

  • yearview

uwc-user-attr-icsExtendedUserPrefs-ceShowCompletedTasks

false

指定完成的任务是否出现在日历的“任务”窗格中。 

如果希望完成的任务显示在日历的“任务”窗格中,请将该值更改为 true

uwc-user-attr-icsExtendedUserPrefs-ceDefaultCategory

Business

指定创建新事件或新任务应使用的默认类别。

可用类别为: 

  • Anniversary

  • Appointment

  • Birthday

  • Business

  • Breakfast

  • Class

  • Conference Call

  • Dinner、Holiday

  • Lunch

  • Meeting

  • Other

  • Personal

  • Seminar

  • Training

  • Travel

  • Vacation

  • Interview

uwc-user-attr-icsExtendedUserPrefs-ceDayHead

9

指定一天的开始时间(以小时表示) 

uwc-user-attr-icsExtendedUserPrefs-ceDayTail

18

指定一天的结束时间(以小时表示) 

uwc-user-attr-icsExtendedUserPrefs-ceInterval

PT1H0M

(一小时)

指定一天中划分的时间段。 

在“日”和“周”视图中,将一天划分为半小时或一小时的时间段。 

可以将默认的划分值更改为 PT0H30M(半小时)。 

uwc-user-attr-icsFirstDay

1

您可以将一周中的某一天指定为日历中周的第一天。默认情况下,将星期日 (1) 视为一周中的第一天,而将星期六 (7) 视为一周中的最后一天。 

uwc-user-icsExtendedUserPrefs-ceWeekEndDays

1,7

在日历视图中指定周末是一周中的哪几天。 

默认情况下,星期日 (1) 是一周中的第一天,星期六 (7) 是一周中的最后一天。 

逗号分隔的数字列表表示一周中作为周末的那几天。 

uwc-user-attr-icsExtendedUserPrefs-ceIncludeWeekendInViews

false

允许或禁止在日历的“周”和“月”视图中显示周末。 

如果要在日历的“周”和“月”视图中显示周末,请将默认值设置为 true

uwc-user-attr-icsExtendedUserPrefs-ceSingleCalendarTZISD

true

指定是否应该用日历的时区来显示日历。 

如果不希望用日历的时区来查看日历,则将默认值更改为 "false"。在这种情况下,将按“全局选项”选项卡中指定的时区来显示所有日历。 

uwc-usr-attr-icsExtendedUserPrefs-ceDefaultAlarmStart

PT0H30M

指定在事件或任务前多长时间(默认小时和分钟数〕发送提醒。 

uwc-user-attr-icsExtendedUserPrefs-ceNotifyEnable

false

指定创建新事件时是否向内部被邀请人发送电子邮件(包含 ical 附件)。

有效值为:falsetrue

uwc-user-attr-hideCalId

false

指定 Communications Express 的域用户是否不应在其日历中看到 calid 选项。如果需要隐藏 calid,则应将此值设置为 true

表 6–3 列出了可配置的通讯录默认用户首选项。

表 6–3 uwcdomainconfig.properties 文件中的默认通讯录首选项

参数 

默认值 

描述 

uwc-user-sunAbExtendedUserPrefs-abName

Personal Address Book 

指定默认通讯录的名称。 

uwc-user-attr-sunAbExtendedUserPrefs-abDescription

This is the personal address book 

指定默认通讯录的简短说明。 

uwc-user-attr-sunAbExtendedUserPrefs-abEntriesPerPage

25

指定在页面上显示的最大通讯录条目数。可用选项为:255075

uwc-user-attr-sunAbExtendedUserPrefs-abSearch DisplayColumn1

displayname

指定要在第一列中显示的值。默认情况下,第一列显示联系人或组的名称。 

uwc-user-attr-sunAbExtendedUserPrefs-abSerch DisplayColumn2

primaryemail

指定要在通讯录的第二列中显示的值。 

您可以将显示列名称设置为: 

  • displayname

  • company

  • title

  • primaryphone

  • workphone

  • homephone

  • faxphone

  • pagerphone

  • primaryemail

  • email2

  • email3

  • homeaddress

  • workaddress

  • weburl1

  • weburl2

  • calendarurl

  • freebusyurl

  • birthday

  • anniversary

  • ou

  • editviewcalendar

uwc-user-attr-sunAbExtendedUserPrefs-abSearch DisplayColumn3

 

指定要在通讯录的第三列中显示的值。 

您可以将显示列名称设置为: 

  • displayname

  • company

  • title

  • primaryphone

  • workphone

  • homephone

  • faxphone

  • pagerphone

  • primaryemail

  • email2

  • email3

  • homeaddress

  • workaddress

  • weburl1

  • weburl2

  • calendarurl

  • freebusyurl

  • birthday

  • anniversary

  • ou

  • edit

  • viewcalendar

uwc-user-attr-sunAbExtendedUserPrefs-abSearch DisplayColumn4

edit

指定要在通讯录的第四列中显示的值。 

您可以将显示列名称设置为: 

  • displayname

  • company

  • title

  • primaryphone

  • workphone

  • homephone

  • faxphone

  • pagerphone

  • primaryemail

  • email2

  • email3

  • homeaddress

  • workaddress

  • weburl1

  • weburl2

  • calendarurl

  • freebusyurl

  • birthday

  • anniversary

  • ou

  • edit

  • viewcalendar

personalstore.properties 文件中的配置参数

可修改 personalstore.properties 文件中的参数来配置通讯录存储、公司目录以及任何远程目录。

表 6–4 列出了 personalstore.properties 文件中存储的设置。

表 6–4 personalstore.properties 文件中存储的配置设置

参数 

默认值 

描述 

db.defaultpsrootpattern

ldap://piPStoreOwner=%U,o=% D,o=PiServerDb

指定用于为用户动态构建 psRoot 值的模式。psroot 可确定用户条目的存放位置。

%U 为用户的 uid ("jsmith")

%D 为用户的域 ("siroe.com")

%O 为域的最重要部分 ("siroe")

db.ldapplut.class

com.iplanet.iabs.ldap.plug.iLDAP

指定实现插件的 Java 类名称。例如,LDAP 插件。 

db.ldapplug.urlmatch

 

按以下格式指定 URL: 

ldap://host:port/DN

基于此参数来标识 xxx 实例。 

该值应与 defaultps.xml 文件中存储的 "bookremoteurl" 属性对应。

db.ldapplug.configpath

 

指定包含特定实例 LDAP 信息的配置目录的路径。 

此路径是相对于此文件位置的。 

db.ldapplug.wildcardsearch

0

指定在通配符搜索中提供的最小字符数。 

db.ldpaplug.randompaging

false

指定插件是否支持随机访问以及是否必须从第一页来访问每一页。 

如果为 false,则会一直执行搜索过程,直至找到正确的页为止。 

db.ldapplug.corporatedir

false

对于公司目录,此值应该为 true

db.useUserPsRoot

false

将该值设置为 true 可使用用户的 psRoot 值。如果设置为 false,则使用 defaultserver 值。

自定义全局 GUI

默认的 themes.properties 文件位于 uwc-deployed-path/WEB-INF/skin 下。主题文件包含 Communications Express 中显示的图标的逻辑名称及其默认位置。可通过更改此文件中指定的路径来更改图像的位置。

uwcdomainconfig.properties 文件中配置语言

uwcdomainconfig.properties 文件包含域的支持语言列表。列表中的每种语言用分号隔开。您可以定义 Communications Express 为域支持的语言列表。

例如,如果计划在名为 siroe.com 的域中支持 en(英语)、de(德语)、fr(法语)和 ja(日语),则将该域的 uwcdomainconfig.properties 文件中的 supportedLanguages 设置为 supportedLanguages=en;fr;de;ja

siroe.comuwcdomainconfig.properties 文件应位于:

WEB-INF/domain/siroe.com/uwcdomainconfig.properties

还必须在相应的 i18n.properties 文件中定义可本地化的字符串。例如,

siroe.comi18n.properties 文件将位于:

WEB-INF/domain/siroe.com/locale/i18n.properties

如果用户的 LDAP 条目中没有 preferredLanguage 属性,则域的 preferredLanguage 属性、浏览器提供的标题值和 i18.properties 文件的可用性将决定用户会话中使用的语言。