<%@  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("CreateAttr.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" />
<style>
.gray
{
background-color: #bfbfbf;
}
</style>
</HEAD>

<!-------------------------JAVA SCRIPT STARTS HERE--------------------------------------->
<SCRIPT language="JavaScript">
function previousSelected()
{
   document.AttrSummaryForm.elements["nextState"].value="getNewAttrSummary";
   document.AttrSummaryForm.elements["Task.SelectedButton"].value="previousSelected";
   document.AttrSummaryForm.submit();
}

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

</SCRIPT>

<BODY text="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000" bgcolor="#FFFFFF" onLoad="document.forms[0].Flags.focus();">
<FORM name="AttrSummaryForm" 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="EnteredAttrName" value="<%= c.var("EnteredAttrName") %>">
<INPUT type="hidden" name="EnteredAttrID" value="<%= c.var("EnteredAttrID") %>">
<INPUT type="hidden" name="EnteredAttrSyntax" value="<%= c.var("EnteredAttrSyntax") %>">
<INPUT type="hidden" name="whichFlags" value="<%= c.var("whichFlags") %>">
<INPUT type="hidden" name="EnteredLowerBound" value="<%= c.var("EnteredLowerBound") %>">
<INPUT type="hidden" name="EnteredUpperBound" value="<%= c.var("EnteredUpperBound") %>">
<INPUT type="hidden" name="SingleValued" value="<%= c.var("SingleValued") %>">
<INPUT type="hidden" name="SyncImmediately" value="<%= c.var("SyncImmediately") %>">
<INPUT type="hidden" name="PublicRead" value="<%= c.var("PublicRead") %>">
<INPUT type="hidden" name="WriteManaged" value="<%= c.var("WriteManged") %>">
<INPUT type="hidden" name="PerReplica" value="<%= c.var("PerReplica") %>">
<INPUT type="hidden" name="Sized" value="<%= c.var("Sized") %>">
<% c.set("WizardHeader.title", c.string("CreateAttr.Title"));
   c.set("WizardHeader.subtitle", c.toDisplay(c.string("Schema.Step4")));
   c.set("WizardHeader.instruction", c.string("CreateAttr.Instr4"));
   c.set("WizardHeader.helpFile", "base/schemacreate_attr_wizard_summary.html"); %>
<jsp:include page='<%= c.getPath("dev/WizardHeader_inc.jsp") %>' flush="true" />

<!----------------------------------------- CONTENT TABLE ------------------------------------>

<TABLE cellpadding="2" cellspacing="2">
   <TR valign="baseline">
      <TD class="mediumtext"><%= c.toDisplay(c.string("SchemaName")) %></TD>
      <TD class="mediumtext" align="left"><INPUT type="text" class="gray" name="Name" value="<%= c.toDisplay(c.var("AttrName")) %>" readonly></TD>
   </TR>
   <TR valign="baseline">
      <TD class="mediumtext"><%= c.toDisplay(c.string("SchemaID")) %></TD>
      <TD class="mediumtext"><INPUT type="text" class="gray" name="Id" value="<%= c.toDisplay(c.var("AttrID")) %>" readonly></TD>
   </TR>
   <TR valign="baseline">
      <TD class="mediumtext"><%= c.toDisplay(c.string("SchemaSyntax")) %></TD>
      <TD class="mediumtext" align="left"><INPUT type="text" class="gray" name="Syn" value="<%= c.toDisplay(c.var("AttrSyntax")) %>" bgcolor="#bfbfbf" readonly></TD>
   </TR>
   <TR valign="baseline">
      <TD valign="top" class="mediumtext"><%= c.toDisplay(c.string("SchemaFlags")) %></TD>
      <TD class="mediumtext">
        <select name="Flags" size="5" style="WIDTH:150px;background-color:#bfbfbf;" readonly><% c.set("i", "0");    while (c.lt(c.var("i"), c.var("SummaryFlags.Count"))) { %><option><%= c.toDisplay(c.var("SummaryFlags.Element."+c.var("i"))) %></option><% c.inc("i");
   } %></select>
      </TD>
   </TR>
</TABLE>

<!------------------------- BUTTON TABLE --------------------------->
<TABLE width="100%" border="0" cellspacing="3" cellpadding="2" >
   <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>
