hi,

in a pythonscript I am using portal_layouts.renderLayout like so:

res,psm,ds = lt.renderLayout(layout_id='faculty_row',
                      schema_id = 'faculty',
                      context=context,
                      mapping=validate and request,
                      ob={},
                      layout_mode='edit',
                      formaction = "academics_view",
                      items = faculties,
                      )
this fails with a key-error 'Title', on the faculty schema. This is correct, cause Title is defined in the schema 'common', do I really have to define a new schema ?

cheers Joachim





--
Mit freundlichen Grüßen                                Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163


_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to