[Zapp-cvs-commit] ZApp/zpt Generic_displayRelatedObjects.zpt,1.1,1.2
Brought to you by:
sspickle
|
From: <ssp...@us...> - 2003-07-03 18:05:11
|
Update of /cvsroot/zapp/ZApp/zpt
In directory sc8-pr-cvs1:/tmp/cvs-serv18754/zpt
Modified Files:
Generic_displayRelatedObjects.zpt
Log Message:
fixed some ZApp bugs..
Index: Generic_displayRelatedObjects.zpt
===================================================================
RCS file: /cvsroot/zapp/ZApp/zpt/Generic_displayRelatedObjects.zpt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Generic_displayRelatedObjects.zpt 1 Jul 2003 22:22:03 -0000 1.1
--- Generic_displayRelatedObjects.zpt 3 Jul 2003 18:05:08 -0000 1.2
***************
*** 3,19 ****
<form action="" tal:attributes="action request/URL1" method="post">
<table >
! <tr tal:condition="objRelations"><td> </td><td>Manager</td><td>ObjectID</td><td>Object Type</td><td>Context ID</td></tr>
<tr tal:condition="objRelations" tal:repeat="objRelation objRelations">
<input type="hidden" name="relationInfo.otherRIID:records" tal:attributes="value objRelation/otherRIID">
<td><input name="ids:list" type=checkbox value="" tal:attributes="value objRelation/otherRIID"/></td>
<td tal:content="objRelation/otherManagerID"/>
<td><a tal:content="objRelation/otherObjectID" tal:attributes="href string:${objRelation/otherObject/absolute_url}/displayUpdateForm_html"/></td>
! <td tal:content="objRelation/otherObject/objectType"/>
<td><input name="relationInfo.contextID:records" tal:attributes="value objRelation/otherContextID"/></td>
!
</tr>
<tr tal:condition="objRelations"><td colspan="3">
<input type="submit" value="Delete Relation" name="removeObjectRelations_ui:method">
! <input tal:condition="objRelations" type="submit" value="Edit Selected Relations" name="editRelations_pt:method">
</td></tr>
<tr><td colspan="3"><input type="submit" value="Relate Other Object" name="findNewRelationship_pt:method">
--- 3,20 ----
<form action="" tal:attributes="action request/URL1" method="post">
<table >
! <tr tal:condition="objRelations"><td> </td><td>Manager</td><td>ObjectID</td><td>Info</td><td>Context ID</td></tr>
<tr tal:condition="objRelations" tal:repeat="objRelation objRelations">
+ <span tal:omit-tag="" tal:define="otherObject objRelation/otherObject">
<input type="hidden" name="relationInfo.otherRIID:records" tal:attributes="value objRelation/otherRIID">
<td><input name="ids:list" type=checkbox value="" tal:attributes="value objRelation/otherRIID"/></td>
<td tal:content="objRelation/otherManagerID"/>
<td><a tal:content="objRelation/otherObjectID" tal:attributes="href string:${objRelation/otherObject/absolute_url}/displayUpdateForm_html"/></td>
! <td tal:content="otherObject/Info | otherObject/name | otherObject/description | otherObject/objectType | nothing"/>
<td><input name="relationInfo.contextID:records" tal:attributes="value objRelation/otherContextID"/></td>
! </span>
</tr>
<tr tal:condition="objRelations"><td colspan="3">
<input type="submit" value="Delete Relation" name="removeObjectRelations_ui:method">
! <input tal:condition="objRelations" type="submit" value="Edit Selected Relations" name="editRelations_ui:method">
</td></tr>
<tr><td colspan="3"><input type="submit" value="Relate Other Object" name="findNewRelationship_pt:method">
|