<div id="RTEContent"><span style="font-weight: bold;">&nbsp;Hi!</span><br style="font-weight: bold;"> <span style="font-weight: bold;">I'm tryng to create in Zope3 a "select tag" with this code:</span><br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; voc=SimpleVocabulary.fromValues(<span style="font-weight: bold;">lst</span>)<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; repository_choice=Choice(title=u'Repository',<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; vocabulary='voc')<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; repository_list=List(__name__='replist', title=u'Repositories',<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; description=u'The repositories',<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; value_type=repository_choice)<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; field = Int(__name__='numero', title=u'Numero',
 min=0, max=10)<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; request = TestRequest(form={'repository_list.replist': u'9'})<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; widget = SelectWidget(repository_list, request)<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; widget.hasInput()<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; widget.getInputValue()<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; a= widget().replace(' ', '\n&nbsp; ')<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; print a<br> <br> <span style="font-weight: bold;">n.b. lst</span> is a generic list<br> <br> but it take this error:<br> <h5>__init__() takes exactly 4 arguments (3 given)</h5> How i correct this code?<br> And, where i can find a <span style="font-weight: bold;">GOOD</span> document for using widget? Zope3 book is very bad...<br> Please help me<br> </div><p>
                <hr size=1><font face="Arial" size="2"><a href="http://us.rd.yahoo.com/mail_it/taglines/*http://it.mail.yahoo.com"><b>Yahoo! Mail</b></a>: gratis 1GB per i messaggi, antispam, antivirus, POP3</font>