<commit_before><ui:composition
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:p="http://primefaces.org/ui"
    xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
    xmlns:jsf="http://xmlns.jcp.org/jsf"
    xmlns:pt="http://java.sun.com/jsf/passthrough"
    xmlns:cc="http://java.sun.com/jsf/composite"
    xmlns:o="http://omnifaces.org/ui"
    xmlns:iqbs="http://xmlns.jcp.org/jsf/composite/iqbs">
    
    <!-- Files Table -->
    <p:dataTable id="filesTable" 
                 scrollRows="25" scrollable="true" liveScroll="true"
                 scrollHeight="90%" scrollWidth="100%" style="margin-right:1px;"
                 value="#{DatasetPage.fileMetadatasSearch}"
                 rowIndexVar="rowNum" rowKey="#{fileMetadata.dataFile.storageIdentifier}"
                 selection="#{DatasetPage.selectedFiles}" var="fileMetadata" widgetVar="filesTable"
                 rendered="#{empty DatasetPage.editMode and (DatasetPage.workingVersion != null)}"
                 emptyMessage="#{bundle['file.notFound.tip']}">
        <p:ajax  event="toggleSelect" listener="#{DatasetPage.toggleAllSelected()}" /> 
        <p:ajax event="rowUnselectCheckbox" listener="#{DatasetPage.setSelectAllFiles(false)}" update="filesTable" process="@this" /><commit_msg>#4051 Add RowSelect event - which unselects the other rows<commit_after><ui:composition
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:p="http://primefaces.org/ui"
    xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
    xmlns:jsf="http://xmlns.jcp.org/jsf"
    xmlns:pt="http://java.sun.com/jsf/passthrough"
    xmlns:cc="http://java.sun.com/jsf/composite"
    xmlns:o="http://omnifaces.org/ui"
    xmlns:iqbs="http://xmlns.jcp.org/jsf/composite/iqbs">
    
    <!-- Files Table -->
    <p:dataTable id="filesTable" 
                 scrollRows="25" scrollable="true" liveScroll="true"
                 scrollHeight="90%" scrollWidth="100%" style="margin-right:1px;"
                 value="#{DatasetPage.fileMetadatasSearch}"
                 rowIndexVar="rowNum" rowKey="#{fileMetadata.dataFile.storageIdentifier}"
                 selection="#{DatasetPage.selectedFiles}" var="fileMetadata" widgetVar="filesTable"
                 rendered="#{empty DatasetPage.editMode and (DatasetPage.workingVersion != null)}"
                 emptyMessage="#{bundle['file.notFound.tip']}">
        <p:ajax  event="toggleSelect" listener="#{DatasetPage.toggleAllSelected()}" /> 
        <p:ajax event="rowUnselectCheckbox" listener="#{DatasetPage.setSelectAllFiles(false)}" update="filesTable" process="@this" />
        <p:ajax event="rowSelect" listener="#{DatasetPage.setSelectAllFiles(false)}" update="filesTable" process="@this" />
{'fraction_non_alphanumeric': 0.17993900372754998, 'fraction_numerical': 0.010166045408336157, 'mean_word_length': 3.412556053811659, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 28}, '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': '1768415', 'n_tokens_mistral': 1001, 'n_tokens_neox': 977, 'n_words': 97}