| | This file copyright (c) 2004 SO.MUS.AR. s.a.s. | Subject to the license published at | http://www.somusar.com/contact/poc_request | book "Book" | A book - It is always related to one author and one publisher. unique_id book_id "Book Id." string title[80] "Title" string isbn[80] "ISBN" link author author_id "Author" link publisher publisher_id "Publisher" ------------------------------------------------------- DEFS ------ | No additional field definitions are required | for this simple entity. ------------------------------------------------------- DB -------- | | Define the field set for database table and its primary key | table: book_id, title, isbn, author_id, publisher_id pkey: book_id | | Define foreign keys set for relationships | fkey: author_id, publisher_id ------------------------------------------------------- LOGIC ----- | | Define the set of properties to be processed in the logic tier | class: book_id, title, isbn, author_id, publisher_id ------------------------------------------------------- UI -------- | | Define a simple edit dialog | edit: title......author_id...... isbn.......publisher_id... book_id................... ------------------------------------------------------- ADJUST ---- | Make book_id edit cell span across two columns UI.edit.book_id.colspan = 2