Sun Java System Portal Server 7.2 发行说明

弃用通知和声明

在 Portal Server 7.2 中,不再使用 Display Profile Locale 标记来定义特定于语言环境的属性。而是使用 locale 类型的 ConditionalProperties 标记。例如:


<Locale language="en" country="US">
<String name="title" value="Sample JSP Channel"/>
<String name="description" value="This is the sample for the Jsp Provider"/>
</Locale>

用以下内容替换上面的 Locale 标记


<ConditionalProperties condition="locale" value="en_US">
<String name="title" value="Sample JSP Channel"/>
<String name="description" value="This is the sample for the Jsp Provider"/>
</ConditionalProperties>