<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit, com.novell.emframe.dev.eMFrameUtils" %>
<%   JSPConduit c = JSPConduit.getJSPConduit(request);
   c.stringTable("DevResources");
   c.stringTable("FwResources"); %>
<HTML>
<HEAD>
<TITLE><%= c.toHTML(c.string("ModifyRoleDescription.Title")) %></TITLE>
<LINK   rel='stylesheet' href='<%= c.getModulesUrl() + "/dev/css/hf_style.css" %>'>
<jsp:include page='<%= c.getPath("dev/eMFrameScripts_inc.jsp") %>' flush="true" />
<jsp:include page='<%= c.getPath("dev/OSScripts_inc.jsp") %>' flush="true" />
<script language="JavaScript">


    function onPageLoad()
    {
        document.ModifyRoleDescriptionForm.RoleName.focus();
    }


    function pageSubmit()
    {
        var strInput = document.ModifyRoleDescriptionForm.RoleName.value;

        if ((null == strInput) || (0 == strInput.length))
        {
            alert("<%= c.string("ModifyRoleDescription.EnterValidRoleName") %>");
            document.ModifyRoleDescriptionForm.RoleName.focus();
            return false;
        }

        return true;
    }


   function getSelectedRole()
   {
      document.ModifyRoleDescriptionForm.elements["ModifyRBSObjectDescriptionName"].value = document.ModifyRoleDescriptionForm.RoleName.value;
   }


</SCRIPT>
</HEAD>

<BODY TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000" bgcolor="#FFFFFF" onLoad="returnFromOS();onPageLoad()">

<FORM name="ModifyRoleDescriptionForm" method=post action="webacc" onSubmit="getSelectedRole();return(pageSubmit())">

	<input  type=hidden name="taskId" value="<%= c.var("taskId") %>">
	<input  type=hidden name="merge" value="fw.ModifyRBSObjectDescription">
	<input  type=hidden name="error" value="dev.GenErr">
	<input  type=hidden name="User.context" value="<%= c.var("User.context") %>">
	<input  type=hidden name="nextState" value="showModifyForm">
   <input  type=hidden name="ModifyRBSObjectDescriptionName" value="">

   <% c.set("TaskHeader.title", c.string("ModifyRoleDescription.Title"));
      c.set("TaskHeader.iconUrl", "dir/rbsRole.gif"); %>
   <jsp:include page='<%= c.getPath("dev/TaskHeader_inc.jsp") %>' flush="true" /><BR>
   <DIV align=left class="instructions"><span class="width400"><%= c.string("ModifyRoleDescription.SelectObject") %></span></DIV>
   <BR>
   <DIV class="mediumtext"><%= c.string("ModifyRoleDescription.Role") %></DIV>
   <input type=text name="RoleName" value="" size="35">
   <% c.set("OS.TypeFilter", "rbsRole2");
      c.set("OS.Mode", "Search");
      c.set("OS.Control", "RoleName");
      c.set("OS.History", "true"); %>
   <jsp:include page='<%= c.getPath("dev/OS_inc.jsp") %>' flush="true" />
   <P>&nbsp;</P>
   <DIV class="ruleabove"></DIV>
   <INPUT   type=image name="OKButton" alt="<%= c.string("Button.OK.alt") %>" src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.OK.image") %>" border=0>
   <jsp:include page='<%= c.getPath("dev/Cancel_inc.jsp") %>' flush="true" />
</form>
<jsp:include page='<%= c.getPath("dev/OSFooter_inc.jsp") %>' flush="true" />
</BODY></HTML>
