wt.change2.htmlclient
Class DefaultChangeTaskProcessor

java.lang.Object
  extended by wt.enterprise.BasicTemplateProcessor
      extended by wt.templateutil.processor.DefaultTemplateProcessor
          extended by wt.templateutil.processor.GenerateFormProcessor
              extended by wt.change2.htmlclient.ChangeManagementFormProcessor
                  extended by wt.change2.htmlclient.DefaultChangeTaskProcessor
All Implemented Interfaces:
Externalizable, Serializable, TemplateProcessor, ContextHolder, ContextTranslator, Evolvable
Direct Known Subclasses:
AnalysisActivityProcessor, ChangeActivityProcessor, ChangeAnalysisProcessor, ChangeIssueProcessor, ChangeOrderProcessor, ChangeRequestProcessor

Deprecated. This class is still valid for this release, however this serves as advance notice that it will be removed in the future. All user interfaces built using the Windchill HTML Template Processing client architecture will be rewritten on a JSP framework in an upcoming release. The form processor supports HTML generation for Windchill Change Management. Please refer to the chapter "Customizing Change Management" in the Windchill Customizer's Guide.

public class DefaultChangeTaskProcessor
extends ChangeManagementFormProcessor
implements Externalizable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
static String ANALYSIS_ACTIVITY_SECTION_ACTION
          Deprecated.  
static String ASSOCIATED_WF_PROCESS_ACTION
          Deprecated.  
static String CHANGE_ACTIVITY_SECTION_ACTION
          Deprecated.  
static String CHANGE_OBJECT_CREATE_ACTION
          Deprecated.  
static String CHANGE_OBJECT_DELETE_ACTION
          Deprecated.  
static String CHANGE_OBJECT_UPDATE_ACTION
          Deprecated.  
static String CHANGE_OBJECT_VIEW_ACTION
          Deprecated.  
static String EFFECTIVITY_ACTION
          Deprecated.  
static String INVESTIGATE_SECTION_ACTION
          Deprecated.  
static String ORDER_SECTION_ACTION
          Deprecated.  
static String PROPOSE_SECTION_ACTION
          Deprecated.  
static String VIEW_EFFECTIVITY_ACTION
          Deprecated.  
 
Fields inherited from interface wt.templateutil.processor.ContextTranslator
CONTEXT_LIST_IN, CONTEXT_LIST_OUT
 
Fields inherited from interface wt.templateutil.processor.ContextHolder
CONTEXT_ACTION, CONTEXT_CLASS_NAME, CONTEXT_OBJ, CONTEXT_PROPERTIES, FORM_DATA, QUERY_DATA, RESPONSE_EXCEPTIONS, RESPONSE_FOOTERS, RESPONSE_HEADERS, RESPONSE_MESSAGES, RESPONSE_STRING, STATUS
 
Constructor Summary
DefaultChangeTaskProcessor()
          Deprecated.  
 
Method Summary
protected  boolean checkNoCurrentAuthorMode()
          Deprecated.  
protected  boolean checkObjectCreateAccess(Class objectClass)
          Deprecated.  
 void displayAnalysisActivitySection(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void displayChangeActivitySection(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void displayChangeInvestigationSection(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void displayChangeOrderSection(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void displayChangeProposalSection(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void displayChangeRequestSection(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void displayCreateNewObject(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getAcceptLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getAddChangeablesLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getAddEffectivityLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getAddToProjectLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getCancelLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
protected  Class getClassParameter(String parameterName, Properties parameters, boolean required)
          Deprecated.  
protected  String getContextActionLink(String action_url, String action_name, String action_value, String label)
          Deprecated.  
protected  String getContextOid()
          Deprecated.  
 void getCopyLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getDateWithoutTime(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getDeleteLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getESIChangeLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getForumLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
protected  String getHiddenFieldHTML(String name, String value)
          Deprecated.  
protected  String getImage(String imgSrc, String align, String alt, String border)
          Deprecated.  
protected  String getJavascriptNewObjectLink(String action_url, String action_name, String action_value, String label, String parent_oid)
          Deprecated.  
protected  void getLocalizedStringFromParameters(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
protected  void getNewObjectLink(Class newObjectClass, String resourceKey, Class resourceClass, Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
protected  String getNewWindowActionLink(String action_url, String action_name, String action_value, String label)
          Deprecated.  
protected  String getResourceKeyParameter(String parameterName, Properties parameters, boolean required, Class resourceClass)
          Deprecated.  
 void getScrollToAnchor(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getSignatureLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getStateLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
protected  String getStringParameter(String parameterName, Properties parameters, boolean required)
          Deprecated.  
 void getSubmitCheckBox(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getSubmitLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getSubscriptionLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
protected  String getTaskDelegateLink(String action_url, String action_name, String query_name, String query_value, String label)
          Deprecated.  
 void getUpdateLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getViewEffectivityLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void initializeContext(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
protected  void initiateExpandableTable(QueryResult qr, Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
protected  void initiateSection(String sectionAction, Class parentClass, Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
protected  void outputHiddenField(String name, String value, PrintWriter out)
          Deprecated.  
protected  void setHtmlClientState(Object contextObj, Properties formData, Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void showErrorMessages(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void updateChangeAttachmentsTable(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 
Methods inherited from class wt.change2.htmlclient.ChangeManagementFormProcessor
createFormConstruct, displayChangeTask, pageTitle
 
Methods inherited from class wt.templateutil.processor.GenerateFormProcessor
listLifeCycles
 
Methods inherited from class wt.templateutil.processor.DefaultTemplateProcessor
displayAttributeLabel, displayAttributeVal, getAttributes, getContextPropertyValue, getHtmlTemplateFactory, getPAGE_EXPIRATION, getPageExpirationResource, getTemplate, setContextPropertyValue, setNameProcessor, setPAGE_EXPIRATION, setPageExpirationResource
 
Methods inherited from class wt.enterprise.BasicTemplateProcessor
addHTMLHelpLink, addToResponseExceptions, addToResponseFooters, addToResponseHeaders, addToResponseMessages, createActionsBar, createGlobalNavigationBar, createNavigationBar, currentTimestamp, getContextAction, getContextClassName, getContextListIn, getContextListOut, getContextObj, getContextProperties, getEncoding, getFormData, getHTMLHelpURL, getHTMLTableService, getLocalizedPrintWriter, getObjectIcon, getPrintWriter, getQueryData, getResourceString, getResponseExceptions, getResponseFooters, getResponseHeaders, getResponseMessages, getResponseString, getStatus, getURLProcessorLink, getWCColor, getWCColor, getWCColorDec, getWCFontFamily, getWCFontFamily, objectActionLink, objectBackground, objectIdentification, objectPropertyName, objectPropertyValue, processSubTemplate, setContextAction, setContextClassName, setContextListIn, setContextListOut, setContextObj, setContextProperties, setFormData, setQueryData, setResponseExceptions, setResponseFooters, setResponseHeaders, setResponseMessages, setResponseString, setStatus, showResponseExceptions, tableService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVESTIGATE_SECTION_ACTION

public static final String INVESTIGATE_SECTION_ACTION
Deprecated. 


Supported API: true

See Also:
Constant Field Values

PROPOSE_SECTION_ACTION

public static final String PROPOSE_SECTION_ACTION
Deprecated. 


Supported API: true

See Also:
Constant Field Values

ANALYSIS_ACTIVITY_SECTION_ACTION

public static final String ANALYSIS_ACTIVITY_SECTION_ACTION
Deprecated. 


Supported API: true

See Also:
Constant Field Values

ORDER_SECTION_ACTION

public static final String ORDER_SECTION_ACTION
Deprecated. 


Supported API: true

See Also:
Constant Field Values

CHANGE_ACTIVITY_SECTION_ACTION

public static final String CHANGE_ACTIVITY_SECTION_ACTION
Deprecated. 


Supported API: true

See Also:
Constant Field Values

CHANGE_OBJECT_VIEW_ACTION

public static final String CHANGE_OBJECT_VIEW_ACTION
Deprecated. 


Supported API: true

See Also:
Constant Field Values

CHANGE_OBJECT_UPDATE_ACTION

public static final String CHANGE_OBJECT_UPDATE_ACTION
Deprecated. 


Supported API: true

See Also:
Constant Field Values

CHANGE_OBJECT_CREATE_ACTION

public static final String CHANGE_OBJECT_CREATE_ACTION
Deprecated. 


Supported API: true

See Also:
Constant Field Values

ASSOCIATED_WF_PROCESS_ACTION

public static final String ASSOCIATED_WF_PROCESS_ACTION
Deprecated. 


Supported API: true

See Also:
Constant Field Values

CHANGE_OBJECT_DELETE_ACTION

public static final String CHANGE_OBJECT_DELETE_ACTION
Deprecated. 


Supported API: true

See Also:
Constant Field Values

EFFECTIVITY_ACTION

public static final String EFFECTIVITY_ACTION
Deprecated. 


Supported API: true

See Also:
Constant Field Values

VIEW_EFFECTIVITY_ACTION

public static final String VIEW_EFFECTIVITY_ACTION
Deprecated. 


Supported API: true

See Also:
Constant Field Values
Constructor Detail

DefaultChangeTaskProcessor

public DefaultChangeTaskProcessor()
Deprecated. 

Default no argument constructor.

Supported API: true

Method Detail

displayChangeRequestSection

public void displayChangeRequestSection(Properties parameters,
                                        Locale locale,
                                        OutputStream os)
                                 throws WTException
Deprecated. 

(Script method) Invoke a subtemplate to insert a Change Request section into the HTML page. This method will insert the appropriate type of section: create, update, or view.

The action used to obtain an HTML template and template processor depends are defined as the following static variables:



Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

displayChangeInvestigationSection

public void displayChangeInvestigationSection(Properties parameters,
                                              Locale locale,
                                              OutputStream os)
                                       throws WTException
Deprecated. 

(Windchill Script method) Invoke a subtemplate to insert a Change Investigation section into the HTML page. This method will insert a Change Investigation section only if the Change Request has already been created.

The action defined by the static variable INVESTIGATE_SECTION_ACTION is used to obtain an HTML template and template processor for the Change Investigation Section.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

displayChangeProposalSection

public void displayChangeProposalSection(Properties parameters,
                                         Locale locale,
                                         OutputStream os)
                                  throws WTException
Deprecated. 

(Windchill Script method) Invoke a subtemplate to insert a Change Proposal section into the HTML page. This method will insert a Change Proposal section only if the Change Request has already been created.

The action defined by the static variable PROPOSE_SECTION_ACTION is used to obtain an HTML template and template processor for the Change Proposal Section.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

displayAnalysisActivitySection

public void displayAnalysisActivitySection(Properties parameters,
                                           Locale locale,
                                           OutputStream os)
                                    throws WTException
Deprecated. 

(Windchill Script method) Invoke a subtemplate to insert an Analysis Activity section into the HTML page. This method will insert an Analysis Activity section only if the Change Analysis (Proposal or Investigation) has already been created.

The action defined by the static variable ANALYSIS_ACTIVITY_SECTION_ACTION is used to obtain an HTML template and template processor for the Analysis Activity Section.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

displayChangeOrderSection

public void displayChangeOrderSection(Properties parameters,
                                      Locale locale,
                                      OutputStream os)
                               throws WTException
Deprecated. 

(Windchill Script method) Invoke a subtemplate to insert a Change Order section into the HTML page. This method will insert a Change Order section only if the Change Order has already been created.

The action defined by the static variable ORDER_SECTION_ACTION is used to obtain an HTML template and template processor for the Change Order Section.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

displayChangeActivitySection

public void displayChangeActivitySection(Properties parameters,
                                         Locale locale,
                                         OutputStream os)
                                  throws WTException
Deprecated. 

(Windchill Script method) Invoke a subtemplate to insert a Change Activity section into the HTML page. This method will insert a Change Activity section only if the Change Order has already been created.

The action defined by the static variable CHANGE_ACTIVITY_SECTION_ACTION is used to obtain an HTML template and template processor for the Change Activity Section.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getAcceptLink

public void getAcceptLink(Properties parameters,
                          Locale locale,
                          OutputStream os)
                   throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link to trigger the persistence of the object currently in update mode. This link invokes the processForm Javascript method, passing in the context action currently defined. For "Accept" links generated into update pages, this action is defined as the static variable CHANGE_OBJECT_UPDATE_ACTION. The processForm Javascript method submits the form.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getCancelLink

public void getCancelLink(Properties parameters,
                          Locale locale,
                          OutputStream os)
                   throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link to trigger a cancel of the current update mode, returning to a view mode without performing any persistence. This link invokes the processForm Javascript method, passing in the context action defined as the static variable CHANGE_OBJECT_VIEW_ACTION. The processForm Javascript method submits the form.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getDeleteLink

public void getDeleteLink(Properties parameters,
                          Locale locale,
                          OutputStream os)
                   throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link to trigger the delete of the current context object. This link invokes the refreshForm Javascript method, passing in the context action defined as the static variable CHANGE_OBJECT_VIEW_ACTION. The refreshForm Javascript method submits the form.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getStateLink

public void getStateLink(Properties parameters,
                         Locale locale,
                         OutputStream os)
                  throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link of the context object's current life cycle state. The link will trigger the context action defined as the static variable ASSOCIATED_WF_PROCESS_ACTION. This action displays an HTML page containing a list of workflow processes active for context object.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getUpdateLink

public void getUpdateLink(Properties parameters,
                          Locale locale,
                          OutputStream os)
                   throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link to trigger the update mode for the current context object. This link invokes the refreshForm Javascript method, passing in the context action defined as the static variable CHANGE_OBJECT_UPDATE_ACTION. The refreshForm Javascript method submits the form.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getNewObjectLink

protected void getNewObjectLink(Class newObjectClass,
                                String resourceKey,
                                Class resourceClass,
                                Properties parameters,
                                Locale locale,
                                OutputStream os)
                         throws WTException
Deprecated. 

Utility method to generate an HTML link to insert a create mode for the passed class. This link invokes the refreshForm Javascript method, passing in the context action defined as the static variable CHANGE_OBJECT_CREATE_ACTION. The refreshForm Javascript method submits the form.

Supported API: true

Parameters:
newObjectClass -
resourceKey -
resourceClass -
parameters -
locale -
os -
Throws:
WTException

initializeContext

public void initializeContext(Properties parameters,
                              Locale locale,
                              OutputStream os)
                       throws WTException
Deprecated. 

(Windchill script method) Insert hidden fields in the form that can later be set via Javascript. This method is not automatically called for sub processes so it is invoked from the template. One hidden field is created for each parameter passed on the Windchill script method call.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getContextActionLink

protected String getContextActionLink(String action_url,
                                      String action_name,
                                      String action_value,
                                      String label)
Deprecated. 

Generate an HTML link to invoke the refreshForm Javascript method. The refreshForm Javascript method updates a hidden field in the form to store which update link was clicked, and then submits the form.

Supported API: true

Parameters:
action_url -
action_name -
action_value -
label -
Returns:
String

getContextOid

protected String getContextOid()
                        throws WTException
Deprecated. 

Returns the object id in String form of the processor's current context object.

Supported API: true

Returns:
String
Throws:
WTException

getHiddenFieldHTML

protected String getHiddenFieldHTML(String name,
                                    String value)
Deprecated. 

Return a String containing the HTML to create a hidden field.

Supported API: true

Parameters:
name -
value -
Returns:
String

getImage

protected String getImage(String imgSrc,
                          String align,
                          String alt,
                          String border)
Deprecated. 

Utility method to return a String containing the HTML to insert an image.

Supported API: true

Parameters:
imgSrc -
align -
alt -
border -
Returns:
String

getTaskDelegateLink

protected String getTaskDelegateLink(String action_url,
                                     String action_name,
                                     String query_name,
                                     String query_value,
                                     String label)
Deprecated. 

Generate an HTML link to invoke the refreshForm Javascript method. The refreshForm Javascript method updates a hidden field in the form to track which update link was clicked, and then submits the form.

Supported API: true

Parameters:
action_url -
action_name -
query_name -
query_value -
label -
Returns:
String

outputHiddenField

protected void outputHiddenField(String name,
                                 String value,
                                 PrintWriter out)
Deprecated. 

Insert a hidden field in the form.

Supported API: true

Parameters:
name -
value -
out -

setHtmlClientState

protected void setHtmlClientState(Object contextObj,
                                  Properties formData,
                                  Properties parameters,
                                  Locale locale,
                                  OutputStream os)
                           throws WTException
Deprecated. 

Set the context object to a ChangeRequestIfc. If the context object is not a change request, attempt to obtain the ChangeRequestIfc from the context object (example: workitem) and reset the context object to the ChangeRequestIfc.

Supported API: true

Parameters:
contextObj -
formData -
parameters -
locale -
os -
Throws:
WTException

initiateSection

protected void initiateSection(String sectionAction,
                               Class parentClass,
                               Properties parameters,
                               Locale locale,
                               OutputStream os)
                        throws WTException
Deprecated. 

Utilitiy method to initiate a sub-template for a given section of the Change Manager UI.

Supported API: true

Parameters:
sectionAction -
parentClass -
parameters -
locale -
os -
Throws:
WTException

initiateExpandableTable

protected void initiateExpandableTable(QueryResult qr,
                                       Properties parameters,
                                       Locale locale,
                                       OutputStream os)
                                throws WTException
Deprecated. 

Utilitiy method to initiate an expandable table of the objects in a given QueryResult.

Supported API: true

Parameters:
qr -
parameters -
locale -
os -
Throws:
WTException

getClassParameter

protected Class getClassParameter(String parameterName,
                                  Properties parameters,
                                  boolean required)
                           throws WTException
Deprecated. 

Utility method to obtain a class parameter from the passed Properties object.

Supported API: true

Parameters:
parameterName -
parameters -
required -
Returns:
Class
Throws:
WTException

getStringParameter

protected String getStringParameter(String parameterName,
                                    Properties parameters,
                                    boolean required)
                             throws WTException
Deprecated. 

Utility method to return a String parameter from the passed Properties object.

Supported API: true

Parameters:
parameterName -
parameters -
required -
Returns:
String
Throws:
WTException

checkNoCurrentAuthorMode

protected boolean checkNoCurrentAuthorMode()
Deprecated. 

Utility method to determine if any other objects are in create or update mode. Returns true if no object is currently is update or create mode.

Supported API: true

Returns:
boolean

checkObjectCreateAccess

protected boolean checkObjectCreateAccess(Class objectClass)
                                   throws WTException
Deprecated. 

Utility method to determine if any other objects are in create or update mode. Returns true if no object is currently is update or create mode.

Supported API: true

Parameters:
objectClass -
Returns:
boolean
Throws:
WTException

getJavascriptNewObjectLink

protected String getJavascriptNewObjectLink(String action_url,
                                            String action_name,
                                            String action_value,
                                            String label,
                                            String parent_oid)
Deprecated. 

Generate an HTML link to invoke the refreshForNew Javascript method. The refreshForNew Javascript method updates a hidden field in the form to store which object is the parent for the new object, and then submits the form.

Supported API: true

Parameters:
action_url -
action_name -
action_value -
label -
parent_oid -
Returns:
String

getLocalizedStringFromParameters

protected void getLocalizedStringFromParameters(Properties parameters,
                                                Locale locale,
                                                OutputStream os)
                                         throws WTException
Deprecated. 

Utility method which returns a string that represents a localized message from a resouce bundle.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getResourceKeyParameter

protected String getResourceKeyParameter(String parameterName,
                                         Properties parameters,
                                         boolean required,
                                         Class resourceClass)
                                  throws WTException
Deprecated. 

Utility method to return a String parameter from the passed Properties object.

Supported API: true

Parameters:
parameterName -
parameters -
required -
resourceClass -
Returns:
String
Throws:
WTException

displayCreateNewObject

public void displayCreateNewObject(Properties parameters,
                                   Locale locale,
                                   OutputStream os)
                            throws WTException
Deprecated. 

(Windchill Script method) If the "New" link was clicked for the class matching the "class" parameter, this script method will insert a editable form for creating a new object.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getSubmitCheckBox

public void getSubmitCheckBox(Properties parameters,
                              Locale locale,
                              OutputStream os)
                       throws WTException
Deprecated. 

(Windchill Script method) Insert a "submit" check box. This method inserts a submit checkbox only if the context object is not null, is LifeCycleManaged, and has not been submitted to the first life cycle gate.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getAddEffectivityLink

public void getAddEffectivityLink(Properties parameters,
                                  Locale locale,
                                  OutputStream os)
                           throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link to launch the UI to set effectivity from the current context object. This link invokes the refreshForm Javascript method, passing in the context action defined as the static variable CHANGE_OBJECT_VIEW_ACTION. The refreshForm Javascript method submits the form.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getNewWindowActionLink

protected String getNewWindowActionLink(String action_url,
                                        String action_name,
                                        String action_value,
                                        String label)
Deprecated. 

Generate an HTML link to invoke the openNewWindow Javascript method. The openNewWindow Javascript method opens a new window to the passed URL.

Supported API: true

Parameters:
action_url -
action_name -
action_value -
label -
Returns:
String

updateChangeAttachmentsTable

public void updateChangeAttachmentsTable(Properties parameters,
                                         Locale locale,
                                         OutputStream os)
                                  throws WTException,
                                         IOException
Deprecated. 



Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException
IOException

showErrorMessages

public void showErrorMessages(Properties parameters,
                              Locale locale,
                              OutputStream os)
                       throws WTException
Deprecated. 

(Windchill script method)Retrieve the response messages that were accumulated and write them to the output stream only if the current context object/class is the same as the one that originally generated the errors.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getScrollToAnchor

public void getScrollToAnchor(Properties parameters,
                              Locale locale,
                              OutputStream os)
                       throws WTException
Deprecated. 

(Windchill script method) Generate an HTML anchor near the object that is being created or updated. This will be used when the page is loaded to determine what to scroll into view.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getDateWithoutTime

public void getDateWithoutTime(Properties parameters,
                               Locale locale,
                               OutputStream os)
                        throws WTException
Deprecated. 

(Windchill script method)Given a attribute that contains a date, convert the date to the format mm/dd/yyyy. This is used when displaying a date in an input field.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getAddChangeablesLink

public void getAddChangeablesLink(Properties parameters,
                                  Locale locale,
                                  OutputStream os)
                           throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link to launch the UI to attach changeables from the current context object. This link invokes the openNewWindow Javascript method which opens a new window displaying a search page.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getViewEffectivityLink

public void getViewEffectivityLink(Properties parameters,
                                   Locale locale,
                                   OutputStream os)
                            throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link to launch the UI to view effectivity from the current context object.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getSubmitLink

public void getSubmitLink(Properties parameters,
                          Locale locale,
                          OutputStream os)
                   throws WTException
Deprecated. 

(Windchill Script method) Insert a "submit" link. This method inserts a submit link only if the context object is not null, is LifeCycleManaged, and has not been submitted to the first life cycle gate.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getSignatureLink

public void getSignatureLink(Properties parameters,
                             Locale locale,
                             OutputStream os)
                      throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link to display the electronic signatures for the current context object.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getSubscriptionLink

public void getSubscriptionLink(Properties parameters,
                                Locale locale,
                                OutputStream os)
                         throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link to display the subscriptions for the current context object.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getForumLink

public void getForumLink(Properties parameters,
                         Locale locale,
                         OutputStream os)
                  throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link to display the subscriptions for the current context object.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getCopyLink

public void getCopyLink(Properties parameters,
                        Locale locale,
                        OutputStream os)
                 throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link to copy a change object to the clipboard for the current context object.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getESIChangeLink

public void getESIChangeLink(Properties parameters,
                             Locale locale,
                             OutputStream os)
                      throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link to add a change object to a project

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getAddToProjectLink

public void getAddToProjectLink(Properties parameters,
                                Locale locale,
                                OutputStream os)
                         throws WTException
Deprecated. 

(Windchill script method) Generate an HTML link to add a change object to a project

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException