<%@  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">


   /*******************
    * onPageLoad function
    *******************/
    function onPageLoad()
    {
		// Override default "error" url to return to summary page of wizard.
		document.eGuideSummaryForm.elements["GeneralMsg.Url"].value = "webacc?taskId=<%= c.var("taskId") %>" +
														  "&merge=fw.eGuideTaskSummary" +
														  "&nextState=taskSummary" +
														  "&User.context=<%= c.var("User.context") %>";
    }


   /*******************
    * onPageSubmit function
    *******************/
    function onPageSubmit()
    {

    }


    /*******************
    * FUNCTION HEADER *
    *******************/
    function backSelected()
    {
		document.eGuideSummaryForm.elements["merge"].value="fw.eGuideTaskAssign";
		document.eGuideSummaryForm.elements["nextState"].value="displayAlleGuideRoles";
		document.eGuideSummaryForm.elements["BackSelected"].value="true";
		document.eGuideSummaryForm.submit();
    }


</SCRIPT>
</HEAD>



<BODY TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000" bgcolor="#FFFFFF" onLoad="returnFromOS();onPageLoad()">
<FORM name="eGuideSummaryForm" method=post action="webacc" onSubmit="return(onPageSubmit())">
	<input  type=hidden name="taskId" value="<%= c.var("taskId") %>">
	<input  type=hidden name="merge" value="dev.GenConf">
	<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="wizardFinished">
	<input  type=hidden name="GeneralMsg.Url" value="">
	<input  type=hidden name="BackSelected" value="">
   <!-- 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.Summary.SubTitle"))); %>
   <jsp:include page='<%= c.getPath("dev/WizardHeader_inc.jsp") %>' flush="true" />

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

   <TABLE width="75%" border="0" cellspacing="0" cellpadding="2">
      <TR>
         <TD width="165" bgcolor="#EFEEE9" class=mediumtext>&nbsp;<%= c.toDisplay(c.string("eGuide.Taskbuilder.TaskName.Label")) %>&nbsp;</TD>
         <TD bgcolor="#EFEEE9" class=mediumtext><%= c.toDisplay(c.var("Task.Name")) %></TD>
      </TR>
      <TR>
         <TD class=mediumtext valign="top">&nbsp;<%= c.toDisplay(c.string("eGuide.Taskbuilder.TaskDescription.Label")) %>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
         <TD class=mediumtext><%= c.toDisplay(c.var("Task.Description")) %></TD>
      </TR>
      <TR>
         <TD bgcolor="#EFEEE9" class=mediumtext>&nbsp;<%= c.toDisplay(c.string("eGuide.Taskbuilder.TaskCategory.Label")) %>&nbsp;</TD>
         <TD bgcolor="#EFEEE9" class=mediumtext><%= c.var("Task.Category") %></TD>
      </TR>
      <TR>
         <TD class=mediumtext>&nbsp;<%= c.toDisplay(c.string("eGuide.Taskbuilder.TaskContext.Label")) %>&nbsp;</TD>
         <TD class=mediumtext><%= c.var("Task.Context") %></TD>
      </TR>
      <TR>
         <TD bgcolor="#EFEEE9" class=mediumtext valign="top">&nbsp;<%= c.toDisplay(c.string("eGuide.Taskbuilder.AssignedRoles.Label")) %>&nbsp;</TD>
         <TD bgcolor="#EFEEE9" class=mediumtext valign="top">
			<TABLE>
				<% c.set("i", "0");
				   while (c.lt(c.var("i"), c.var("eGuide.Roles.Count"))) { %>
					<TR>
						<TD bgcolor="#EFEEE9" class=mediumtext><%= c.toDisplay(c.var("eGuide."+c.var("i")+ ".Role")) %></TD>
					</TR>
					<% c.inc("i");
				   } %>
			</TABLE>
		  </TD>
      </TR>
      <TR>
         <TD class=mediumtext valign="top">&nbsp;<%= c.toDisplay(c.string("eGuide.Taskbuilder.SelectedAttributes.Label")) %>&nbsp;</TD>
         <TD class=mediumtext>
			<TABLE>
				<% c.set("i", "0");
				   while (c.lt(c.var("i"), c.var("eGuide.Attributes.Count"))) { %>
					<TR>
						<TD class=mediumtext><%= c.toDisplay(c.var("eGuide."+c.var("i")+ ".Attribute")) %></TD>
					</TR>
					<% c.inc("i");
				   } %>
			</TABLE>
		  </TD>
      </TR>
   </TABLE>
   <BR>

   	<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
      <TR>
      	<TD class="ruleabove">
      		<a href="#" onClick="javascript:backSelected();">
         	<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="Finish" alt="<%= c.toHTML(c.string("Button.Finish.alt")) %>" src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.Finish.image") %>" border=0>
            <jsp:include page='<%= c.getPath("dev/Cancel_inc.jsp") %>' flush="true" />
         </TD>
      </TR>
   </TABLE>
   </DIV>
</FORM>
</BODY>

</HTML>
