<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit, com.novell.emframe.dev.eMFrameUtils,
                                                                             com.novell.emframe.dev.eMFrameFactory,
                                                                             com.novell.emframe.dev.MContext" %>
<%   JSPConduit c = JSPConduit.getJSPConduit(request);
   c.stringTable("DevResources");
   c.stringTable("FwResources");
   MContext context = eMFrameFactory.getMContext(request);
%>
<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>

<SCRIPT language="JavaScript">

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

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

function cancelSelected()
{
   document.ClassSummaryForm.elements["taskId"].value="fw.HomePage";
   document.ClassSummaryForm.elements["merge"].value="fw.HomePage";
   document.ClassSummaryForm.elements["nextState"].value="fw.HomePage";
   document.ClassSummaryForm.elements["Task.SelectedButton"].value="cancelSelected";
   document.ClassSummaryForm.submit();
}

function setFocusToFormElement()
{
   document.ClassSummaryForm.JavaClassname.focus();
}


</SCRIPT>

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



<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="SelectedClass" value="<%= c.toTag(c.var("SelectedClass")) %>">

<% c.set("WizardHeader.title", c.string("Creator.WizardHeaderTitle"));
   c.set("WizardHeader.instruction", c.formatMessage(c.string("Creator.Wizard2HeaderInstruction"), new String[]{context.getDirUtils().getSafeName(c.var("SelectedClass"))}));
   c.set("WizardHeader.helpFile", "base/creatorwizard2.html"); %>
<jsp:include page='<%= c.getPath("dev/WizardHeader_inc.jsp") %>' flush="true" />


<TABLE>
   <TR>
      <TD class="instructions" align="left"><%= c.string("Creator.Wizard2Select") %></TD>
   </TR>
   <TR>
      <TD>&nbsp;</TD>
   </TR>
</TABLE>


<TABLE border="0" cellspacing="0" cellpadding="7">
<TR valign="baseline">
   <TD class="mediumtext" nowrap><b>&lt;object-type-name&gt; </b></TD>
   <TD class="mediumtext"><%= c.var("SelectedClass") %></TD>
</TR>
<TR><TD ></TD><TD></TD></TR>
<TR valign="baseline">
   <TD class="mediumtext" nowrap><b>&lt;id&gt; </b></TD>
   <TD class="mediumtext">base.CreateCustom<%= context.getDirUtils().getSafeName(c.var("SelectedClass")) %></TD>
</TR>

<TR><TD ></TD><TD></TD></TR>
<TR valign="baseline">
   <TD class="mediumtext" nowrap><b>&lt;version&gt; </b></TD>
   <TD class="mediumtext">1.0</TD>
</TR>
<TR><TD ></TD><TD></TD></TR>
<TR valign="baseline">
   <TD class="mediumtext" nowrap><b>&lt;required-version&gt; </b></TD>
   <TD class="mediumtext">1.0</TD>
</TR>
<TR><TD ></TD><TD></TD></TR>
<TR >
   <TD class="mediumtext" nowrap><b>&lt;class-name&gt; </b></TD>
   <TD><TABLE border="0" cellspacing="0" cellpadding="0"><TR>
   <TD class="mediumtext"><INPUT type="text" name="JavaClassname" size=<%= c.string("UI.textboxSize") %> Maxlength="100" value="<%= c.var("JavaClassname") %>"></TD>
   </TR><TR>
   <TD class="instructions" size=<%= c.string("UI.textboxSize") %>><%= c.string("Creator.Wizard2Note") %></TD>
   </TR></TABLE><TD>
</TR>

<TR><TD ></TD><TD></TD></TR>
<TR >
   <TD class="mediumtext" nowrap><b>&lt;merge-template&gt; </b></TD>
   <TD><TABLE border="0" cellspacing="0" cellpadding="0"><TR>
   <TD class="mediumtext"><INPUT type="text" name="MergeTemplate" size=<%= c.string("UI.textboxSize") %> Maxlength="100" value="<%= c.var("MergeTemplate") %>"></TD>
   </TR><TR>
   <TD class="instructions" size=<%= c.string("UI.textboxSize") %>><%= c.string("Creator.Wizard2Note2") %></TD>
   </TR></TABLE><TD>
</TR>


</TABLE>

<TABLE>
   <TR>
      <TD>&nbsp;</TD>
   </TR>
   <TR>
      <TD class="instructions" align="left"><%= c.formatMessage(c.string("Creator.Wizard2Info"), new String[]{context.getDirUtils().getSafeName(c.var("SelectedClass"))}) %></TD>
   </TR>
</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>
         <A HREF="#"onClick="javascript:cancelSelected();return false"><IMG src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.Cancel.image") %>" alt="<%= c.string("Button.Cancel.alt") %>" title="<%= c.string("Button.Cancel.alt") %>" border=0></A>
      </TD>
   </TR>
</TABLE>
</FORM>
</BODY></HTML>
