�� 7 ��
���ÿͻ���
���½��ܶ��й������ʼ��������ͨѶ¼����ĸ�ġ�
�������
Communications Express ֧����֯���й���ṹ�������йصĿ����ò���洢�������ļ��У�
- uwcdomainconfig.properties
- personalstore.properties
- defaultps/defaultps.xml
- <lang>/il8n.properties�����磬i18n.properties��
������ Communications Express ʱ��Ĭ������½���Щ�ļ����Ƶ� <uwc-deployed-path>WEB-INF/domain Ŀ¼�С�
<uwc-deployed-path>/WEB-INF/domain Ŀ¼�������ض������ļ�����ʱʹ�õ������ļ���
�����ض��û��ĻỰ��������˳�����������йص������ļ���
- <uwc-deployed-path>/WEB-INF/domain/<�û�����>/<�����ļ�>
- <uwc-deployed-path>/WEB-INF/domain/<�����ļ�>
Ϊ�ض���ָ�������йص����ԣ�
- �� <uwc-deployed-path>/WEB-INF/domain ���棬����һ����и������Ŀ¼��
- �� <uwc-deployed-path>/WEB-INF/domain Ŀ¼������ļ����Ƶ���Ŀ¼�С�
- �������沿����������� <uwc-deployed-path>/WEB-INF/domain/<��> Ŀ¼�е������ļ���
���²��ֽ��ܿ����� Communications Express ��Ϊ�����õ����ã�
�� uwcdomainconfig.properties �ļ������ò���
uwcdomainconfig.properties �ļ������������ͨѶ¼�йص��û���ѡ���Ĭ��ֵ�����������4������Щ��ѡ���ЩĬ���û���ѡ��ֵ�����û���һ���� Communications Express �з��������ͨѶ¼ʱΪ�䶯̬����ġ�
�� 7-1 �г���Ӧ�ó����е�Ĭ���û���ѡ�
�� 7-1 uwcdomainconfig.properties �ļ��е�Ĭ���û���ѡ��
����
|
Ĭ��ֵ
|
����
|
uwc-user-attr-sunUCDefaultApplication
|
calendar
|
ָ�����¼����ʾ��Ĭ��ҳ�����õ�ѡ���У��ʼ��������ͨѶ¼��
|
uwc-user-attr-sunUCDefaultEmailHandler
|
uc
|
ָ����4��Ӧ�ó����з��͵����ʼ���Ĭ�ϵ����ʼ��ͻ��ˡ�
����Խ�Ĭ�ϵ����ʼ��ͻ�������Ϊ Messenger Express ��������ʼ��ͻ��ˡ�
|
uwc-user-attr-sunUCDateFormat
|
M/D/Y
|
ָ�������е��ա��º������ʾ˳��
���õ�ѡ���У�
M/D/Y��D/M/Y��Y/M/D
|
uwc-user-attr-sunUCDateDelimiter
|
/
|
ָ��������ʹ�õķָ��
�ָ���Ƿָ������е��ա��º�����ַ�
����Խ��ָ��ָ��Ϊ���� (,)����б�� (/) ��l�ַ� (-)��
|
uwc-user-attr-sunUCTimeZone
|
America/Los_Angeles
|
ָ������������ʹ�õ�ʱ��
����Դ�����������ѡ���κ���Ч��ʱ��
���:����5���ŷ�ͷ����Լ�����̫ƽ���ܱߡ�
|
- �� 7-2 �г����롰����ѡ���ǩ��Ӧ���û���ѡ�
�� 7-2 uwcdomainconfig.properties �ļ��е�Ĭ��������ѡ��
����
|
Ĭ��ֵ
|
����
|
uwc-user-attr-icsExtendedUserPref-ceDefaultView
|
dayview
|
ָ�����¼��Ĭ������Ӧ��ʾ����ͼ�����õ�ѡ���У�
�ա��ܡ��º��ꡣ
|
uwc-user-attr-icsExtendedUserPrefs-ceShowCompletedTasks
|
false
|
ָ����ɵ������Ƿ����������ġ��������С�
�����ϣ����ɵ��������������ġ��������У��뽫Ĭ��ֵ���Ϊ��false����
|
uwc-user-attr-icsExtendedUserPrefs-ceDefaultCategory
|
Business
|
ָ��Ӧ���������¼��������Ĭ�����
���������
����������ա�����Լ�ᡱ�������ա�����ҵ������͡������γ̡����������С�������͡��������ա�������͡��������顱�������������ˡ��������ֻᡱ������ѵ���������С������ݼ١��͡���̸����
|
uwc-user-attr-icsExtendedUserPrefs-ceDayHead
|
9
|
ָ��һ��Ŀ�ʼʱ�䣨��Сʱ��ʾ����
|
uwc-user-attr-icsExtendedUserPrefs-ceDayTail
|
18
|
ָ��һ��Ľ���ʱ�䣨��Сʱ��ʾ����
|
uwc-user-attr-icsExtendedUserPrefs-ceInterval
|
PT1H0M
��һСʱ��
|
ָ��һ���л��ֵ�ʱ��Ρ�
�ڡ��족�͡��ܡ���ͼ�У���һ�컮��Ϊ��Сʱ��һСʱ��ʱ��Ρ�
����Խ�Ĭ�ϻ���ֵ���Ϊ PT0H30M����Сʱ����
|
uwc-user-attr-icsFirstDay
|
1
|
����Խ�һ���е�ijһ��ָ��Ϊ�������ܵĵ�һ�졣Ĭ������£��������� (1) ��Ϊһ���еĵ�һ�죬�������� (7) ��Ϊһ�ܵ����һ�졣
|
uwc-user-icsExtendedUserPrefs-ceWeekEndDays
|
1,7
|
ָ����������ͼ��һ�ܵ�ijЩ����Ϊ��ĩ��Ӧ�����ӡ�
Ĭ������£������� (1) ��һ���еĵ�һ�죬������ (7) ��һ���е����һ�졣
���ŷָ�������б��ʾҪ��Ϊ��ĩ��ijЩ�졣
|
uwc-user-attr-icsExtendedUserPrefs-ceIncludeWeekendInViews
|
false
|
������ֹ������ġ��ܡ��͡��¡���ͼ����ʾ��ĩ��Ӧ�����ӡ�
���Ӧ��������ġ��ܡ��͡��¡���ͼ����ʾ��ĩ��Ӧ�����ӣ���Ĭ��ֵ����Ϊ��true����
|
uwc-user-attr-icsExtendedUserPrefs-ceSingleCalendarTZISD
|
true
|
ָ���Ƿ�Ӧ���������ʱ��4��ʾ����
���ϣ���������ʱ��4�鿴������Ĭ��ֵ���Ϊ��false��������������£�������ȫ��ѡ���ǩ��ָ����ʱ��4��ʾ��������
|
uwc-usr-attr-icsExtendedUserPrefs-ceDefaultAlarmStart
|
PT0H30M
|
ָ���ڷ������Ѻ�ȴ��¼��������Ĭ��Сʱ�ͷ�����
|
uwc-user-attr-icsExtendedUserPrefs-ceNotifyEnable
|
false
|
ָ���ڴ����µ��¼�ʱ�Ƿ����ڲ��������˷��͵����ʼ����� ical ��������
|
�� 7-3 uwcdomainconfig.properties �ļ��е�Ĭ��ͨѶ¼��ѡ��
����
|
Ĭ��ֵ
|
����
|
uwc-user-sunAbExtendedUserPrefs-abName
|
Personal Address Book
|
ָ��Ĭ��ͨѶ¼����ơ�
|
uwc-user-attr-sunAbExtendedUserPrefs-abDescription
|
This is the personal addressbook
|
ΪĬ��ͨѶ¼ָ���������
|
uwc-user-attr-sunAbExtendedUserPrefs-abEntriesPerPage
|
25
|
ָ����ҳ������ʾ�����ͨѶ¼��Ŀ����õ�ѡ���У� 25��50 �� 75��
|
uwc-user-attr-sunAbExtendedUserPrefs-abSearchDisplayColumn1
|
Displayname
|
ָ��Ҫ�ڵ�һ������ʾ��ֵ��Ĭ������£���һ����ʾjϵ�˻������ơ�
|
uwc-user-attr-sunAbExtendedUserPrefs-abSerchDisplayColumn2
|
Primarymail
|
ָ��Ҫ��ͨѶ¼�ĵڶ�������ʾ��ֵ��
����Խ���ʾ���������Ϊ��
����ʾ��������˾������ְ������绰�������칫�ҵ绰������סլ�绰����������绰������Ѱ���绰������������ʼ��������칫�����ʼ����͡�סլ�����ʼ���������ͥ��ַ�������칫��ַ������Web ҳ��ַ 1������Web ҳ��ַ 2�����������ַ�����������Ե�ַ���������ա�����������������ڡ�������֯��λ�������༭��t�ӡ����鿴����ͼ����
|
uwc-user-attr-sunAbExtendedUserPrefs-abSearchDisplayColumn3
|
|
ָ��Ҫ��ͨѶ¼�ĵ���������ʾ��ֵ��
����Խ���ʾ���������Ϊ��
����ʾ��������˾������ְ������绰�������칫�ҵ绰������סլ�绰����������绰������Ѱ���绰������������ʼ��������칫�����ʼ����͡�סլ�����ʼ���������ͥ��ַ�������칫��ַ������Web ҳ��ַ 1������Web ҳ��ַ 2�����������ַ�����������Ե�ַ���������ա�����������������ڡ�������֯��λ�������༭��t�ӡ����鿴����ͼ����
|
uwc-user-attr-sunAbExtendedUserPrefs-abSearchDisplayColumn4
|
edit
|
ָ��Ҫ��ͨѶ¼�ĵ���������ʾ��ֵ��
����Խ���ʾ���������Ϊ��
����ʾ��������˾������ְ������绰�������칫�ҵ绰������סլ�绰����������绰������Ѱ���绰������������ʼ��������칫�����ʼ����͡�סլ�����ʼ���������ͥ��ַ�������칫��ַ������Web ҳ��ַ 1������Web ҳ��ַ 2�����������ַ�����������Ե�ַ���������ա�����������������ڡ�������֯��λ���������༭��t�ӡ����鿴����ͼ����
|
����������
�����ֽ���Ϊ�����������������ʼ���ͨѶ¼������ĸ�ġ�
����������������������
Ҫ���������������������ã�������� uwcauth.properties �ļ��н�������ģʽ��������Ϊ��y������Ϊ�й������� Calendar Server���й����Ϊ�й������� Calendar Server ����Ϣ����μ�����λ���еġ�Calendar Server ����ָ������http://docs.sun.com/doc/817-7088
���ʼ�����������������
Ҫ���ʼ����������������ò��˽��������֯���д����й�����Ŀ����μ�����λ���еġ�iPlanet Messaging Server 5.2 Provisioning Guide����http://docs.sun.com/db/doc/816-6018-10
�й����Ϊÿ������ Messenger Express �ͻ��˽������Ϣ����μ�����λ���еġ�iPlanet Messaging Server 5.2 Provisioning Guide����http://docs.sun.com/db/doc/816-6010-10
��ͨѶ¼����������������
�����������������������
���� personalstore.properties �ļ�
������� personalstore.properties �ļ��еIJ���������ͨѶ¼�洢����˾Ŀ¼���κ�Զ��Ŀ¼��
�� 7-4 �г��� personalstore.properties �ļ��д洢�����á�
�� 7-4 personalstore.properties �ļ��д洢����������
����
|
Ĭ��ֵ
|
����
|
db.defaultpsrootpattern
|
ldap:///piPStoreOwner=%U,o=%D,o=PiServerDb
|
ָ��Ϊ�û���̬���� psRoot ֵ��ʹ�õ�ģʽ��
������ psRoot ֵ���ڱ�ʶ�� psRoot ֵ��ƥ��� xxx ʵ��ͨ��ʹ�� db.xxx.urlmatch ֵ����
%U = �û��� uid����jsmith����
%D = �û�����siroe.com����
%O = �������Ҫ���֣���siroe����
|
db.xxx.class
|
com.iplanet.iabs.ldap.plug.iLDAP
|
ָ��ʵ�ֲ���� java �����ơ����磬LDAP �����
|
db.xxx.urlmatch
|
|
�����¸�ʽָ�� URL��
ldap://host:port/DN
���ڴ˲���4��ʶ xxx ʵ��
��ֵӦ���� default.xml �ļ��д洢�ġ�bookremoteurl�����Զ�Ӧ��
|
db.xxx.configpath
|
|
ָ�����ʵ�� LDAP ��Ϣ������Ŀ¼��·����
����·�������·������������ڸ��ļ���λ�á�
|
db.xxx.wildcardsearch
|
|
ָ����ͨ����������ṩ���ַ����С��Ŀ��
|
db.xxx.randompaging
|
false
|
ָ������Ƿ�֧���������Լ��Ƿ����ӵ�һҳ4����ÿһҳ��
���Ϊ false���������̼����������ֱ���ҵ���ȷ��ҳΪֹ��
|
db.xxx.corporatedir
|
false
|
���ڹ�˾Ŀ¼����ֵӦ��Ϊ true��
|
���� defaultps.xml �ļ�
defaultps.xml �ļ����û���һ�ε�¼ʱ�� LDAP �洢�д����ĸ��˺�˾ͨѶ¼��Ĭ�϶��塣
ÿ��ͨѶ¼�ڵ��� defaultps.xml �ļ����ڵ����а�һ��Ϊ�û�������ͨѶ¼���塣
������ defaultps.xml �� XML ���ֵ�ʾ����Щʾ������ͨѶ¼��˾ͨѶ¼�Ķ��塣
����ͨѶ¼ XML
����ʾ�� 7-1 �����ͨѶ¼����� XML ����
<book booktype="abook">
|
<bookoc>piLocalBook</bookoc>
|
<entry entryID="pab">
|
<displayname>_Personal Address Book</displayname>
|
<description>_This is your Personal Address Book</description>
|
</entry>
|
</book>
|
|
��˾Ŀ¼ XML
����ʾ�� 7-2 ��˾ͨѶ¼����� XML ����
<book booktype="abook"
|
bookremoteurl="ldap://corpdirectory">
|
<bookoc>piRemoteBook</bookoc>
|
<entry entryID="idirectory">
|
<displayname>_Corporate Directory</displayname>
|
<description>_This is Corporate Directory</description>
|
</entry>
|
</book>
|
|
���ڹ�˾��Զ��ͨѶ¼��personalstore.properties �ļ���Ӧ�ô�����Ӧ�� xxx ʵ��Ӧ��Ϊ personalstore.properties �ļ��е� db.xxx.urlmatch ���� personalstore.xml �ļ��е� bookremoteurl ���Ե�ֵ��
Ҫ����µ�Զ��ͨѶ¼������Ҫ��������
- �� defaultps.xml �ļ�������µ�ͨѶ¼�ڵ�
- �� personalstore.properties �ļ�������µ� xxx ʵ��
- �� WEB-INF/config ���洴��һ��Ŀ¼�Դ洢 db_config.properties �� xlate �ļ���
|
ע
|
xlate �ļ���jϵ�˻���� LDAP ģʽ��ͨѶ¼ XML ģʽ֮����ֶ�ӳ�䡣
|
|
����ȫ�� GUI
�����ļ����� Communications Express ����ʾ��ͼ�������Ƽ���Ĭ��λ�á���ͨ���Ĵ��ļ���ָ����·��4���ͼ���λ�á�Ĭ�� theme.properties �ļ�λ�� <uwc-deployed-path>/WEB-INF/skin ���档
�� 7-5 �г���ͼ����Ĭ��·����
�� 7-5 �����ļ��д洢�Ŀɶ��Ƶ�����
ͼ��
|
Ĭ��·��
|
uwc-common-SearchImage
|
../uwc/images/LrlSearch_1_wo.gif
|
uwc-common-PrintableImage
|
../uwc/images/LrlPrintable_1_wo.gif
|
uwc-common-ImportExportImage
|
../uwc/images/LrlImpExp_1_wo.gif
|
uwc-calclient-NewEventImage
|
../uwc/images/LrlNewEvent_1_wo.gif
|
uwc-calclient-NewTaskImage
|
../uwc/images/LrlNewTask_1_wo.gif
|
uwc-calclient-CheckAvailabilityImage
|
../uwc/images/LrlCheckAvail_1_wo.gif
|
uwc-calclient-publicImage
|
../uwc/images/LrlPrvPub_1.gif
|
uwc-calclient-RecurringImage
|
../uwc/images/LrlRecur_1.gif
|
uwc-calclient-NotifyImage
|
../uwc/images/LrlNotify_1.gif
|
back/forward image
|
../images/back.gif
|
�� uwcdomainconfig.properties �����������
uwcdomainconfig.properties �ļ���Ϊ��֧�ֵ����Ե��б?�б��е�ÿ�������÷ֺŸ������Զ��� Communications Express Ϊ��֧�ֵ������б?
���磬���ƻ��ڳ�Ϊ siroe.com ������֧�� en��Ӣ���de�������fr������� ja��������ԣ����ڸ���� uwcdomainconfig.properties �ļ��н� supportedLanguages ����Ϊ��supportedLanguages=en;fr;de;ja��
uwcdomainconfig.properties �ļ� siroe.com λ�ڣ�
WEB-INF/domain/siroe.com/uwcdomainconfig.properties
���������Ӧ�� i18n.properties �ļ��ж���ɱ��ػ����ַ����磬
uwc-common-options-preferredLanguage-en=English
uwc-common-options-preferredLanguage-de=German
uwc-common-options-preferredLanguage-fr=French
uwc-common-options-preferredLanguage-ja=Japanese
siroe.com �� i18n.properties �ļ�λ�ڣ�
WEB-INF/domain/siroe.com/locale/i18n.properties
���û��� LDAP ��Ŀ��û�� preferredLanguage ���Ե�����£��� preferredLanguage ���ԡ�������ṩ�ı���ֵ�Լ� i18.properties �ļ��Ŀ����Ծ����û��Ự����ʹ�õ����ԡ�