<!--
   Name:  DGSettingsPage.jsp

   Copyright (c) 1997-2003 Novell, Inc.  All Rights Reserved.

   THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES.
   USE AND REDISTRIBUTION OF THIS WORK IS SUBJECT TO THE LICENSE AGREEMENT
   ACCOMPANYING THE SOFTWARE DEVELOPMENT KIT (SDK) THAT CONTAINS THIS WORK.
   PURSUANT TO THE SDK LICENSE AGREEMENT, NOVELL HEREBY GRANTS TO DEVELOPER A
   ROYALTY-FREE, NON-EXCLUSIVE LICENSE TO INCLUDE NOVELL'S SAMPLE CODE IN ITS
   PRODUCT. NOVELL GRANTS DEVELOPER WORLDWIDE DISTRIBUTION RIGHTS TO MARKET,
   DISTRIBUTE, OR SELL NOVELL'S SAMPLE CODE AS A COMPONENT OF DEVELOPER'S
   PRODUCTS. NOVELL SHALL HAVE NO OBLIGATIONS TO DEVELOPER OR DEVELOPER'S
   CUSTOMERS WITH RESPECT TO THIS CODE.

-->
<%@ page pageEncoding="utf-8" contentType="text/html;charset=utf-8" %>
<%@ taglib uri="/WEB-INF/iman.tld" prefix="iman" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>



<iman:stringtable bundle="BaseResources"/>

<html>
   <head>
      <title><iman:string key="DynamicGroup.SettingsPageTitle"/></title>
      <LINK rel="stylesheet" href="<c:out value="${ContextPath}" />/portal/modules/dev/css/hf_style.css">
      <iman:eMFrameScripts/>
      <iman:osScripts/>
      <iman:include page="dev/PageScripts_inc.jsp"/>
      <iman:include page="dev/ValidateIntegerScripts_inc.jsp"/>
      <script language="JavaScript">

         function isPageValid()
         {
         }

      </script>
   </head>
   <body TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000" bgcolor="#FFFFFF" onLoad="returnFromOS();">
      <form name="DGMembersPageForm" method=post action="<c:out value= "${ContextPath}"/>/servlet/frameservice">
         <input type=hidden name="NPService" value="<c:out value="${taskId}"/>"/>
         <iman:include page="dev/Messagebar_inc.jsp"/>
         <iman:include page="dev/BookVars_inc.jsp"/>

         <table border=0 cellspacing="2" cellpadding="0" class="mediumtext">
            <tr>
               <td align="left" valign="top">
                  <iman:string key="DynamicGroup.IdentityObjectLabel"/>
               </td>
            </tr>
            <tr>
               <td align="left" valign="top">
                  <input 
                  	type=text 
                  	name="identityControl" 
							<c:if test="${IsDynamicParam == 'false'}"> disabled </c:if>
                  	value="<c:out value="${IdentityParam}"/>" size=40>
					<c:if test="${IsDynamicParam == 'true'}"><iman:os typeFilter="User,[public]" control="identityControl" history="true" multiSelect="false"/></c:if><br>
               </td>
            </tr>
				<tr>
					<td><br></td>
				</tr>
            <tr>
               <td >
                  <iman:string key="DynamicGroup.TimeoutLabel"/><br>
                  <input 
                  	type=text 
                  	name="timeoutControl" 
                  	value="<c:out value="${TimeoutParam}"/>" 
							<c:if test="${IsDynamicParam == 'false'}"> disabled </c:if>
                  	size=10 
                  	maxlength=10 
                  	onkeyup='if(!validateIntegerField(timeoutControl,0,999999)){this.focus();return false;}'>&nbsp;<iman:string key="DynamicGroup.SettingsPage.TimeoutUnits"/>
               </td>
            </tr>
				<tr>
					<td><br></td>
				</tr>
            <tr>
               <td>
                  <div align="left" >
                     <br><input 
                     	type="checkbox" 
                     	name="duplicatesControl" 
                     	width="16" 
                     	height="16" 
								<c:if test="${IsDynamicParam == 'false'}"> disabled </c:if>
	                   	<c:if test="${DuplicatesParam == 'true'}"> CHECKED </c:if>>
                     <iman:string key="DynamicGroup.AllowDuplicatesLabel"/>
                  </div>
               </td>
            </tr>
            <tr>
               <td>
                  <div align="left" >
                     <br><input 
                     	type="checkbox" 
                     	name="unknownControl" 
                     	width="16" 
                     	height="16" 
								<c:if test="${IsDynamicParam == 'false'}"> disabled </c:if>
                     	<c:if test="${UnknownParam == 'true'}"> CHECKED </c:if>>
                     <iman:string key="DynamicGroup.AllowUnknownLabel"/>
                  </div>
               </td>
            </tr>
         </table>
      </form>
      <iman:osFooter/>
   </body>
</html>