Basic Customization > User Interface Customization > Constructing Wizards > Building Wizards to Create a Single Object > Solution > Solution Elements
  
Solution Elements
Element
Type
Description
JSPs
The following jsp and jspf files can be used to create and display components common to many create wizards. Unless otherwise noted, they are located in the <Windchill>/codebase/netmar kets/jsp/object and <Windchill>/codebase/netmar kets/jsp/components directories.
createEditUIText
jsp file
Contains some UI text common to create and edit wizards.
includeWizBean
jsp file
Defines the CreateAndEditWizBean called during the generation of jsp pages to access wizard data.
Beans
CreateAndEditWizBean
Java class
This bean is available to your jsps if you include the includeWizBean jspf file. It has getter methods for wizard data set by the initializeItem tag such as the operation, default container, the base type, and so forth.
Javascript
validateCreateLocation
A javascript method you can specify on the onClick parameter of the wizard action for wizards that can be launched from a folder browser toolbar. This checks to make sure that the user does not have more than one folder checked and that the user has not checked an object that is not a folder. If either is the case, a popup error message is displayed.
Location: <Windchill>/codebase/netmar kets/javascript/util
Java Classes
You can use the classes below to help create and process your wizard. They are located in the <Windchill>/codebase/WEB- INF/lib/wncWeb.jar file.
CreateAndEditModelGetter
Java class
A class that may be called via a getModel tag to generate the data for property panels and attributes tables in create wizards.
CreateObjectFormProcessor
Java class
A class that may be used or extended to process your wizard form data. Extends DefaultObjectFormProcessor.
DefaultObjectFormProcessorDelegate
Java class
A class that may be extended to implement various processing subtasks.
ObjectBean
Java class
A container for the form data specific to one target object and for the data common to all objects. Provides methods to retrieve the form data for the associated object. A wizard creating only one object will have only one ObjectBean.
FormResult
Java class; runs in the Method Server and client
A class used to pass method results between server processor methods and from the server to the WizardServlet.