サンプルコード
Windchill コードでの使用例
セカンダリ添付資料
「変更リクエストを作成」ウィザード (<Windchill>\codebase\ netmarkets\jsp\changeRequest\create.jsp) からの抜粋
...
%><%@taglib prefix="attachments"
uri="http://www.ptc.com/windchill/taglib/attachments"
...
<jca:wizard helpSelectorKey="change_createChangeRequest"
buttonList="DefaultWizardButtonsWithSubmitPrompt"
formProcessorController="com.ptc.windchill.enterprise.change2.form
s.controllers.ChangeRequestFormProcessorController">
...
<jca:wizardStep action="attachments_step" type="attachments"
/>
...
</jca:wizard>
<attachments:fileSelectionAndUploadApplet/>
<%@ include file="/netmarkets/jsp/util/end.jspf"%>
プライマリ添付資料
ウィザード JSP
<%@taglib prefix="attachments"
uri="http://www.ptc.com/windchill/taglib/attachments" %>
...
<jca:wizard buttonList="DefaultWizardButtonsWithSubmitPrompt">
...
<jca:wizardStep action="attributes_step" type="attachments"
/>
...
</jca:wizard>
.<attachments:fileSelectionAndUploadApplet/>
...
属性ステップ JSP
<%@taglib prefix="attachments"
uri="http://www.ptc.com/windchill/taglib/attachments" %>
...
<attachments:primaryAttachment>
...
これは役に立ちましたか?