[Zapp-cvs-commit] ZApp/skins/zapp_generic zapp_cmf_object_type_edit_form.pt,1.2,1.3 zapp_cmf_object_
Brought to you by:
sspickle
|
From: <ssp...@us...> - 2003-08-07 13:50:35
|
Update of /cvsroot/zapp/ZApp/skins/zapp_generic
In directory sc8-pr-cvs1:/tmp/cvs-serv14418/skins/zapp_generic
Modified Files:
zapp_cmf_object_type_edit_form.pt zapp_cmf_object_view.pt
Log Message:
improve CMF base class so support copy/paste/delete with miscdata triggers
Index: zapp_cmf_object_type_edit_form.pt
===================================================================
RCS file: /cvsroot/zapp/ZApp/skins/zapp_generic/zapp_cmf_object_type_edit_form.pt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** zapp_cmf_object_type_edit_form.pt 3 Jul 2003 22:30:02 -0000 1.2
--- zapp_cmf_object_type_edit_form.pt 7 Aug 2003 13:50:32 -0000 1.3
***************
*** 45,48 ****
--- 45,49 ----
'record' (a structure or dictionary),
'records' (a list of structures of dictionaries),)
+ 'records2D' (a 2D array of dicts.. needs a parameter 'pitch')
if record or 'records' is used... there is also:
***************
*** 66,70 ****
subDefs subObject/zapp_properties | python:[]">
! <table tal:condition="python:propType in ['float','int','long','string','date']">
<tr><td><input type="checkbox" name="names:list" tal:attributes="value propName"/></td> <td tal:content="string:${propName}(${propType})"/></tr>
</table>
--- 67,71 ----
subDefs subObject/zapp_properties | python:[]">
! <table tal:condition="python:propType in ['float','int','long','string','date','boolean']">
<tr><td><input type="checkbox" name="names:list" tal:attributes="value propName"/></td> <td tal:content="string:${propName}(${propType})"/></tr>
</table>
Index: zapp_cmf_object_view.pt
===================================================================
RCS file: /cvsroot/zapp/ZApp/skins/zapp_generic/zapp_cmf_object_view.pt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** zapp_cmf_object_view.pt 3 Jul 2003 22:30:02 -0000 1.3
--- zapp_cmf_object_view.pt 7 Aug 2003 13:50:32 -0000 1.4
***************
*** 3,8 ****
metal:use-macro="here/main_template/macros/master">
<metal:block fill-slot="base">
! <base href=""
! tal:attributes="href python: here.absolute_url() + '/'">
</metal:block>
<body>
--- 3,7 ----
metal:use-macro="here/main_template/macros/master">
<metal:block fill-slot="base">
! <base href="" tal:attributes="href python: here.absolute_url() + '/'">
</metal:block>
<body>
|