<%@  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.BookSummaryForm.elements["merge"].value="fw.BookRole";
        document.BookSummaryForm.elements["nextState"].value="backBookRoles";
        document.BookSummaryForm.submit();
   }
</SCRIPT>
</HEAD>

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

<FORM   name="BookSummaryForm"
        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="User.context"
            value="<%= c.var("User.context") %>">

    <input  type=hidden
            name="nextState"
            value="finishBookWizard">

    <!-- End of hidden tags -->

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

    <TABLE width="100%" border="0" cellspacing="0" cellpadding="3">
        <TR class="mediumtext">
            <TD width="15%" nowrap valign="top"><B><%= c.toHTML(c.string("BookSummary.BookName")) %></B></TD>
            <TD colspan="25" nowrap valign="top"><%= c.toHTML(c.var("BookName_Value")) %></TD>
        </TR>
        <TR class="mediumtext">
            <TD colspan="5" height="9">&nbsp;</TD>
        </TR>
        <% c.set("i", "0");
           while (c.lt(c.var("i"), c.var("AssignedPage.Count"))) {
               if (c.var("i").equals("0")) { %>
                <tr class="mediumtext">
                    <td width="15%" nowrap valign="top" height="9"><b><%= c.toHTML(c.string("BookSummary.Pages")) %></b></td>
                    <TD colspan="25" nowrap valign="top" height="9"><%= c.toHTML(c.var("AssignedPage.TranslatedElement."+c.var("i"))) %></TD>
                </TR>
            <% } else { %>
                <tr class="mediumtext">
                    <TD width="15%" nowrap valign="top" height="9">&nbsp;</TD>
                    <TD colspan="25" nowrap valign="top" height="9"><%= c.toHTML(c.var("AssignedPage.TranslatedElement."+c.var("i"))) %></TD>
                </tr>
            <% }
               c.inc("i");
           } %>
        <TR>
            <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="15%" nowrap valign="top" height="9"><b><%= c.toHTML(c.string("BookSummary.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="15%" 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>
        <TR class="mediumtext">
            <TD width="15%" nowrap valign="top"><B><%= c.toHTML(c.string("MultipleObjectEditing")) %></B></TD>
            <TD colspan="25" nowrap valign="top"><%= c.toHTML(c.var("BookMooEnabled_Value")) %></TD>
        </TR>
        <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>


