アーティクル - CS185231
カスタム UI Validator を Windchill PDMLink の新規部品ウィザードに追加する方法
修正日: 20-Jan-2023
適用対象
- Windchill PDMLink 9.0 to 11.1
説明
- カスタム UI Validator を New Part ウィザードに追加する方法は?
- service.properties にサービスを登録し、part アクション モデルのアクションにafterVKパラメータを追加した後、バリデータはまだ呼び出されません。
- 例:
service.properties.xconf :
アクションモデル:
<Service context="default" name="com.ptc.core.ui.validation.UIComponentValidator" targetFile="codebase/service.properties"> <Option requestor="null" selector="myTestValidator" serviceClass="com.ptcts.enterprise.change2.validators.myTestValidator"/> </Service>
アクションモデル:
<objecttype name="part" class="wt.part.WTPart" resourceBundle="com.ptc.windchill.enterprise.part.partResource"> <action name="createPartWizard" uicomponent="CREATE_PART" ajax="row" afterVK="myTestValidator"> <command class="com.ptc.windchill.enterprise.part.forms.CreatePartAndCADDocFormProcessor" method="execute" url="/netmarkets/jsp/part/createPartWizard.jsp?revisionMode=create&showNewCADDocStep=true&hideAssociatePart=true" onClick="validateCreateLocation(event)" windowType="popup"/> <includeFilter name="showNewActionPreValidation"/> </action> </objecttype>
最新バージョンはこちらを参照ください CS185231