Registration Services uses three files to define a task link:
Determines the link text
Determines whether or not the link is displayed based on administrative role
Sets up the link
To add a new task to the Task Selector page:
IDENTIFIER=Link Text
where IDENTIFIER identifies the task and Link Text is the text string that will be the link in the Task Selector page.
IDENTIFIER=Admin:R,OrgAdmin:R
where IDENTIFIER identifies the task.
Note: The identifier for the task must be the same in the locale and presentation properties file.
<form name="FormName" action="/servlet/
DMS<%=request.getAttribute("adminFilter")%>
"targetpage.jsp" method="post">
<input type="hidden" name="ACTION" value="ActionName">
<input type="hidden" name="ORGPATH" value="<%=orgpath%>">
</form>
where:
<script language="JavaScript">
<!--
function FunctionName() {
document.FormName.submit();
}
//-->
</script>
where:
<ul align="center" type="disc">
<% if (accessProperties.getVisible(role, "IDENTIFIER"))
{ %>
<jsp:setProperty name="localebean" property="key"
value="IDENTIFIER"/>
<li><font class="SmallLink"><a href="javascript:Function
Name()"><jsp:getProperty name="localebean"
property="label"/></a></font></li>
where:
This identifier must match identifiers in the locale properties file and in global.properties. The locale properties file provides the text for the link. The global.properties file determines which types of administrators can view the link on their Task Selector page.
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |