Commit ad021b18 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

2009-01-15 Kazuhiko

* apply r.22004 (Transmit defined render_prefix, or None if it was not defined.)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25119 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3faaeeed
...@@ -9,12 +9,6 @@ ...@@ -9,12 +9,6 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_bind_names</string> </key> <key> <string>_bind_names</string> </key>
<value> <value>
...@@ -73,11 +67,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -73,11 +67,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<tal:block tal:condition="python: field.meta_type != \'HiddenStringField\'"\n <tal:block tal:condition="python: field.meta_type != \'HiddenStringField\'"\n
tal:define="field_id field/id;\n tal:define="field_id field/id;\n
value python: request.get(field_id, None);\n value python: request.get(field_id, None);\n
render_prefix render_prefix | nothing;\n
field_errors python: request.get(\'field_errors\', {});\n field_errors python: request.get(\'field_errors\', {});\n
field_has_error python: field_errors.has_key(field_id);\n field_has_error python: field_errors.has_key(field_id);\n
global form_id form_id | python: form.id;\n global form_id form_id | python: form.id;\n
field_description field/Field_getDescription;">\n field_description field/Field_getDescription;">\n
<div tal:define="html_render python: field.render_htmlgrid(value, request)"\n <div tal:define="html_render python: field.render_htmlgrid(value, request, render_prefix=render_prefix)"\n
tal:attributes="title field_description;\n tal:attributes="title field_description;\n
class python: \' \'.join([x for x in [\'field\', field.is_required() and \'required\' or None, field_has_error and \'error\' or None, field.get_value(\'css_class\') or None] if x is not None])"\n class python: \' \'.join([x for x in [\'field\', field.is_required() and \'required\' or None, field_has_error and \'error\' or None, field.get_value(\'css_class\') or None] if x is not None])"\n
i18n:attributes="title" i18n:domain="ui">\n i18n:attributes="title" i18n:domain="ui">\n
......
29 30
\ No newline at end of file \ No newline at end of file
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