How could I alter the code of this method (from the
Book of Zope, p. 122) so as to add multiple users from a list?
Where I have 'abc' (adds one user abc) I want to
add more than one user simultaneously (abc, xyz etc.), all with the same PW,
role and domain.
I tried inserting <dtml-in
expr="['abc','xyz']"> where the 'abc' is and put </dtml-in> in the
second last line but that generated a Parse Error
<dtml-var
standard_html_header>
<h2><dtml-var
title_or_id></h2>
<dtml-call
expr="REQUEST.set('roles',['noRole'])">
<dtml-call
expr="REQUEST.set('name','abc')">
<dtml-call
expr="REQUEST.set('password','change')">
<dtml-call
expr="REQUEST.set('confirm','change')">
<dtml-call
expr="REQUEST.set('domains',[])">
<dtml-call
expr="acl_users.manage_users('Add',REQUEST,RESPONSE)">
The user
<dtml-var name="name"> has been added.
<dtml-var
standard_html_footer>
-- Bill