<div id="RTEContent"><span style="font-weight: bold;"> 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> voc=SimpleVocabulary.fromValues(<span style="font-weight: bold;">lst</span>)<br> repository_choice=Choice(title=u'Repository',<br> vocabulary='voc')<br> repository_list=List(__name__='replist', title=u'Repositories',<br> description=u'The repositories',<br> value_type=repository_choice)<br> field = Int(__name__='numero', title=u'Numero',
min=0, max=10)<br> request = TestRequest(form={'repository_list.replist': u'9'})<br> widget = SelectWidget(repository_list, request)<br> widget.hasInput()<br> widget.getInputValue()<br> a= widget().replace(' ', '\n ')<br> 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>