<%@  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("BaseResources"); %>
<HTML>
<HEAD>
<TITLE><%= c.toDisplay(c.string("CreateClass.Title")) %></TITLE>
<LINK rel="stylesheet" href="<%= c.getModulesUrl() + "/dev/css/hf_style.css" %>" type="text/css">
<jsp:include page='<%= c.getPath("dev/eMFrameScripts_inc.jsp") %>' flush="true" />
</HEAD>
<STYLE>
.tblbdy { LEFT:20px; TOP:129px; WIDTH:190px; HEIGHT:190px; OVERFLOW:auto; background-color: #bfbfbf;}

</STYLE>
<!-------------------------JAVA SCRIPT STARTS HERE--------------------------------------->
<SCRIPT language="JavaScript">

function previousSelected()
{
   document.ClassSummaryForm.elements["nextState"].value="getClassSummary";
   document.ClassSummaryForm.elements["Task.SelectedButton"].value="previousSelected";
   document.ClassSummaryForm.submit();
}

function finishSelected()
{
   document.ClassSummaryForm.elements["nextState"].value="getClassSummary";
   document.ClassSummaryForm.elements["Task.SelectedButton"].value="finishSelected";
   document.ClassSummaryForm.submit();
   
}

function checkForRegisteration()
{
   if(document.ClassSummaryForm.register.checked)
   {
      document.ClassSummaryForm.elements["Register"].value = "true";
   }
   else
   {
      document.ClassSummaryForm.elements["Register"].value = "false";
   }
return true;
}

</SCRIPT>

<BODY text="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000" bgcolor="#FFFFFF">
<FORM name="ClassSummaryForm" method=post action="webacc">

<!------------------------ BEGIN WEBACCESS VARIABLES ---------------------------->

<INPUT type="hidden" name="merge" value="">
<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="">
<INPUT type="hidden" name="taskId" value="<%= c.var("taskId") %>">
<INPUT type="hidden" name="Task.SelectedButton" value="">
<INPUT type="hidden" name="SelectedFlag" value="<%= c.var("SelectedFlag") %>">
<INPUT type="hidden" name="Register" value="<%= c.var("Register") %>">

<% c.set("WizardHeader.title", c.toDisplay(c.string("CreateClass.Title"))); 
   c.set("WizardHeader.instruction", c.toDisplay(c.string("CreateClass.Instr8"))); 
   c.set("WizardHeader.helpFile", "base/schemacreate_class_wizard_summary.html"); %>
<jsp:include page='<%= c.getPath("dev/WizardHeader_inc.jsp") %>' flush="true" />

<!----------------------------------------- CONTENT TABLE ------------------------------------>
<!--<div id="theDiv" style="overflow: auto;">
---- put the scrollable content here ----
</div>
<TABLE border="0" cellspacing="0" cellpadding="2">
<TR valign="baseline">
<TD class="mediumtext"><b>Name: </b></TD>
<TD class="mediumtext"><%= c.var("ClassName") %></TD>
</TR>
<TR><TD ></TD><TD></TD></TR>
<TR valign="baseline">
<TD class="mediumtext"><b>ASN1 ID: </b></TD>
<TD class="mediumtext"><%= c.var("ClassID") %></TD>
</TR>

<TR><TD></TD><TD></TD></TR>
<TR valign="baseline">
<TD valign=top class="mediumtext"><b>Flags:</b></TD>
<TD class="mediumtext"><div id="optional" style="WIDTH:190px; HEIGHT:25px; OVERFLOW:auto;"><%= c.var("SelectedFlag") %></TD>
</TR>

<TR valign="baseline">
<TD valign=top class="mediumtext"><b>Inheritance:</b></TD>
<TD class="mediumtext"><div id="optional" style="WIDTH:190px; HEIGHT:43px; OVERFLOW:auto;"><%= c.var("ClassParent") %></TD>
</TR>
</TABLE>
<TABLE>
<TR>
<TD valign=top class="mediumtext"><b>Optional:</b></TD>
<TD class="mediumtext"><div id="optional" style="WIDTH:190px; HEIGHT:43px; OVERFLOW:auto;"><%= c.var("selAndinheritedOptAttr") %></TD>
</TR>

<TR>
<TD valign=top class="mediumtext"><b>Mandatory:</b></TD>
<TD class="mediumtext"><div id="optional" style="WIDTH:190px; HEIGHT:43px; OVERFLOW:auto;"><%= c.var("selAndinheritedManAttr") %></TD>
</TR>

<TR>
<TD valign=top class="mediumtext"><b>Naming:</b></TD>
<TD class="mediumtext"><div id="optional" style="WIDTH:190px; HEIGHT:43px; OVERFLOW:auto;"><%= c.var("selAndinheritedNameAttr") %></TD>
</TR>
<TR>


</TR>
<TR>
<TD valign=top class="mediumtext"><b>Containers:</b></TD>
<TD class="mediumtext"><div id="optional" style="WIDTH:190px; HEIGHT:43px; OVERFLOW:auto;"><%= c.var("selAndinheritedCont") %></TD>
</TR>
</TABLE> -->
<TABLE border="0" cellspacing="0" cellpadding="3">
   <TR valign="baseline">
      <TD class="mediumtext"><%= c.toDisplay(c.string("SchemaName")) %></TD>
   <TD>&nbsp;</TD>
      <TD class="mediumtext">&nbsp;&nbsp;<%= c.toDisplay(c.var("ClassName")) %></TD>
   </TR>
   <TR><TD></TD><TD></TD></TR>
   <TR valign="baseline">
      <TD class="mediumtext"><%= c.toDisplay(c.string("SchemaID")) %></TD>
      <TD>&nbsp;</TD>
      <TD class="mediumtext">&nbsp;&nbsp;<%= c.toDisplay(c.var("ClassID")) %></TD>
   </TR>
   <TR><TD></TD><TD></TD></TR>
   <TR valign="baseline">
      <TD valign=top class="mediumtext"><%= c.toDisplay(c.string("SchemaFlags")) %></TD>
      <TD>&nbsp;</TD>
      <TD class="mediumtext">&nbsp;&nbsp;<%= c.toDisplay(c.var("SelectedFlagNames")) %>
      <BR>&nbsp;&nbsp;<%= c.toDisplay(c.var("SelectedContFlag")) %>
</TABLE>

<TABLE border="0" cellspacing="0" cellpadding="3">
   <TR valign="baseline">
      <TD valign=top class="mediumtext"><%= c.toDisplay(c.string("SchemaInheritance")) %></TD>
      <TD class="mediumtext"><TEXTAREA name="SelectedParentsAttr" rows="3" cols="40" readonly><% c.set("i", "0");    while (c.lt(c.var("i"), c.var("SummaryParents.Count"))) { %><%= c.toDisplay(c.var("SummaryParents.Element."+c.var("i"))) %><% out.print("\n");%><% c.inc("i");
   } %></TEXTAREA></TD>
   </TR>
   <TR>
      <TD valign=top class="mediumtext"><%= c.toDisplay(c.string("SchemaOptional")) %></TD>
      <TD class="mediumtext"><TEXTAREA name="SelectedOptAttr" rows="3" cols="40" readonly><% c.set("i", "0");    while (c.lt(c.var("i"), c.var("SummaryOpt.Count"))) { %><%= c.toDisplay(c.var("SummaryOpt.Element."+c.var("i"))) %><% out.print("\n");%><% c.inc("i");
   } %></TEXTAREA></TD>
   </TR>
   <TR valign="baseline">
      <TD valign=top class="mediumtext"><%= c.toDisplay(c.string("SchemaMandatory")) %></TD>
      <TD class="meduimtext"><TEXTAREA name="SelectedManAttr" rows="3" cols="40" readonly><% c.set("i", "0");    while (c.lt(c.var("i"), c.var("SummaryMan.Count"))) { %><%= c.toDisplay(c.var("SummaryMan.Element."+c.var("i"))) %><% out.print("\n");%><% c.inc("i");
   } %></TEXTAREA></TD>
   </TR>
   <TR valign="baseline">
      <TD valign=top class="mediumtext"><%= c.toDisplay(c.string("SchemaNaming")) %></th>
      <TD class="mediumtext"><TEXTAREA name="SelectedNameAttr" rows="3" cols="40" readonly><% c.set("i", "0");    while (c.lt(c.var("i"), c.var("SummaryName.Count"))) { %><%= c.toDisplay(c.var("SummaryName.Element."+c.var("i"))) %><% out.print("\n");%><% c.inc("i");
   } %></TEXTAREA></TD>
   </TR>
   <TR vlign="baseline">
      <TD valign=top class="mediumtext"><%= c.toDisplay(c.string("SchemaContainers")) %></th>
      <TD class="mediumtext"><TEXTAREA name="SelectedContCls" rows="3" cols="40" readonly><% c.set("i", "0");    while (c.lt(c.var("i"), c.var("SummaryCont.Count"))) { %><%= c.toDisplay(c.var("SummaryCont.Element."+c.var("i"))) %><% out.print("\n");%><% c.inc("i");
   } %></TEXTAREA></TD>
   </TR>
</TABLE>

<TABLE>
   <% if (c.var("SelectedFlag").equals("auxiliary") || c.var("SelectedFlag").equals("non")) { %>
   <tr><INPUT type="hidden" name="Register" value="false"><td>
   <% } else { %>
   <TR><TD class="mediumtext">
      <TD class="mediumtext" align="left"><INPUT type="checkbox" name="register" value="" onClick="checkForRegisteration();"><%= c.toDisplay(c.string("CreateClass.Register")) %></TD>
   </TR>
   <% } %>
</TABLE>

<!------------------------- BUTTON TABLE --------------------------->
<TABLE width="100%" border="0" cellspacing="0" cellpadding="2" height="25">
   <TR>
      <TD>&nbsp;</TD>
   </TR>
   <TR>
      <TD><jsp:include page='<%= c.getPath("dev/Bar_inc.jsp") %>' flush="true" /></TD>
   </TR>
   <TR>
      <TD>
         <A HREF="#"onClick="javascript:previousSelected();return false"><IMG src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.Back.image") %>" alt="<%= c.toDisplay(c.string("Button.Back.alt")) %>" title="<%= c.toDisplay(c.string("Button.Back.alt")) %>" border=0></A>
         <A HREF="#"onClick="javascript:finishSelected();return false"> <IMG src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.Finish.image") %>" alt="<%= c.toDisplay(c.string("Button.Finish.alt")) %>" title="<%= c.toDisplay(c.string("Button.Finish.alt")) %>" border=0></A>
         <jsp:include page='<%= c.getPath("dev/Cancel_inc.jsp") %>' flush="true" />
      </TD>
   </TR>
</TABLE>
</FORM>
</BODY></HTML>
