基本的なカスタマイズ > ユーザーインタフェースのカスタマイズ > UI の情報の表示 > 属性テーブル > ソリューション > コンポーネントの使用 > 使用するオブジェクトタイプの JSP の作成 > JSP の登録
  
JSP の登録
情報ページサーブレットが、使用するタイプについて転送先の JSP を認識するには、タイプベースのサービスで使用される properties ファイルで、JSP のエントリを指定する必要があります。そのためのデフォルトの properties ファイルは typedservices.properties で、コードベースですぐに見つかります。エントリのフォーマットは以下のようになります。
wt.services/rsc/default/com.ptc.netmarkets.util.misc.FilePathFacto
ry/Attributes/wt.doc.WTDocument/0=/netmarkets/jsp/document/attribu
tes.jsp
wt.services/rsc/default/com.ptc.netmarkets.util.misc.FilePathFacto
ry/Attributes/wt.part.WTPart/0=/netmarkets/jsp/part/attributes.jsp
次に xcong フォーマットの例を示します。
<!--Info page fragments, Resource is the filepath to a jsp fragment
that will configure the info page -->
<Resource context="default"
name="com.ptc.netmarkets.util.misc.FilePathFactory">
<Option requestor="wt.part.WTPart"
resource="/netmarkets/jsp/part/attributes.jsp"
selector="Attributes"/>
<Option requestor="wt.doc.WTDocument"
resource="/netmarkets/jsp/document/attributes.jsp"
selector="Attributes"/>
</Resource>
Windchill/src/typedservices.properties.xconf ファイルは、タイプベースのアプリケーションコンテキストの検索に使用されるデフォルトの xconf ファイルです。使用するタイプについて、typedservices.properties を対象とするモジュール内で独自の xconf ファイルを作成します。