Commit 87d4d516 authored by Jérome Perrin's avatar Jérome Perrin

notify the perisistence system of changes in subobjects by a dummy class variable affectation.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4337 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ed35922a
......@@ -475,7 +475,9 @@ class PDFForm(File):
%(cell_name, `TALES`))
raise ValueError, 'TALES must be a string'
self.all_cells[str(cell_name)] = self.cells[str(cell_name)] = TALES
# invalidate for persistence
self.all_cells = self.all_cells
security.declareProtected(Permissions.View, 'getCellTALES')
def getCellTALES(self, cell_name):
""" returns the TALES expression associated with this cell """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment