<commit_before><div xmlns:h="http://java.sun.com/jsf/html"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:c="http://java.sun.com/jstl/core"
  xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:nxu="http://nuxeo.org/nxweb/util"
  class="menu">

<div class="userClipboard">
<a4j:region renderRegionOnly="true" id="userClipboard_ajaxRegion">
  <a4j:outputPanel ajaxRendered="true" id="MultiTreeView">

    <div class="tabsBar">
      <h:form>
        <nxu:dataList var="tree" layout="unorderedList"
          value="#{multiNavTreeManager.availableNavigationTrees}"
          itemStyleClass="#{nxu:test(multiNavTreeManager.selectedNavigationTree == tree.treeId, 'selected', '')}">
          <a4j:commandLink
            action="#{multiNavTreeManager.setSelectedNavigationTree(tree.treeId)}"
            reRender="MultiTreeView">
            <nxu:graphicImage value="img/#{tree.treeId}.png" title="#{messages[docList.title]}" />
          </a4j:commandLink>
         </nxu:dataList>
      </h:form>
    </div>
    <div style="clear:both" />

    <div class="userClipboardContent">
      <h:panelGroup rendered="#{multiNavTreeManager.selectedNavigationTree == 'CONTENT_TREE'}">
        <ui:include src="/incl/tree_explorer.xhtml"/><commit_msg>NXP-3984: avoid re-rendering left tree on ajax calls because it leads to javascript errors when uploading files using the richfaces upload component<commit_after><div xmlns:h="http://java.sun.com/jsf/html"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:c="http://java.sun.com/jstl/core"
  xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:nxu="http://nuxeo.org/nxweb/util"
  class="menu">

<div class="userClipboard">
<a4j:region renderRegionOnly="true" id="userClipboard_ajaxRegion">
  <a4j:outputPanel ajaxRendered="false" id="MultiTreeView">

    <div class="tabsBar">
      <h:form>
        <nxu:dataList var="tree" layout="unorderedList"
          value="#{multiNavTreeManager.availableNavigationTrees}"
          itemStyleClass="#{nxu:test(multiNavTreeManager.selectedNavigationTree == tree.treeId, 'selected', '')}">
          <a4j:commandLink
            action="#{multiNavTreeManager.setSelectedNavigationTree(tree.treeId)}"
            reRender="MultiTreeView">
            <nxu:graphicImage value="img/#{tree.treeId}.png" title="#{messages[docList.title]}" />
          </a4j:commandLink>
         </nxu:dataList>
      </h:form>
    </div>
    <div style="clear:both" />

    <div class="userClipboardContent">
      <h:panelGroup rendered="#{multiNavTreeManager.selectedNavigationTree == 'CONTENT_TREE'}">
        <ui:include src="/incl/tree_explorer.xhtml"/>
{'fraction_non_alphanumeric': 0.16912306558585113, 'fraction_numerical': 0.0058953574060427415, 'mean_word_length': 4.065298507462686, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '1226324', 'n_tokens_mistral': 932, 'n_tokens_neox': 916, 'n_words': 110}