<%@  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.var("DisplayNameTitle") %></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 HEADER *
    *******************/
    function onPageLoad()
    {
        document.eGuideCategoriesForm.CategoryList.focus();
    }



   /*******************
    * FUNCTION HEADER *
    *******************/
    function onPageSubmit()
    {
       return true;
    }


</SCRIPT>
</HEAD>

<BODY TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000" bgcolor="#FFFFFF" onLoad="returnFromOS();onPageLoad()">
<FORM name="eGuideCategoriesForm" method=post action="webacc" onSubmit="return(onPageSubmit())">
	<input  type=hidden name="taskId" value="<%= c.var("taskId") %>">
	<input  type=hidden name="merge" value="fw.eGuideTaskAttributes">
	<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="displayCategoryAttributes">
   <!-- End of hidden tags -->

   <% c.set("WizardHeader.title", c.toDisplay(c.string("eGuide.Taskbuilder.Title")));
      c.set("WizardHeader.subtitle", c.toDisplay(c.string("eGuide.Taskbuilder.Category.SubTitle"))); %>
   <jsp:include page='<%= c.getPath("dev/WizardHeader_inc.jsp") %>' flush="true" />

   <DIV class="instructions"><%= c.toDisplay(c.string("eGuide.Taskbuilder.Category.Description")) %></DIV>
   <BR>

   <TABLE name="CategoryTable">
	   <TR>
		   <TD class="mediumtext"><%= c.toDisplay(c.string("eGuide.Taskbuilder.TaskCategory.Label")) %></TD>
      </TR>
	   <TR>
		   <TD>
			   <SELECT name="CategoryList" WIDTH="250" style="WIDTH: 250px">
			      <% c.set("i", "0");
			         while (c.lt(c.var("i"), c.var("eGuide.Category.Count"))) { %>
			         <OPTION value="<%= c.toDisplay(c.var("eGuide.Category."+c.var("i")+ ".Name")) %>"><%= c.toDisplay(c.var("eGuide.Category."+c.var("i")+ ".Name")) %></OPTION>
                  <% c.inc("i");
			     	   } %>
			  	</SELECT>
         </TD>
      </TR>
	</TABLE>
   <BR>
   	<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
      <TR>
      	<TD class="ruleabove">
         	<a href="javascript:history.go(-1);"><IMG src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.Back.image") %>" alt="<%= c.toDisplay(c.string("Button.Back.alt")) %>" border=0></a>
            <INPUT type=image name="Next" alt="<%= c.toDisplay(c.string("Button.Next.alt")) %>" src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.Next.image") %>" border=0>
            <jsp:include page='<%= c.getPath("dev/Cancel_inc.jsp") %>' flush="true" />
         </TD>
      </TR>
   </TABLE>
</FORM>
</BODY>
</HTML>
