Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Back in 9.1 I had added a customization to the netmarkets/jsp/documents/createDocumentSetAttributesWizStep.jsp as:
<% if (createBean.getTypeNameFromTypePicker(commandBean).indexOf("Procedure") != -1) { %>
<%@ include file="/netmarkets/corning/Info_Button.htm" %>
<% } %>
This worked great and only included the listed htm file if the Document Type of Procedure was selected. Now in 10.0, I cannot get the same functionality to work. The JSP page has changed to createDocumentSetTypeAndAttributesWizStep.jsp and I have tried several ways to determine which selection is made from the TypePicker but cannot get the results. One of my last attempts as suggested by PTC is:
<%@ page import="com.ptc.core.components.beans.CreateAndEditWizBean"%>
CreateAndEditWizBean createBean = (CreateAndEditWizBean)request.getAttribute("createBean");
System.out.println(createBean.getTypeNameFromTypePicker( commandBean ));
Again, I cannot get the details of the original selection. Any one have any ideas or suggestions?
Thanks,
James