Commit fab37d81 authored by Nicolas Delaby's avatar Nicolas Delaby

Force inheritence of render_odt and render_odt_view from ListWidget


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32850 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 68c537a0
# -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# Copyright (c) 2005, 2006 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2005, 2006 Nexedi SARL and Contributors. All Rights Reserved.
...@@ -152,6 +153,24 @@ class ParallelListWidget(Widget.MultiListWidget, ...@@ -152,6 +153,24 @@ class ParallelListWidget(Widget.MultiListWidget,
REQUEST.set(KEYWORD % parameter, MARKER) REQUEST.set(KEYWORD % parameter, MARKER)
return result return result
def render_odt(self, field, value, as_string, ooo_builder, REQUEST,
render_prefix, attr_dict, local_name):
"""
"""
return Widget.ListWidget.render_odt(self, field, value, as_string,
ooo_builder, REQUEST, render_prefix,
attr_dict, local_name)
def render_odt_view(self, field, value, as_string, ooo_builder, REQUEST,
render_prefix, attr_dict, local_name):
"""
"""
return Widget.ListWidget.render_odt_view(self, field, value, as_string,
ooo_builder, REQUEST,
render_prefix, attr_dict,
local_name)
class ParallelListValidator(Validator.MultiSelectionValidator): class ParallelListValidator(Validator.MultiSelectionValidator):
property_names = Validator.MultiSelectionValidator.property_names property_names = Validator.MultiSelectionValidator.property_names
......
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