[Nuxeo-tickets] [Nuxeo Repository] #1630: KeyError 'Value' in widget_autocompletion_string_render.pt

Nuxeo Repository trac at nuxeo.com
Tue May 2 11:24:00 CEST 2006


#1630: KeyError 'Value' in widget_autocompletion_string_render.pt
------------------------+---------------------------------------------------
       Id:  1630        |      Status:  new                     
Component:  CPSSchemas  |    Modified:  Tue May  2 11:24:00 2006
 Severity:  major       |   Milestone:  CPS 3.2.5               
 Priority:  P1          |     Version:  TRUNK                   
    Owner:  fguillaume  |    Reporter:  tracguest               
------------------------+---------------------------------------------------
 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/w__Nom>,
  'default': <Products.PageTemplates.TALES.Default instance at 0x017440F8>,
  'here': <CPSAutocompletionStringWidget at
 /cps/portal_layouts/simpletype_Projet_1/w__Nom>,
  'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x047217D8>,
  'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
 instance at 0x01732670>,
  'nothing': None,
  'options': {'args': (),
              'html_widget_id': 'widget__Nom',
              '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/w__Nom>,
  'traverse_subpath': [],
  'user': <User 'admin'>}

-- 
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1630>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository


More information about the Nuxeo-tickets 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.