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

  <c:if test="#{widget.mode != 'edit'}">

    <h:outputText value="#{field_0}" />

  </c:if>

  <c:if test="#{widget.mode == 'edit'}">

    <h:selectOneListbox value="#{field_0}"
      id="#{widget.id}_select" styleClass="dataInputText"
      required="#{widget.properties['required']}">
      <f:selectItem itemValue="wiki" itemLabel="#{messages['label.wiki']}" />
      <f:selectItem itemValue="blog" itemLabel="#{messages['label.blog']}" />
      <f:selectItem itemValue="site" itemLabel="#{messages['label.minisite']}" /><commit_msg>fix wrong namespace in xhtml<commit_after><f:subview xmlns:f="http://java.sun.com/jsf/core"
  xmlns:c="http://java.sun.com/jstl/core"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
  xmlns:nxu="http://nuxeo.org/nxweb/util"
  xmlns:nxdir="http://nuxeo.org/nxdirectory"
  xmlns:nxl="http://nuxeo.org/nxforms/layout" id="#{widget.id}">

  <c:if test="#{widget.mode != 'edit'}">

    <h:outputText value="#{field_0}" />

  </c:if>

  <c:if test="#{widget.mode == 'edit'}">

    <h:selectOneListbox value="#{field_0}"
      id="#{widget.id}_select" styleClass="dataInputText"
      required="#{widget.properties['required']}">
      <f:selectItem itemValue="wiki" itemLabel="#{messages['label.wiki']}" />
      <f:selectItem itemValue="blog" itemLabel="#{messages['label.blog']}" />
      <f:selectItem itemValue="site" itemLabel="#{messages['label.minisite']}" />
{'fraction_non_alphanumeric': 0.23615635179153094, 'fraction_numerical': 0.004343105320304018, 'mean_word_length': 4.907051282051282, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 15}, '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': '2773917', 'n_tokens_mistral': 728, 'n_tokens_neox': 707, 'n_words': 69}