Update of /cvsroot/webware/Webware/MiddleKit/Docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12506/Docs
Modified Files:
UsersGuide.html
Log Message:
Made the 'backRefAttr' attribute capitalized ('BackRefAttr').
Index: UsersGuide.html
===================================================================
RCS file: /cvsroot/webware/Webware/MiddleKit/Docs/UsersGuide.html,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** UsersGuide.html 9 Mar 2004 19:26:21 -0000 1.29
--- UsersGuide.html 9 Mar 2004 19:31:09 -0000 1.30
***************
*** 337,341 ****
It was mentioned above that, when using a list attribute, MiddleKit requires a "back reference" and by default
! assumes this attribute will be named according to the name of the referencing. If you ever want to create recursive structures such as trees you may need to override the default using the "backRefAttr" attribute. A tree node can be implemented by having a reference to its parent node, and a list of children nodes like so:
<p> <table border align=center style="border-collapse: collapse" cellpadding=2>
--- 337,341 ----
It was mentioned above that, when using a list attribute, MiddleKit requires a "back reference" and by default
! assumes this attribute will be named according to the name of the referencing. If you ever want to create recursive structures such as trees you may need to override the default using the "BackRefAttr" attribute. A tree node can be implemented by having a reference to its parent node, and a list of children nodes like so:
<p> <table border align=center style="border-collapse: collapse" cellpadding=2>
***************
*** 365,369 ****
<td> children </td>
<td> list of Node</td>
! <td> backRefAttr='parent'</td>
</tr>
</table>
--- 365,369 ----
<td> children </td>
<td> list of Node</td>
! <td> BackRefAttr='parent'</td>
</tr>
</table>
|