Package: yafowil.yaml
Write YAFOWIL forms in YAML or JSON notation.DocumentationDetailed documentation for describing YAFOWIL forms with YAML can be foundhereSource CodeThe sources are in a GIT DVCS with its main branches atgithub.We’d be happy to see many forks and pull-requests ;).ContributorsRobert NiederreiterAttila OlahJens W. KleinChanges2.0 (2022-12-05)Fix parsing ofbuildersanddisplay_renderersin custom parts.
[rnix]Fix signature ofyafowil.yaml.tests.test_vocab. Property callbacks always
gets passedwidgetanddataas of yafowil 3.0.0.
[rnix]Parse values of attributes (data-Attributes) if type() is dict.
HTML5 Data-Attributes with i18n or callables are possible now.
[2silver]Breaking changes:Addpython:expressions. Needed for cases where property callbacks not
acceptwidgetanddatakeyword arguments, e.g.datatype. This is
necessary becausecallable_valuefunction in yafowil 3.0 no longer calls
callable without arguments as fallback.
[rnix]1.3.1 (2020-07-09)Passyaml.SafeLoaderloader toyaml.loadto prevent arbitrary code
execution.
[rnix]Cleanup.
[rnix]1.3 (2018-07-16)Python 3 compatibility.
[rnix]Convert doctests to unittests.
[rnix]1.2 (2014-11-13)Feature: Support definitions written in JSON too. Since YAML and JSON are
100% comaptible exact the same structure applies.
[jensens, 2014-11-13]1.1Widget definitions in yaml may point to other yaml files for form nesting
usingnestproperty.
[rnix, 2014-07-18]1.0.5Fix test coverage.
[rnix, jensens, 2014-04-30]1.0.4allow default for i18n messages in format:i18n:message_id:Default Value[rnix, jensens, 2014-02-14]1.0.3test coverage, documentation
[rnix, jensens]1.0.2accidentially set zip_safe=True which is not. Set to Fasle now.
[jensens, 2012-03-19]1.0.1Adopt test forselectblueprint change.
[rnix, 2011-12-18]Fix automatic name setting for recursive compounds.
[rnix, 2011-09-30]1.0Adopt to yafowil 1.1.
[rnix, 2011-07-07]Extendparse_from_YAMLresolving package path instead of excepting.
absolute or relative file path
[rnix, 2011-07-07]0.9.1Add i18n support.
[rnix, 2011-06-04]Fix bug where expression evaluation was not reached.
[rnix, 2011-06-04]Adopt tests for form novalidate property.
[rnix, 2011-05-23]0.9Make it work.
[aatis, rnix]LicenseCopyright (c) 2010-2021, BlueDynamics Alliance, Austria, Germany, Switzerland
Copyright (c) 2021-2022, Yafowil Contributors
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.