[Zope3-dev] What replaces EnumeratedTextLine now?
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Apr 26 18:14:40 EDT 2004
On Monday 26 April 2004 18:08, Scott A. Pascoe wrote:
> currentDisplayId = EnumeratedTextLine(
> title=_('Default Size'),
> description=_('The defualt size of the photo(s).'),
> allowed_values=dispIds,
> default=u'medium',
> required=True
> )
>
> What would I replace the EnumeratedTextLine with?
Use
currentDisplayId = Choice(
title=_('Default Size'),
description=_('The defualt size of the photo(s).'),
values=dispIds,
default=u'medium',
required=True
)
That's it.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-dev
mailing list