Commit 3ad81735 authored by Nicolas Delaby's avatar Nicolas Delaby

hidden value is not integer type

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24490 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d86c7f67
...@@ -690,7 +690,7 @@ def SingleItemsWidget_render_view(self, field, value, REQUEST=None, render_prefi ...@@ -690,7 +690,7 @@ def SingleItemsWidget_render_view(self, field, value, REQUEST=None, render_prefi
def RadioWidget_render(self, field, key, value, REQUEST, render_prefix=None): def RadioWidget_render(self, field, key, value, REQUEST, render_prefix=None):
input_hidden = render_element('input', type='hidden', input_hidden = render_element('input', type='hidden',
name="default_%s:int" % (key, ), value="") name="default_%s" % (key, ), value="")
rendered_items = self.render_items(field, key, value, REQUEST) rendered_items = self.render_items(field, key, value, REQUEST)
rendered_items.append(input_hidden) rendered_items.append(input_hidden)
orientation = field.get_value('orientation') orientation = field.get_value('orientation')
......
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