您可以定制登录到 Rational ClearQuest Web 时所显示主页的内容。
开始之前
在本主题中,路径名中使用了下列变量:
- RATIONAL_COMMON
- 安装 Rational 公共文件的目录
- yourHomePage.html
- 定制的 HTML 主页
- 在 Rational ClearQuest Web 应用程序条幅中,单击。
- 在“站点配置”对话框的应用程序选项选项卡上,请在主页字段中输入定制的 HTML 主页的 Web 地址。使用以下格式:
- 在 Windows 上:
drive:%RATIONAL_COMMON%\CM\profiles\cmprofile\installedApps\hostNameCMProfileNode01Cell\RationalClearQuestWeb.ear\CQWebModule.war\yourHomePage.html
- 在 UNIX 系统和 Linux 上:
$RATIONAL_COMMON/CM/profiles/cmprofile/installedApps/hostNameCMProfileNode01Cell/RationalClearQuestWeb.ear/CQWebModule.war/yourHomePage.html
- 在 Windows、UNIX 系统和 Linux 上:
- 或者,将定制的主页指定为相对的 Web 地址。以下是若干示例:
/yourHomePage.html
/yourCompanyFolder/yourHomePage.html
/yourCompanyFolder/aSubfolder/yourHomePage.html
注意: 在定制的主页中,必须指定指向图像或 HTML 文件的链接(相对于虚拟文件夹
cqweb)。
例如:
<img src=/cqweb/yourCompanyFolder/yourCompanyLogo.jpeg>
<a href=/cqweb/anotherPage.html>
<a href=/cqweb/yourCompanyFolder/anotherPage.html>
结果
进行了此更改后,主页将显示定制的内容。不需要重新启动服务器或 Web 应用程序。