Now you can make ManageBookForm - a form for managing books. It's similar with ManageUserForm, so if you forgot something - take a look there to remember ManageUserForm.
This is what you should have if you did everything right:
public class ManageBookForm extends AbstractForm {
    public void define() {
        setType(Types.get("com.user.Book"));
        addObjectField("Title");
        addObjectField("Author");
    }
}
If you added the UserID field to the form - remove it. The value of this field will be changed automatically when an user will borrow this book, or when the user who has already borrowed this book will return it.

Previous page Tree of contents Next page