cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Create Document JSP Customization

jlittle
Participant

Create Document JSP Customization

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

Announcements