Commit b7eccd9b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* apply r.22691

> Now is possible to define a set of listboxes that will used in dialog mode. This allow the user chooser (if len > 1) which listbox columns/search, he prefer use to find a certain object.
> The approach is diferent of relation_form and define columns but still compatible with previous implementation. If the [multi]relation fields are not RECONFIGURED, the previous behaviour will still working.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25399 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dc3cff15
...@@ -100,6 +100,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -100,6 +100,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
i18n:translate="" i18n:domain="ui">Go</span>\n i18n:translate="" i18n:domain="ui">Go</span>\n
</button>\n </button>\n
</div>\n </div>\n
<tal:block metal:define-macro="content">\n
<div class="content"\n <div class="content"\n
tal:define="group_list python: form.Form_getGroupTitleAndId();\n tal:define="group_list python: form.Form_getGroupTitleAndId();\n
gid_list python: \' \'.join([x[\'gid\'] for x in group_list if x not in (\'bottom\', \'hidden\')]);">\n gid_list python: \' \'.join([x[\'gid\'] for x in group_list if x not in (\'bottom\', \'hidden\')]);">\n
...@@ -118,9 +119,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -118,9 +119,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
</tal:block>\n </tal:block>\n
<p class="clear"></p>\n <p class="clear"></p>\n
</div>\n </div>\n
</tal:block>\n
</div>\n </div>\n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
<tal:block metal:define-macro="bottom">\n
<tal:block metal:fill-slot="bottom">\n <tal:block metal:fill-slot="bottom">\n
<tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n <tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n
dummy python: request.set(\'here\', here);\n dummy python: request.set(\'here\', here);\n
...@@ -134,6 +137,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -134,6 +137,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
</div>\n </div>\n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
</tal:block>\n
</tal:block>\n </tal:block>\n
</div>\n </div>\n
</tal:block>\n </tal:block>\n
......
34 35
\ 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