Affichage barre de progression et image en local lors de l'upload.
[Plinn.git] / skins / control / lazy_edit_metadata.py
1 ##parameters=
2 form = context.REQUEST.form.copy()
3 form.pop('ajax', None)
4 pathAndpropName, value = form.popitem()
5 path, propName = pathAndpropName.split('//')
6 ob = context.restrictedTraverse(path)
7 ob.editMetadata(**{propName:value})
8 return getattr(ob, propName)