durusmail: quixote-users: Re: Quixote/Simpletal tal:repeat
re: Quixote/Simpletal tal:repeat
2004-10-06
Re: Quixote/Simpletal tal:repeat
Re: Quixote/Simpletal tal:repeat
c5qb-3fe3@spamex.com
2004-10-06
Amos Latteier  writes:
> c5qb-3fe3 at spamex.com wrote:
>  >I'm using quixote with the quixote_tal.py module.  It appears that the
>  >tal:repeat statement requires a callable expression, rather than just a
>  >sequence:
>  >
>  >tal:repeat="image self/images"
>  >
>  >works if images is a function returning a list, but not if images is
>>itself a
>  >list. If images is a list itself, then i'll get an error.  The error
>>manifests
>  >itself as multiple redirects of the url in question with slashes
>>appended each
>  >time until the browser reaches the redirection limit.
>
> This is a weird error, I agree. I'll see if I can improve it. However,
> what you are trying to do is not allowed. quixote_tal.py only allows
> legal quixote URLs in path expressions. If you try to access your
> images object in your webbrowser you'll see that it doesn't work.

I'm not sure quite what you mean by the above.  In the examples above, i
ensured that 'images' was added to the _q_exports list in line with the little
demo program for quixote_tal.py here:

http://quixote.ca/qx/QuixoteAndSimpleTalAdvanced

It's similiar to the access of 'name' - except using a different tag, or do
different rules apply to tal:repeat ?

--



reply