示例代码
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>
...
这对您有帮助吗?