Erik Enge wrote:

> Hiya.
> 
> variable:tokens
> 
> is a bit fubar.  If I raise it on the next page it says stuff like 
> 
>       ['item', 'item1', 'item', 'item']
> 
> ie. it repeats some of the items in variable for no apparent
> reason (variable contains only 'item' and 'item1').  Also, if I do:
> 
>  <input type="hidden" name="variable2:tokens" value="
>    <dtml-in variable><dtml-var "_['sequence-item']"> </dtml-in>">
> 
> and raise variable2 on the "next page" it says:
> 
>       ['item', ['item1']]

> Is it just my installation?  Zope 2.3.1b1 on Linux 2.4.1 with python
> 1.5.2.  If need be I can do a thorougher report and possibly a patch, but
> not till later this week I'm afraid.

I just tried to reproduce this with 2.3 from CVS.
Here's the DTML Method I used:


<html>
<body>
  <form>
  <dtml-let t="REQUEST.get('t', ['nothing'])">
    <input name="t:tokens" value="<dtml-var "_.string.join(t, ' ')">">
  </dtml-let>
  </form>
</body>
</html>

It all works as I expect; no problems.

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to