This example defines a form used to create projects. Form fields are provided for the project display name and description. Clicking the form’s Create button creates a project and displays the specified success page.

<dspel:importbean bean="/atg/epub/servlet/CreateProcessFormHandler"/>
<dspel:form formid="createForm" name="createForm" action="${createActionURL}"
method="post">

   <dspel:input type="hidden" bean="CreateProcessFormHandler.workflowName"
    value="${workflowDef}"/>
   <dspel:input type="hidden"  bean="CreateProcessFormHandler.successProjectView"
    value="ProjectDetailView.jsp"/>
   <dspel:input type="text" bean="CreateProcessFormHandler.displayName" size="40"
    maxlength="40"/>
   <dspel:input bean="CreateProcessFormHandler.description" size="40"
    maxlength="255" type="text"/>

   <dspel:input bean="CreateProcessFormHandler.createProcess" type="submit"
    value="Create"/>
</dspel:form>

Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices