<commit_before>###############################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
###############################################################################

# Enable HTML whitespace compression; deprecated: use output specific "compress" setting instead; see for example screen.compress
#compress.HTML=true

# Enable screen widget boundary comments.
# A setting of true will enable widget boundary comments. The true setting can be
# overridden in an application's web.xml file or in the screen rendering context.
# A setting of false will override all other settings and disable all widget
# boundary comments. 
widget.verbose=true

# Default number of items to be displayed per page in a list form
widget.form.defaultViewSize=20

# Default number of items to be displayed in lookup ajax autocompleter
widget.autocompleter.defaultViewSize=10

# Default minimum number of characters an user has to type before the ajax autocompleter activates (jQuery default is 1)
widget.autocompleter.defaultMinLength=2

# Default delay in milliseconds the Autocomplete waits after a keystroke to activate itself. A zero-delay makes sense for local data (more responsive), but can produce a lot of load for remote data, while being less responsive.
widget.autocompleter.defaultDelay=300

# Show/hide the ID field that is returned from ajax autocompleter
widget.autocompleter.displayReturnField=Y

# Show/hide description for lookup field
widget.lookup.showDescription=Y

# Default text find field's option
widget.form.defaultTextFindOption=contains

# Controls whether to display help text tooltips for form field titles
widget.form.displayhelpText=Y

# Controls the initial results display in Find screens. If set to Y, the
# search result list will be populated when the Find screen first appears.
# If set to N, the search result list will be empty when the Find screen
# first appears.
widget.defaultNoConditionFind=N

# Configurations for the Widget View Handlers implemented using the MacroScreenViewHandler
#
# html output
screen.name=html
screen.screenrenderer=component://widget/templates/htmlScreenMacroLibrary.ftl
screen.formrenderer=component://widget/templates/htmlFormMacroLibrary.ftl
screen.menurenderer=component://widget/templates/htmlMenuMacroLibrary.ftl
screen.treerenderer=component://widget/templates/htmlTreeMacroLibrary.ftl
screen.encoder=html
screen.compress=false
screen.default.contenttype=UTF-8
screen.default.encoding=none
# text output
screentext.name=text
screentext.screenrenderer=component://widget/templates/textScreenMacroLibrary.ftl
screentext.formrenderer=component://widget/templates/textFormMacroLibrary.ftl
screentext.treerenderer=component://widget/templates/textTreeMacroLibrary.ftl
screentext.default.contenttype=UTF-8
screentext.default.encoding=none
# xml output
screenxml.name=xml
screenxml.screenrenderer=component://widget/templates/xmlScreenMacroLibrary.ftl
screenxml.formrenderer=component://widget/templates/xmlFormMacroLibrary.ftl
screenxml.treerenderer=component://widget/templates/xmlTreeMacroLibrary.ftl
screenxml.encoder=xml
screenxml.default.contenttype=UTF-8
screenxml.default.encoding=none
# fo output
screenfop.name=xsl-fo
screenfop.screenrenderer=component://widget/templates/foScreenMacroLibrary.ftl
screenfop.formrenderer=component://widget/templates/foFormMacroLibrary.ftl
screenfop.treerenderer=component://widget/templates/foTreeMacroLibrary.ftl
screenfop.default.contenttype=application/pdf
screenfop.default.encoding=none
# csv output
screencsv.name=csv
screencsv.screenrenderer=component://widget/templates/csvScreenMacroLibrary.ftl
screencsv.formrenderer=component://widget/templates/csvFormMacroLibrary.ftl
screencsv.treerenderer=component://widget/templates/csvTreeMacroLibrary.ftl
screencsv.default.contenttype=UTF-8
screencsv.default.encoding=none


# Cato: per-renderer widget attribute defaults
# These override the *.xsd default where supported
# Mapped by renderer name (see above), with a fallback unspecific default available for
# all others or when not found (should be set here instead of xsd)
# if present for a renderer but empty, doesn't consult fallback. omit to use fallback. (only works for these properties; other logic null is non-meaningful)

# standard html defaults
widget.defs.form.hideHeaderWhen.default.html=
widget.defs.form.hideTableWhen.default.html=
widget.defs.form.useNoResultTextWhen.default.html=
widget.defs.form.noResultText.default.html=
widget.defs.form.noResultTextStyle.default.html=

# xsl-fo defaults
widget.defs.form.hideHeaderWhen.default.xsl-fo=
widget.defs.form.hideTableWhen.default.xsl-fo=
widget.defs.form.useNoResultTextWhen.default.xsl-fo=
widget.defs.form.noResultText.default.xsl-fo=
widget.defs.form.noResultTextStyle.default.xsl-fo=

# other defaults
widget.defs.form.hideHeaderWhen.default=
widget.defs.form.hideTableWhen.default=
widget.defs.form.useNoResultTextWhen.default=
widget.defs.form.noResultText.default=
widget.defs.form.noResultTextStyle.default=
<commit_msg>NoRef enabled global default hideTableWhen=list-empty for standard renderer and no result message, with a no records message shown instead of table when list empty. message not shown when list missing (unfortunately most cases list is always there so not that helpful, but works in some case). also enabled same settings for xsl-fo though not sure used anywhere. settings don't affect/break csv.<commit_after>###############################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
###############################################################################

# Enable HTML whitespace compression; deprecated: use output specific "compress" setting instead; see for example screen.compress
#compress.HTML=true

# Enable screen widget boundary comments.
# A setting of true will enable widget boundary comments. The true setting can be
# overridden in an application's web.xml file or in the screen rendering context.
# A setting of false will override all other settings and disable all widget
# boundary comments. 
widget.verbose=true

# Default number of items to be displayed per page in a list form
widget.form.defaultViewSize=20

# Default number of items to be displayed in lookup ajax autocompleter
widget.autocompleter.defaultViewSize=10

# Default minimum number of characters an user has to type before the ajax autocompleter activates (jQuery default is 1)
widget.autocompleter.defaultMinLength=2

# Default delay in milliseconds the Autocomplete waits after a keystroke to activate itself. A zero-delay makes sense for local data (more responsive), but can produce a lot of load for remote data, while being less responsive.
widget.autocompleter.defaultDelay=300

# Show/hide the ID field that is returned from ajax autocompleter
widget.autocompleter.displayReturnField=Y

# Show/hide description for lookup field
widget.lookup.showDescription=Y

# Default text find field's option
widget.form.defaultTextFindOption=contains

# Controls whether to display help text tooltips for form field titles
widget.form.displayhelpText=Y

# Controls the initial results display in Find screens. If set to Y, the
# search result list will be populated when the Find screen first appears.
# If set to N, the search result list will be empty when the Find screen
# first appears.
widget.defaultNoConditionFind=N

# Configurations for the Widget View Handlers implemented using the MacroScreenViewHandler
#
# html output
screen.name=html
screen.screenrenderer=component://widget/templates/htmlScreenMacroLibrary.ftl
screen.formrenderer=component://widget/templates/htmlFormMacroLibrary.ftl
screen.menurenderer=component://widget/templates/htmlMenuMacroLibrary.ftl
screen.treerenderer=component://widget/templates/htmlTreeMacroLibrary.ftl
screen.encoder=html
screen.compress=false
screen.default.contenttype=UTF-8
screen.default.encoding=none
# text output
screentext.name=text
screentext.screenrenderer=component://widget/templates/textScreenMacroLibrary.ftl
screentext.formrenderer=component://widget/templates/textFormMacroLibrary.ftl
screentext.treerenderer=component://widget/templates/textTreeMacroLibrary.ftl
screentext.default.contenttype=UTF-8
screentext.default.encoding=none
# xml output
screenxml.name=xml
screenxml.screenrenderer=component://widget/templates/xmlScreenMacroLibrary.ftl
screenxml.formrenderer=component://widget/templates/xmlFormMacroLibrary.ftl
screenxml.treerenderer=component://widget/templates/xmlTreeMacroLibrary.ftl
screenxml.encoder=xml
screenxml.default.contenttype=UTF-8
screenxml.default.encoding=none
# fo output
screenfop.name=xsl-fo
screenfop.screenrenderer=component://widget/templates/foScreenMacroLibrary.ftl
screenfop.formrenderer=component://widget/templates/foFormMacroLibrary.ftl
screenfop.treerenderer=component://widget/templates/foTreeMacroLibrary.ftl
screenfop.default.contenttype=application/pdf
screenfop.default.encoding=none
# csv output
screencsv.name=csv
screencsv.screenrenderer=component://widget/templates/csvScreenMacroLibrary.ftl
screencsv.formrenderer=component://widget/templates/csvFormMacroLibrary.ftl
screencsv.treerenderer=component://widget/templates/csvTreeMacroLibrary.ftl
screencsv.default.contenttype=UTF-8
screencsv.default.encoding=none


# Cato: per-renderer widget attribute defaults
# These override the *.xsd default where supported
# Mapped by renderer name (see above), with a fallback unspecific default available for
# all others or when not found (should be set here instead of xsd)
# if present for a renderer but empty, doesn't consult fallback. omit to use fallback. (only works for these properties; other logic null is non-meaningful)

# standard html defaults
widget.defs.form.hideHeaderWhen.default.html=
widget.defs.form.hideTableWhen.default.html=list-empty
widget.defs.form.useNoResultTextWhen.default.html=list-not-null
widget.defs.form.noResultText.default.html=${uiLabelMap.CommonNoRecordFound}.
widget.defs.form.noResultTextStyle.default.html=p

# xsl-fo defaults
# WARN/FIXME?: bug in stock ofbiz fop macros breaks hide-header option, so should never be enabled
widget.defs.form.hideHeaderWhen.default.xsl-fo=
widget.defs.form.hideTableWhen.default.xsl-fo=list-empty
widget.defs.form.useNoResultTextWhen.default.xsl-fo=list-not-null
widget.defs.form.noResultText.default.xsl-fo=${uiLabelMap.CommonNoRecordFound}.
widget.defs.form.noResultTextStyle.default.xsl-fo=

# other defaults
widget.defs.form.hideHeaderWhen.default=
widget.defs.form.hideTableWhen.default=
widget.defs.form.useNoResultTextWhen.default=
widget.defs.form.noResultText.default=
widget.defs.form.noResultTextStyle.default=

{'fraction_non_alphanumeric': 0.09921091566661187, 'fraction_numerical': 0.00279467368074963, 'mean_word_length': 6.131887456037514, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5438494', 'n_tokens_mistral': 3358, 'n_tokens_neox': 3260, 'n_words': 1025}