[Zope] TinyTablePlus: Problems with quotation marks

Danny William Adair Danny@Adair.net
Wed, 25 Oct 2000 17:33:23 +0200


I have problems using Shane Hathaway's TinyTablePlus product. Maybe you can
help me.

**************************************************************************
My TinyTablePlus instance:
**************************************************************************
ID:
Items

Title:
Items on Navigation Bar

Columns:
Position ShowItem Caption UseImage Image Service URL

Data:
"1", "yes", "HOME", "yes", "Home", "Home", "/Main"
"2", "yes", "News", "yes", "News", "News", "/News"
"3", "yes", "Discussion", "no", "", "Discussion", "/Discussion"
--------------------------------------------------------------------------

**************************************************************************
My code: (I want to create a configuration page for a navigation bar, which
will have to change a table's rows depending on the contents of some form
elements)
**************************************************************************
<dtml-let Position='1'
          Caption='test'>
<dtml-in Items sort=Position>
<dtml-call "Items.setRow(Position=Position,Caption=newCaption)">
</dtml-in>
--------------------------------------------------------------------------

**************************************************************************
My problem:
**************************************************************************
Data afterwards:

"1", NULL, "test", NULL, NULL, NULL, NULL
"1", "yes", "HOME", "yes", "Home", "Home", "/Main"
"2", "yes", "News", "yes", "News", "News", "/News"
"3", "yes", "Discussion", "no", "", "Discussion", "/Discussion"
--------------------------------------------------------------------------

Shouldn't setRow recognize the existing row and change that one?
I can't see what I am doing wrong here.
Does it have anything to do with the double quotation marks in the data?

tia, Danny