All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ltd.fdsa.component.thymeleaf.xml.Timo-Dialect.xml Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
<?xml version="1.0" encoding="UTF-8"?>

<dialect
        xmlns="http://www.thymeleaf.org/extras/dialect"
        prefix="mo"
        namespace-uri="https://gitee.com/aun/Timo"
        class="ltd.fdsa.component.thymeleaf.TimoDialect">

    <!-- 自定义属性标签 -->
    <attribute-processor name="list"
                         class="ltd.fdsa.component.thymeleaf.attribute.SelectListAttrProcessor">
        <documentation><![CDATA[
		自定义下拉列表生成标签,值可以为数组和集合!
		mo-selected属性:默认选择的值
		mo-empty属性:添加无值下拉选项,值为显示内容
		]]></documentation>
    </attribute-processor>
    <attribute-processor name="dict"
                         class="ltd.fdsa.component.thymeleaf.attribute.SelectDictAttrProcessor">
        <documentation><![CDATA[
		根据字典标识生成下拉列表,值可以为数组和集合!
		mo-selected属性:默认选择的值
		mo-empty属性:添加无值下拉选项,值为显示内容
		]]></documentation>
    </attribute-processor>

    <!-- 自定义对象工具 -->
    <expression-object name="pageUtil" class="ltd.fdsa.component.thymeleaf.utility.PageUtil"/>
    <expression-object name="dicts" class="ltd.fdsa.component.thymeleaf.utility.DictUtil"/>


</dialect>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy