Changes between Version 14 and Version 15 of MolgenisAddressBookExample
- Timestamp:
- 2009-08-23T18:47:14+02:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MolgenisAddressBookExample
v14 v15 8 8 [[Image(address-book-screenshot.JPG)]] 9 9 10 == Create the data model == 10 1. Create the data model XML[[BR]] 11 11 Create a new xml file ‘addressbook_db.xml’ in the root of you application. This file will contain the MOLGENIS model. Use the following template: 12 12 13 13 {{{ 14 14 #!xml 15 <?xml version="1.0" encoding="UTF-8"?> 16 <!DOCTYPE molgenis PUBLIC "MOLGENIS 1.0" "http://molgenis.sourceforge.net/dtd/molgenis_v_1_0.dtd"> 17 <molgenis name="addressbook"> 18 </molgenis> 15 <?xml version="1.0" encoding="UTF-8"?> 16 <!DOCTYPE molgenis PUBLIC "MOLGENIS 1.0" "http://molgenis.sourceforge.net/dtd/molgenis_v_1_0.dtd"> 17 <molgenis name="addressbook"> 18 19 </molgenis> 19 20 }}} 21 22 1. Add a “Contact” data type. Data types are called ‘entity’ in MOLGENIS: 23 {{{ 24 #!xml 25 <molgenis name="addressbook"> 26 <entity name="Contact"> 27 28 </entity> 29 </molgenis> 30 }}} 31 32