在传统 Coach 中添加定制格式类型(不推荐)

您可以修改文本控件的预定义字符格式或创建其他格式。

“输入文本”和“输出文本”控件的预定义字符格式由 PROFILE_HOME\config\cells\cell_name\nodes\node_name\servers\server_name\process-center\config\system\99Local.xml 文件中的 <formatting-templates> 段定义。

要修改格式或创建其他格式,请复制下方显示的 <formatting-templates> 段并粘贴到 100Custom.xml 文件中。 您可以根据需求在 100Custom.xml 文件中定义其他格式。
注: 如果 100Custom.xml 尚不存在,请按100Custom.xml 文件和配置中所述创建该文件。
<formatting-templates> <formatting-template comment="Currency" template="$ ###,###,###.##" /> <formatting-template comment="Currency" template="###,###,###.## €" /> <formatting-template comment="Currency" template="€ ###,###,###.##" /> <formatting-template comment="Integer" template="###,###,###" /> <formatting-template comment="Decimal" template="###,###,###.##" /> <formatting-template comment="US phone" template="(###) 000-0000" /> <formatting-template comment="US SSN" template="000-00-0000" /> </formatting-templates>
注: 如果您通过变更 Process Center Server 的设置在开发环境中添加或修改格式,请确保对运行时环境中的各 Process Server 进行相同更改。