web/views/cwproperties.py
changeset 4265 0912f111b028
parent 4259 83b0bf9b0a51
child 4360 5fdb9da1fab0
equal deleted inserted replaced
4264:273307c54b4d 4265:0912f111b028
   186             entity['pkey'] = key
   186             entity['pkey'] = key
   187             entity['value'] = self._cw.vreg.property_value(key)
   187             entity['value'] = self._cw.vreg.property_value(key)
   188         return entity
   188         return entity
   189 
   189 
   190     def form(self, formid, keys, splitlabel=False):
   190     def form(self, formid, keys, splitlabel=False):
   191         form = self.vreg['forms'].select(
   191         form = self._cw.vreg['forms'].select(
   192             'composite', self.req, domid=formid, action=self.build_url(),
   192             'composite', self._cw, domid=formid, action=self._cw.build_url(),
   193             form_buttons=self.form_buttons,
   193             form_buttons=self.form_buttons,
   194             onsubmit="return validatePrefsForm('%s')" % formid,
   194             onsubmit="return validatePrefsForm('%s')" % formid,
   195             submitmsg=self._cw._('changes applied'))
   195             submitmsg=self._cw._('changes applied'))
   196         path = self._cw.relative_path()
   196         path = self._cw.relative_path()
   197         if '?' in path:
   197         if '?' in path: