<%@  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.toHTML(c.string("RBSManagement.BookSummaryTitle")) %></TITLE>
<LINK rel='stylesheet' href='<%= c.getModulesUrl() + "/dev/css/hf_style.css" %>'>
<jsp:include page='<%= c.getPath("dev/eMFrameScripts_inc.jsp") %>' flush="true" />
<SCRIPT language="JavaScript">
    function onPageLoad()
    {
         var button = document.getElementById("defbutton");
         if((button != null) && (button.disabled != true))
         {
            button.focus();
         }
    }

   function backButtonSelected()
   {
        document.CategorySummaryForm.elements["merge"].value="fw.CategoryRole";
        document.CategorySummaryForm.elements["nextState"].value="backSummary";
        document.CategorySummaryForm.submit();
   }

</SCRIPT>
</HEAD>

<BODY   TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000" bgcolor="#FFFFFF"
        onLoad="onPageLoad()">

<FORM   name="CategorySummaryForm"
        method=post
        action="webacc">

    <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="nextState"
            value="finishCategoryWizard">

    <!-- End of hidden tags -->

    <% c.set("WizardHeader.title", c.toHTML(c.string("CreateCategory.WizardTitle")));
       c.set("WizardHeader.subtitle", c.toHTML(c.string("CategorySummary.Summary")));
       c.set("WizardHeader.helpFile", ""); %>
    <jsp:include page='<%= c.getPath("dev/WizardHeader_inc.jsp") %>' flush="true" />

    <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
        <TR class="mediumtext">
            <TD width="25%" nowrap valign="top"><B><%= c.toHTML(c.string("CreateCategory.CategoryName")) %></B></TD>
            <TD colspan="25" nowrap valign="top"><%= c.toHTML(c.var("CategoryName")) %></TD>
        </TR>
        <TR class="mediumtext">
            <TD colspan="5" height="9">&nbsp;</TD>
        </TR>

      <!-- Load table info -->
        <% c.set("i", "0");
           while (c.lt(c.var("i"), c.var("AssignedRole.Count"))) {
               if (c.var("i").equals("0")) { %>
                <TR class="mediumtext">
                    <td width="25%" nowrap valign="top" height="9"><b><%= c.toHTML(c.string("CategorySummary.Roles")) %></b></td>
                    <TD colspan="25" nowrap valign="top" height="9"><%= c.toHTML(c.var("AssignedRoles."+c.var("i")+ ".ShortName")) %></TD>
                </TR>
            <% } else { %>
                <TR class="mediumtext">
                    <td width="25%" valign="top" height="9">&nbsp;</td>
                    <TD colspan="25" nowrap valign="top" height="9"><%= c.toHTML(c.var("AssignedRoles."+c.var("i")+ ".ShortName")) %></TD>
                </TR>
            <% }
               c.inc("i");
           } %>
        <TR>
            <TD class="mediumtext">
                &nbsp;
            </td>
        </TR>
    </TABLE>
    <jsp:include page='<%= c.getPath("dev/Bar_inc.jsp") %>' flush="true" />
    <a href="#" onClick="javascript:backButtonSelected();return false">
                <IMG src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.Back.image") %>"
                alt="<%= c.toHTML(c.string("Button.Back.alt")) %>"
                title="<%= c.toHTML(c.string("Button.Back.alt")) %>"
                border=0></a>
    <input type=image
                id="defbutton"
                name="Finish"
                alt="<%= c.toHTML(c.string("Button.Finish.alt")) %>"
                title="<%= 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" />
    </FORM>
</BODY></HTML>


