Hello hi,

Two questions about widgets and layouts and schemas...

1/ I have a member schema with 3 "custom" zones (CPS String fields). I'd
like to use portal properties to set the labels of the corresponding
widgets (String widgets or like), so the portal admin can set whatever
label pleases him. Is there an easy way to do so ? I failed to
understand exactly how a string widget is rendered (didn't found a .pt,
and the render() method of string widget seems to only care about the
content, not the label... or did I miss something ?)

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 ?

TIA
-- 
bruno desthuilliers
développeur
[EMAIL PROTECTED]
http://www.modulix.com
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to