Tutorial
Tutorial
- Flash tutorial - publish a single table with Openbiz Eclipse plugin
- Simple tutorial - publish a single table
- Full tutorial - work on table relationship. PDF version and Powerpoint version.
- 中文Powerpoint 教程
Best Practice
A simple tutorial
This simple tutorial is to guide you publish a table to web step by step. We just use text editor to edit metadata files. To configure more complex table relationship and use openbiz eclipse plugin, please refer to tutorial.pdf and plugin designer manual available at the openbiz web site.
1. Prepare
- Make sure you follow the openbiz installation steps described in the openbiz manual
- You can bring up demo applications correctly
2. Map a table to a DataObj
- The table must have a single primary key column (composite key is supported in 2.1)
- We can use the attendee table in the demo database
- Copy BOAttendee.xml to BOTest.xml. Open BOTest.xml and modify the column to field mapping under <BizFieldList>.
For example, remove the "OtherName" field.
3. Map a DataObj to Form
- Copy FMAttendee.xml to FMTest.xml. Open FMTest.xml and modify the column to field mapping under <BizCtrlList>.
For example, remove BizCtrl with FieldName as "OtherName"
4. Include a Form in a View
- Copy AttendeeView.xml to TestView.xml. Open TestView.xml and replace the FMAttendee to FMTest.
5. Test the View
- "http://localhost/demoapp/bin/controller.php?view=demo.TestView"
- The OtherName column is not shown on the view.
- Printer-friendly version
- Login or register to post comments