The following code adds the link "Register New Users" to the Task Selector Page:
NEWUSER_ID=Register New Users
NEWUSER_ID=Admin:R,OrgAdmin:R
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%"> </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>
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |