Previous Topic: Add Tasks to the Task Selector Page

Next Topic: Collect Additional Attributes

Example: Adding a Register New Users Link

The following code adds the link "Register New Users" to the Task Selector Page:

Note: Only the sections of launch.jsp which relate specifically to the Register New Users link are displayed below.

</head>

<body bgcolor="#ffffff" text="#000000">

<form name="AddUserForm" action="/servlet/DMS
                    <%=request.getAttribute("adminFilter")%>
                    user_data_collector.jsp" method="post">
              <input type="hidden" name="ACTION" value="NEW">
              <input type="hidden" name="ORGPATH" value="<%=orgpath%>">
</form>
.
.
.
<script language="JavaScript">
<!--
function SubmitAddUser() {
  document.AddUserForm.submit();
}
.
.
.
//-->
</script>
<p>
<center>
.
.
.
<table width="100%" border=0 cellpadding=0 cellspacing=0>
              <tr>
                    <td width="15%">&nbsp;</td>
                    <td nowrap>
                    <ul align="center" type="disc">
                           <% if (accessProperties.getVisible(role,
                                  "NEWUSER_ID")) { %>
            <jsp:setProperty name="localebean" property="key"
                                  value="NEWUSER_ID"/>
                           <li><span class="SmallLinkFont"><a href="java-
                                  script:SubmitAddUser()"><jsp:getProperty
                                  name="localebean" property="label"/></a>
                                  </span></li>
          <% } %>
            </ul>
          </td>
        </tr>
</table>
</center>
</body>
</html>