I understood that 'bitems' was a sequence of dictionaries. Ex: ({'name':
'xyz', 'id': 1'},{'name': 'pex', 'id': 2},{'name': 'wei', 'id': 3}...).
If it's something different, you have to change the code to handle your
object properly.
Zenrique.
2007/7/30, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> It's complaining that:
> *Error Type: TypeError*
> *Error Value: string indices must be integers*
> I tried back ticks and that still gave the same error.
> TIA,
> Tony
>
> <tal:loop repeat="item bitems">
> <input type="hidden" tal:attributes="value item/name; name
> string:item_name_${repeat/item/number}">
> <input type="hidden" tal:attributes="value item/id; name
> string:item_number_${repeat/item/number}">
> </tal:loop>
>
>
>
>
_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )