[B-frame-devel] b-frame 0.1.2
Status: Alpha
Brought to you by:
dahm
|
From: Peter B. <pbe...@sn...> - 2003-03-23 21:00:50
|
Hi, <b-frame/> 0.1.2 has been released, visit http://www.b-frame.org/ and http://sourceforge.net/projects/b-frame. This release removes the restriction that applications have to reside under the <b-frame/> tree and allowes to some extend the customization of masks. 1. Unbundling the Applications Previous releases required you to have your application located under the <b-frame/> tree in a subfolder app. As already posted by Markus (http://sourceforge.net/mailarchive/forum.php?thread_id=1862597&forum_id=31823) this restriction is now gone, you may locate your <b-frame/> application wherever you want. 2. Customization of Masks Previous <b-frame/> versions deduced the fields appearing on a mask from the corresponding table, e.g. a tasks's select list consists of the table's primary key attributes. This is a good default solution and may be sufficient in some cases, but in general the fields appearing on a mask should be customizable. This has been achieved by introducing the <bf-app:group> and <bf-app:field> for the <b-frame/> application descriptor. As an example consider the following task definition from the university application. <bf-app:task table="institute"> <bf-app:task table="professor"> <bf-app:group type="list"> <bf-app:field name="id" label="ID"/> <bf-app:field name="name" label="Name" link="true"/> </bf-app:group> <bf-app:task table="course"> <bf-app:group type="list"> <bf-app:field name="id" label="ID"/> <bf-app:field name="title" label="Title" link="true"/> </bf-app:group> <bf-app:task name="student_list" table="visit"/> </bf-app:task> </bf-app:task> </bf-app:task> Note the following: * One or more <bf-app:group> tags may be nested to a <bf-app:task> tag for customizing a group of fields. * The group is identified by the type attribute of tag <bf-app:group> defining the mask which should be customized. For the type attribute the following values are allowed: o "list", o "display", o "insert", and o "update". * A group of a given type can occur only one time. * One or more <bf-app:field> tags may be nested to a <bf:-app:group> tag. The <bf-app:field> tag allows the following attributes: o The name attribute is mandatory, it has to match an attribute of the table corresponding to the task. o The label attribute is optional. o The link attribute is optional. It is only useful for a group of type "list". If set to "true", this field will have a link. 3. Documentation A new introductory text is available at http://www.b-frame.org/introduction/index.html The tutorial at http://www.b-frame.org/applications.pdf has been updated. Bye, Peter |