<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <tuple>
        <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
        <tuple/>
      </tuple>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>__ac_local_roles__</string> </key>
            <value>
              <none/>
            </value>
        </item>
        <item>
            <key> <string>_bind_names</string> </key>
            <value>
              <object>
                <klass>
                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
                </klass>
                <tuple/>
                <state>
                  <dictionary>
                    <item>
                        <key> <string>_asgns</string> </key>
                        <value>
                          <dictionary>
                            <item>
                                <key> <string>name_subpath</string> </key>
                                <value> <string>traverse_subpath</string> </value>
                            </item>
                          </dictionary>
                        </value>
                    </item>
                  </dictionary>
                </state>
              </object>
            </value>
        </item>
        <item>
            <key> <string>_owner</string> </key>
            <value>
              <none/>
            </value>
        </item>
        <item>
            <key> <string>_text</string> </key>
            <value> <string encoding="cdata"><![CDATA[

<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
           xmlns:metal="http://xml.zope.org/namespaces/metal"\n
           xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n
  <tal:block metal:define-macro="master">\n
    <tal:block metal:use-macro="here/dialog_main/macros/master">\n
      <tal:block metal:fill-slot="main">\n
        <div class="dialog_box">\n
          <tal:block tal:condition="preferred_html_style_developper_mode">\n
            <tal:block metal:use-macro="developper_shortcut_render/macros/form" />\n
          </tal:block>\n
          <table tal:define="selection_name request/selection_name;\n
                 base_form python: getattr(here, request[\'form_id\']);\n
                 groups base_form/get_groups;\n
                 listbox python: base_form.Form_getListbox();\n
                 default_columns python: listbox.get_value(\'columns\');\n
                 columns python: here.portal_selections.getSelectionColumns(selection_name, REQUEST=request, columns=default_columns);\n
                 selected_stats  python: here.portal_selections.getSelectionStats(selection_name, REQUEST=request);\n
                 global row_index python: 0;\n
                 global row_keys python: [\'None\'];\n
                 global stats python: [\' \',\'count\',\'sum\',\'max\',\'min\',\'avg\'];\n
                 all_columns python: listbox.get_value(\'all_columns\')">\n
            <tal:block tal:repeat="item columns">\n
              <tr tal:define="global row_index python:row_index+1;\n
                  dummy python:row_keys.append(item[0])"\n
                  tal:attributes="id string:column_${row_index}">\n
                <td>\n
                  <tal:block i18n:translate="" i18n:domain="ui">Column</tal:block>\n
                  <tal:block tal:replace="row_index" />\n
                </td>\n
                <td>\n
                  <select name="field_columns">\n
                    <tal:block tal:repeat="option python: [(\'None\',\'None\')] + all_columns">\n
                      <option tal:content="python: option[1]"\n
                              tal:attributes="value python:option[0];\n
                              selected python: option[0]==item[0] and \'selected\' or nothing"\n
                              i18n:translate="" i18n:domain="ui" />\n
                    </tal:block>\n
                  </select>\n
                </td>\n
                <td>\n
                  <select name="stat_columns">\n
                    <tal:block tal:repeat="stat stats">\n
                      <option tal:content="stat"\n
                              tal:attributes="value stat;\n
                              selected python: (len(selected_stats) >= row_index and stat == selected_stats[row_index - 1]) and \'selected\' or nothing"\n
                        i18n:translate="" i18n:domain="ui" />\n
                    </tal:block>\n
                  </select>\n
                </td>\n
              </tr>\n
            </tal:block>\n
            <tal:block tal:repeat="item all_columns">\n
              <tal:block tal:condition="python: item[0] not in row_keys">\n
                <tr tal:define="global row_index python:row_index+1"\n
                    tal:attributes="id string:column_${row_index}">\n
                  <td>\n
                    <tal:block i18n:translate="" i18n:domain="ui">Column</tal:block>\n
                    <tal:block tal:replace="row_index" />\n
                  </td>\n
                  <td>\n
                    <select name="field_columns">\n
                      <option selected="selected"\n
                              value="None"\n
                              i18n:translate="" i18n:domain="ui">\n
                        \n
                      </option>\n
                      <option tal:repeat="option all_columns"\n
                              tal:content="python:option[1]"\n
                              tal:attributes="value python:option[0]"\n
                              i18n:translate="" i18n:domain="ui" />\n
                    </select>\n
                  </td>\n
                  <td>\n
                    <select name="stat_columns">\n
                      <tal:block tal:repeat="stat stats">\n
                        <option tal:content="stat"\n
                                tal:attributes="value stat;\n
                                selected python: len(selected_stats) >= row_index and stat == selected_stats[row_index - 1] and \'selected or nothing\'"\n
                          i18n:translate="" i18n:domain="ui" />\n
                      </tal:block>\n
                    </select>\n
                  </td>\n
                </tr>\n
              </tal:block>\n
            </tal:block>\n
          </table>\n
        </div>\n
      </tal:block>\n
    </tal:block>\n
  </tal:block>\n
</tal:block>\n


]]></string> </value>
        </item>
        <item>
            <key> <string>content_type</string> </key>
            <value> <string>text/html</string> </value>
        </item>
        <item>
            <key> <string>expand</string> </key>
            <value> <int>0</int> </value>
        </item>
        <item>
            <key> <string>id</string> </key>
            <value> <string>configure_list_dialog</string> </value>
        </item>
        <item>
            <key> <string>title</string> </key>
            <value> <string></string> </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
