<commit_before><f:subview
  xmlns:c="http://java.sun.com/jstl/core"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:nxl="http://nuxeo.org/nxforms/layout"
  xmlns:nxu="http://nuxeo.org/nxweb/util"
  xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
  id="#{widget.id}">

<a4j:region renderRegionOnly="true">

    <a4j:outputPanel layout="block" id="#{widget.id}_panel" layout="block">
      <table class="listShuttleTable">
        <tbody>
          <tr>
            <th>
              <h:outputText value="#{messages['label.local.configuration.selection.availableUITypes']}" />
            </th>
            <th>
            </th>
            <th>
              <h:outputText value="#{messages['label.local.configuration.selection.selectedUITypes']}" />
            </th>
          </tr>
          <tr>
            <td class="listShuttleSelectElements">
              <h:selectManyListbox id="#{widget.id}_sourceSelect"
                size="5"
                styleClass="listShuttleSelect">
                <nxu:selectItems
                  value="#{typesConfigurationActions.getNotSelectedTypes(layoutValue)}"
                  var="type"
                  itemValue="#{type.id}"
                  itemLabel="#{messages[type.label]}"
                  ordering="label" caseSensitive="true"
                  id="#{widget.id}_sourceItems" />
              </h:selectManyListbox>
              <h:message styleClass="errorMessage" for="#{widget.id}_sourceSelect"/>
            </td>
            <td class="listShuttleSelectionActions">
              <a4j:commandLink bypassUpdates="true"
                actionListener="#{selectionActions.removeFromSelection}"
                id="#{widget.id}_removeFormSelection"
                reRender="#{widget.id}_panel"
                ignoreDupResponses="true">
                <f:param name="leftSelect" value="#{widget.id}_sourceSelect"/>
                <f:param name="leftItems" value="#{widget.id}_sourceItems"/>
                <f:param name="rightSelect" value="#{widget.id}_targetSelect"/>
                <f:param name="rightItems" value="#{widget.id}_targetItems"/>
                <f:param name="submittedList" value="#{widget.id}_hiddenTargetList"/>
                <nxu:graphicImage value="/icons/move_left.png"
                  alt="#{messages['command.selection.remove']}"
                  title="#{messages['command.selection.remove']}"/>
              </a4j:commandLink>
              <a4j:commandLink bypassUpdates="true"
                actionListener="#{selectionActions.addToSelection}"
                id="#{widget.id}_addToSelection"
                reRender="#{widget.id}_panel"
                ignoreDupResponses="true">
                <f:param name="leftSelect" value="#{widget.id}_sourceSelect"/>
                <f:param name="leftItems" value="#{widget.id}_sourceItems"/>
                <f:param name="rightSelect" value="#{widget.id}_targetSelect"/>
                <f:param name="rightItems" value="#{widget.id}_targetItems"/>
                <f:param name="submittedList" value="#{widget.id}_hiddenTargetList"/>
                <nxu:graphicImage value="/icons/move_right.png"
                  alt="#{messages['command.selection.add']}"
                  title="#{messages['command.selection.add']}"/>
              </a4j:commandLink>
              <a4j:commandLink bypassUpdates="true"
                actionListener="#{selectionActions.addAllToSelection}"
                id="#{widget.id}_addAllToSelection"
                reRender="#{widget.id}_panel"
                ignoreDupResponses="true">
                <f:param name="leftSelect" value="#{widget.id}_sourceSelect"/>
                <f:param name="leftItems" value="#{widget.id}_sourceItems"/>
                <f:param name="rightSelect" value="#{widget.id}_targetSelect"/>
                <f:param name="rightItems" value="#{widget.id}_targetItems"/>
                <f:param name="submittedList" value="#{widget.id}_hiddenTargetList"/>
                <nxu:graphicImage value="/icons/move_all_right.png"
                  alt="#{messages['command.selection.addAll']}"
                  title="#{messages['command.selection.addAll']}"/>
              </a4j:commandLink>
              <a4j:commandLink bypassUpdates="true"
                actionListener="#{selectionActions.removeAllFromSelection}"
                id="#{widget.id}_removeAllFromSelection"
                reRender="#{widget.id}_panel"
                ignoreDupResponses="true">
                <f:param name="leftSelect" value="#{widget.id}_sourceSelect"/>
                <f:param name="leftItems" value="#{widget.id}_sourceItems"/>
                <f:param name="rightSelect" value="#{widget.id}_targetSelect"/>
                <f:param name="rightItems" value="#{widget.id}_targetItems"/>
                <f:param name="submittedList" value="#{widget.id}_hiddenTargetList"/>
                <nxu:graphicImage value="/icons/move_all_left.png"
                  alt="#{messages['command.selection.removeAll']}"
                  title="#{messages['command.selection.removeAll']}"/>
              </a4j:commandLink>
            </td>
            <td class="listShuttleSelectElements">
              <div>
                <h:outputText value="#{messages[layoutProperty_selectedElementsHelp]}" />
              </div>
              <h:selectManyListbox id="#{widget.id}_targetSelect"
                size="5"
                styleClass="listShuttleSelect">
                <nxu:selectItems
                  value="#{typesConfigurationActions.getSelectedTypes(layoutValue)}"
                  var="type"
                  itemValue="#{type.id}"
                  itemLabel="#{messages[type.label]}"
                  id="#{widget.id}_targetItems" />
              </h:selectManyListbox>
              <h:message styleClass="errorMessage"
                for="#{widget.id}_targetSelect"/>
              <nxu:inputList id="#{widget.id}_hiddenTargetList"
                model="model" diff="false" value="#{field_0}" />
              <h:message styleClass="errorMessage" for="#{widget.id}_hiddenTargetList"/>
            </td>
          </tr>
        </tbody>
      </table>
    </a4j:outputPanel>

  </a4j:region>
</f:subview>
<commit_msg>NXP-11472: remove duplicate 'layout' attribute<commit_after><f:subview
  xmlns:c="http://java.sun.com/jstl/core"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:nxl="http://nuxeo.org/nxforms/layout"
  xmlns:nxu="http://nuxeo.org/nxweb/util"
  xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
  id="#{widget.id}">

<a4j:region renderRegionOnly="true">

    <a4j:outputPanel id="#{widget.id}_panel" layout="block">
      <table class="listShuttleTable">
        <tbody>
          <tr>
            <th>
              <h:outputText value="#{messages['label.local.configuration.selection.availableUITypes']}" />
            </th>
            <th>
            </th>
            <th>
              <h:outputText value="#{messages['label.local.configuration.selection.selectedUITypes']}" />
            </th>
          </tr>
          <tr>
            <td class="listShuttleSelectElements">
              <h:selectManyListbox id="#{widget.id}_sourceSelect"
                size="5"
                styleClass="listShuttleSelect">
                <nxu:selectItems
                  value="#{typesConfigurationActions.getNotSelectedTypes(layoutValue)}"
                  var="type"
                  itemValue="#{type.id}"
                  itemLabel="#{messages[type.label]}"
                  ordering="label" caseSensitive="true"
                  id="#{widget.id}_sourceItems" />
              </h:selectManyListbox>
              <h:message styleClass="errorMessage" for="#{widget.id}_sourceSelect"/>
            </td>
            <td class="listShuttleSelectionActions">
              <a4j:commandLink bypassUpdates="true"
                actionListener="#{selectionActions.removeFromSelection}"
                id="#{widget.id}_removeFormSelection"
                reRender="#{widget.id}_panel"
                ignoreDupResponses="true">
                <f:param name="leftSelect" value="#{widget.id}_sourceSelect"/>
                <f:param name="leftItems" value="#{widget.id}_sourceItems"/>
                <f:param name="rightSelect" value="#{widget.id}_targetSelect"/>
                <f:param name="rightItems" value="#{widget.id}_targetItems"/>
                <f:param name="submittedList" value="#{widget.id}_hiddenTargetList"/>
                <nxu:graphicImage value="/icons/move_left.png"
                  alt="#{messages['command.selection.remove']}"
                  title="#{messages['command.selection.remove']}"/>
              </a4j:commandLink>
              <a4j:commandLink bypassUpdates="true"
                actionListener="#{selectionActions.addToSelection}"
                id="#{widget.id}_addToSelection"
                reRender="#{widget.id}_panel"
                ignoreDupResponses="true">
                <f:param name="leftSelect" value="#{widget.id}_sourceSelect"/>
                <f:param name="leftItems" value="#{widget.id}_sourceItems"/>
                <f:param name="rightSelect" value="#{widget.id}_targetSelect"/>
                <f:param name="rightItems" value="#{widget.id}_targetItems"/>
                <f:param name="submittedList" value="#{widget.id}_hiddenTargetList"/>
                <nxu:graphicImage value="/icons/move_right.png"
                  alt="#{messages['command.selection.add']}"
                  title="#{messages['command.selection.add']}"/>
              </a4j:commandLink>
              <a4j:commandLink bypassUpdates="true"
                actionListener="#{selectionActions.addAllToSelection}"
                id="#{widget.id}_addAllToSelection"
                reRender="#{widget.id}_panel"
                ignoreDupResponses="true">
                <f:param name="leftSelect" value="#{widget.id}_sourceSelect"/>
                <f:param name="leftItems" value="#{widget.id}_sourceItems"/>
                <f:param name="rightSelect" value="#{widget.id}_targetSelect"/>
                <f:param name="rightItems" value="#{widget.id}_targetItems"/>
                <f:param name="submittedList" value="#{widget.id}_hiddenTargetList"/>
                <nxu:graphicImage value="/icons/move_all_right.png"
                  alt="#{messages['command.selection.addAll']}"
                  title="#{messages['command.selection.addAll']}"/>
              </a4j:commandLink>
              <a4j:commandLink bypassUpdates="true"
                actionListener="#{selectionActions.removeAllFromSelection}"
                id="#{widget.id}_removeAllFromSelection"
                reRender="#{widget.id}_panel"
                ignoreDupResponses="true">
                <f:param name="leftSelect" value="#{widget.id}_sourceSelect"/>
                <f:param name="leftItems" value="#{widget.id}_sourceItems"/>
                <f:param name="rightSelect" value="#{widget.id}_targetSelect"/>
                <f:param name="rightItems" value="#{widget.id}_targetItems"/>
                <f:param name="submittedList" value="#{widget.id}_hiddenTargetList"/>
                <nxu:graphicImage value="/icons/move_all_left.png"
                  alt="#{messages['command.selection.removeAll']}"
                  title="#{messages['command.selection.removeAll']}"/>
              </a4j:commandLink>
            </td>
            <td class="listShuttleSelectElements">
              <div>
                <h:outputText value="#{messages[layoutProperty_selectedElementsHelp]}" />
              </div>
              <h:selectManyListbox id="#{widget.id}_targetSelect"
                size="5"
                styleClass="listShuttleSelect">
                <nxu:selectItems
                  value="#{typesConfigurationActions.getSelectedTypes(layoutValue)}"
                  var="type"
                  itemValue="#{type.id}"
                  itemLabel="#{messages[type.label]}"
                  id="#{widget.id}_targetItems" />
              </h:selectManyListbox>
              <h:message styleClass="errorMessage"
                for="#{widget.id}_targetSelect"/>
              <nxu:inputList id="#{widget.id}_hiddenTargetList"
                model="model" diff="false" value="#{field_0}" />
              <h:message styleClass="errorMessage" for="#{widget.id}_hiddenTargetList"/>
            </td>
          </tr>
        </tbody>
      </table>
    </a4j:outputPanel>

  </a4j:region>
</f:subview>

{'fraction_non_alphanumeric': 0.15379113018597998, 'fraction_numerical': 0.003099666189794945, 'mean_word_length': 2.121557926072935, 'pattern_counts': {'":': 0, '<': 149, '<?xml version=': 0, '>': 149, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2150753', 'n_tokens_mistral': 3574, 'n_tokens_neox': 3405, 'n_words': 385}