Using an Autocompletion widget with a new Type created with TypeMaker?,
when we want to view an object of this type, a keyError value is raised.
In the zpt file,
'<input type="text" tal:attributes="id id;name id;size size;value value"/>'
should be
'<input type="text" tal:attributes="id id;name id;size size;value options/value"/>'
URL: file:CPSSchemas/skins/cps_schemas/widget_autocompletion_string_render.pt
Line 7, Column 4
Expression: standard:'value'
Names:
{'container': <CPSDefaultSite at /cps>,
'context': <CPSAutocompletionStringWidget at /cps/portal_layouts/simpletype_Projet_1/wNom>,
'default': <Products.PageTemplates?.TALES.Default instance at 0x017440F8>,
'here': <CPSAutocompletionStringWidget at /cps/portal_layouts/simpletype_Projet_1/wNom>,
'loop': <Products.PageTemplates?.TALES.SafeMapping? object at 0x047217D8>,
'modules': <Products.PageTemplates?.ZRPythonExpr._SecureModuleImporter instance at 0x01732670>,
'nothing': None,
'options': {'args': (),
'html_widget_id': 'widgetNom',
'mode': 'view',
'server_method': ,
'size': 20,
'value': 'sdfd',
'widget_id': 'Nom'},
'repeat': <Products.PageTemplates?.TALES.SafeMapping? object at 0x047217D8>,
'request': <HTTPRequest, URL=http://localhost:8080/cps/workspaces/ezzezet/cpsdocument_view>,
'root': <Application at >,
'template': <FSPageTemplate at /cps/widget_autocompletion_string_render used for /cps/portal_layouts/simpletype_Projet_1/wNom>,
'traverse_subpath': [],
'user': <User 'admin'>}