%-- $Id$ --%> <%@ page import="com.primix.vlib.ejb.*" %> <%@ include file="Border.jsp"%> <% MyBooksDelegate delegate = MyBooksDelegate.get(context); value = delegate.getError(); if (value != null) { writer.begin("font"); writer.attribute("color", "red"); writer.print(value); writer.end(); } value = delegate.getMessage(); if (value != null) { %>
<% writer.print(value); %> <% } Book[] books = delegate.getBooks(); for (int i = 0; i < books.length; i++) { Book book = books[i]; if (i == 0) { %>
Title | Author | Publisher | Borrowed By | ||
---|---|---|---|---|---|
<% writer.print(book.getTitle()); %> | <% writer.print(book.getAuthor()); %> | <% writer.print(book.getPublisherName()); %> | <% if (application.showHolder(book)) PersonServlet.writeLink(context, writer, book.getHolderPrimaryKey(), book.getHolderName()); %> | ">[Edit] | ">[Delete] |