On Fri, 20 Oct 2000, Graham Chiu wrote:
I'm still struggling with Tiny Tables.
Why does this flag an error??
<dtml-call "REQUEST.set('table','thenameofmytinytable')">
Here's your problem. You're setting table to be a string containing the name of your tiny table. <dtml-call "REQUEST.set('table', thenameofmytinytable)"> Why don't you try <dtml-call "_.getitem('thenameofmytinytable').manage_editDate(tableDate)"> instead?
<dtml-call "REQUEST.set('tableData',_.chr(34)+'Mydata'+_.chr(34) + '\n')"> <dtml-call "table.manage_editData(tableData)">
Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_editData'
This error is the giveaway. table is a "string", not a "tiny table".
-- Graham Chiu
Have a better one, Curtis Maloney.