If you use "repeat/variable" (again, "variable" is not meant literally,Here is the code again:
but *some* "variable"), then "variable" must be a repeat variable
defined by an enclosing 'tal:repeat="variable ..."'.
If this is the case, then "repeat/variable/number" should work.
{'container': <Folder instance at 9cb67a0>,
'context': <Folder instance at 9cd1e60>,
'default': <Products.PageTemplates.TALES.Default instance at 0x8a1d62c>,
'here': <Folder instance at 9cd1e60>,
'loop': <SafeMapping instance at 99ef7a0>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x8a1d06c>,
'nothing':
None,
'options': {'args': ()},
'repeat': <SafeMapping instance at 99ef7a0>,
'request': <HTTPRequest, URL=http://rejoice.2012.vi/Books/test/getQuote>,
'root': <Application instance at 9a4c8f0>,
'template': <ZopePageTemplate at /rejoice.2012.vi/en-us/Books/getQuote used for /rejoice.2012.vi/en-us/Books/test>,
'traverse_subpath': [],
'user': Anonymous User}| Time | 2006/07/28 22:42:06.706 Universal |
|---|---|
| User Name (User Id) | tick (tick) |
| Request URL | http://2012.vi:7080/error_log/manage_workspace |
| Exception Type | Redirect |
| Exception Value | http://2012.vi:7080/error_log/manage_main |
| tree-s | 'eJzT0MgpMOQKVneEA09bda4CI67EkgJjLj0AeJsHfw' |
|---|
| SESSION | <bound method SessionDataManager.getSessionData of <SessionDataManager instance at 9a56890>> |
|---|
| TraversalRequestNameStack | [] |
|---|---|
| AUTHENTICATED_USER | tick |
| URL | 'http://2012.vi:7080/error_log/manage_workspace' |
| SERVER_URL | 'http://2012.vi:7080' |
| AUTHENTICATION_PATH | '' |
| PUBLISHED | <bound method SiteErrorLog.manage_workspace of <SiteErrorLog at /error_log>> |
| URL1 | 'http://2012.vi:7080/error_log' |
| ACTUAL_URL | 'http://2012.vi:7080/error_log/manage_workspace' |
| URL0 | http://2012.vi:7080/error_log/manage_workspace |
| URL1 | http://2012.vi:7080/error_log |
| URL2 | http://2012.vi:7080 |
| BASE0 | http://2012.vi:7080 |
| BASE1 | http://2012.vi:7080 |
| BASE2 | http://2012.vi:7080/error_log |
| BASE3 | http://2012.vi:7080/error_log/manage_workspace |
| HTTP_COOKIE | 'tree-s="eJzT0MgpMOQKVneEA09bda4CI67EkgJjLj0AeJsHfw"' |
|---|---|
| SERVER_SOFTWARE | 'Zope/(Zope 2.7.8-final, python 2.3.5, freebsd5) ZServer/1.1' |
| SCRIPT_NAME | '' |
| REQUEST_METHOD | 'GET' |
| PATH_INFO | '/error_log/manage_workspace' |
| SERVER_PROTOCOL | 'HTTP/1.1' |
| channel.creation_time | 1154126516 |
| CONNECTION_TYPE | 'keep-alive' |
| HTTP_ACCEPT_CHARSET | 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' |
| HTTP_USER_AGENT | 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4' |
| HTTP_REFERER | 'http://2012.vi:7080/manage_main' |
| SERVER_NAME | 'localhost' |
| REMOTE_ADDR | '67.143.135.132' |
| PATH_TRANSLATED | '/error_log/manage_workspace' |
| SERVER_PORT | '7080' |
| HTTP_HOST | '2012.vi:7080' |
| HTTP_ACCEPT | 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5' |
| GATEWAY_INTERFACE | 'CGI/1.1' |
| HTTP_ACCEPT_LANGUAGE | 'en-us,en;q=0.5' |
| HTTP_ACCEPT_ENCODING | 'gzip,deflate' |
| HTTP_KEEP_ALIVE | '300' |