<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" %>
<%@  page import="com.novell.emframe.dev.eMFrameUtils" %>

<%@ taglib uri="/WEB-INF/iman.tld" prefix="iman" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>

<iman:stringtable bundle="DevResources"/>
<iman:stringtable bundle="SampleTagLibResources" />

<HTML>
<HEAD>
<TITLE><iman:string key="MyTask.Title" /></TITLE>
   <iman:stylesheet/>
   <iman:eMFrameScripts/>
   <iman:mvedScripts/>
   <iman:osScripts/>

<script language="JavaScript">
</script>
</HEAD>

<BODY onLoad="returnFromOS();">
<form name="MyForm" method=post action="webacc" onSubmit="">
   <input type=hidden name="taskId" value="<c:out value="${taskId}"/>">
   <input type=hidden name="merge" value="dev.GenConf">
   <input type=hidden name="error" value="dev.GenErr">
   <input type=hidden name="nextState" value="doTask">
   
   <iman:taskHeader title="Sample Tag Library Task" iconUrl="dir/User.gif" iconAlt="User"  />
   <br>
   <input type=text name="MyControlName" value="" size=50>
   <iman:os control="MyControlName" 
            typeFilter="Country, Organization, Organizational Unit, [root], [this], [public], [containers]"
            isOSAllowed="isEnabled"
            mode="Search"
            multiSelect="true" 
            searchSubContainers="true"
            altText="My tool tip" 
            history="true" />
   <br><br>
   <iman:mved name="mved1" width="150" objectTypeName="User" items="${myItems}" history="true"/>
   <br>
   <iman:bar/>
   <iman:button key="OK" onClick="document.MyForm.submit();"  />&nbsp;<iman:cancelBtn />
</form>
<iman:osFooter/>
</BODY>
</HTML>
