[CPS-devel] Two questions about widgets...

Anahide Tchertchian at at nuxeo.com
Tue Feb 14 13:12:59 CET 2006


bruno desthuilliers a écrit :
> 2/ I have what I thought would be a common use case : for a given (CPS
> String) field, propose the user a selection list *and* a text input for
> values that are not in the list. But I failed to find a widget doing
> this. Does such a beast exist ? Or is this problem best solved by using
> two widgets (a selection and a string widget) and using write expression
> to retrieve the value from the appropriate widget ?

Hi, yes it exists, but not quite like you describe it.
Try out the "Generic Select Widget", you'll have to use radio buttons 
for the render format (not coded for a select), and set the property 
"Provide an 'other' option" to True.
Cheers,
anahide.


More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.