基本的なカスタマイズ > ユーザーインタフェースのカスタマイズ > ウィザードの作成 > 再利用可能なウィザードステップのカスタマイズ > サンプルコード > WTPart の「属性を設定」ステップのデフォルトビュー JSP
  
WTPart の「属性を設定」ステップのデフォルトビュー JSP
WTPart はカスタマイズしたタイプピッカー、ReadOnlyPropertyPanel、CreateCadDocStep option に関連するカスタム情報を含める必要があります。そのため、WTPart のビルダー (PartDefineItemAttributesWizStepBuilder) を定義して、「属性を設定」ステップ (WEB_INF/jsp/part/ defineItemAttributesWizStep.jsp) のビューを設定する必要があります。
汎用ステップとの唯一の違いは、ドライバ属性を描画する JSP が異なっている点です。
<%@ taglib uri="http://www.ptc.com/windchill/taglib/jcaMvc" prefix="mvc"%>
<%@ taglib uri="http://www.ptc.com/windchill/taglib/mvc" prefix="mvc1"%>
<%@ include file="/netmarkets/jsp/components/beginWizard.jspf"%>
<%@ include file="/netmarkets/jsp/components/createEditUIText.jspf"%>
<%@ include file="/netmarkets/jsp/components/includeWizBean.jspf"%>
<%@ taglib uri="http://www.ptc.com/windchill/taglib/wrappers" prefix="wrap"%>
<%@ page import="com.ptc.windchill.enterprise.part.partResource" %>
<fmt:setBundle basename="com.ptc.windchill.enterprise.part.partResource"/>
<fmt:message var="createCADDocument" key="<%= partResource.CREATE_CAD_DOC_
FROM_NEW_PART_LABEL %>" />
<div id='${createBean.currentObjectHandle}driverAttributesPane'>
<%@ include file="/netmarkets/jsp/part/defineItem.jspf"%>
</div>
<mvc:attributesTableWizComponent/>
<c:if test='${param.showNewCADDocStep == "true"}'>
<wrap:checkBox name="createCADDocForPart" id="createCADDocForPart"
label="${createCADDocument}" renderLabel="true"
renderLabelOnRight="true" checked="false"
onclick="toggleCreateCADDocStep('part.defineItemAttributesWizStepForCADDoc!~
objectHandle~caddocHandle~!');" />
</c:if>

<br>
<c:if test='${param.invokedfrom != "workspace"}'>
<%@ include
file="/netmarkets/jsp/components/keepCheckedOutCheckbox.jspf"%
>
</c:if>
<input id="selectedClfNodes" type="hidden" name="selectedClfNodes" >
<input id="selectedClfNodesDisplayName" type="hidden"
name="selectedClfNodesDisplayName" >
<%@ include file="/netmarkets/jsp/util/end.jspf"%>