“getObjProperty” in connection with Postgres

"Astrid Below" <[email protected]> Mon, 18 Jan 2010 14:55:02 +0100
Newsgroups gmane.comp.cms.zms.devel
Message-ID <[email protected]>
Hallo, 
I’m developing a Postgres-DB for our Event-Calendar and will integrate it in our ZMS.  At time we use the intern ZMS-calendar and now I try to adapt the Special-Object DTML-Methods.
The methods doesn’t work “getObjProperty” in connection with Postgres. (The Postgres-DB I connect with
<dtml-let res="sql_selectItems(iditem=REQUEST.get('iditem',None))">)


By example:
<dtml-in "_.range(0,_.int(getObjProperty('display_months',REQUEST)))">

In the DTML-Method
<!--// BO displayCalendar //-->
<dtml-call "REQUEST.set('t0',ZopeTime().timeTime())"
><dtml-call "REQUEST.set('ly',REQUEST.get('year',ZopeTime().year()))"
><dtml-call "REQUEST.set('lm',REQUEST.get('month',ZopeTime().month()))"
><dtml-in "_.range(0,_.int(getObjProperty('display_months',REQUEST)))"
><dtml-call "REQUEST.set('iy',ly)"
><dtml-call "REQUEST.set('im',lm+_['sequence-item'])"
><dtml-if "im>12"
 ><dtml-call "REQUEST.set('iy',iy+1)"
 ><dtml-call "REQUEST.set('im',1)"
></dtml-if> 
…

Also the filter_list will not work:
<!--// BO displayEvent //-->

<dtml-with iditem>
<!--// BO Assemble Recordset //-->
<dtml-call "REQUEST.set('res',getObjProperty('records',REQUEST))">
<dtml-call "REQUEST.set('res',filter_list(res,'id',REQUEST.form['record_id']))">
<!--// EO Assemble Recordset //-->

Is there any other terminus that I have to use?

Looking forward with best regards
Astrid
-- 
Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02