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

panda.tool.codegen.default.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="panda.tool.codegen" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://pandafw.github.io/repos/static/panda-codegen-module-1.2.0.xsd">
	<!-- action -->
	<action name="baseAction" trimString="${trim.stringNull}" dataFieldName="${action.dataFieldName}" dataListFieldName="${action.dataListFieldName}">
		<list name="baseList">
			<param name="actionView" value="~/view"/>
			<param name="toolbar" value="${list.toolbar}"/>
			<param name="actions" value="${list.actions}"/>
			<param name="options" value="${list.options}"/>
			<param name="buttons" value="${bulk.buttons}"/>
		</list>
		<list name="sList" extend="baseList" cssColumn="status">
			<column name="status" hidden="false" sortable="true" link="false" order="100100">
				<format type="code">
					<param name="codemap" value="consts.dataStatusMap"/>
				</format>
				<filter type="checklist">
					<param name="list" value="consts.dataStatusMap"/>
				</filter>
			</column>
		</list>
		<list name="shList" extend="baseList" cssColumn="status">
			<column name="status" hidden="true" sortable="false" link="false" order="100100">
				<format type="code">
					<param name="codemap" value="consts.dataStatusMap"/>
				</format>
				<filter type="checklist">
					<param name="list" value="consts.dataStatusMap"/>
				</filter>
			</column>
		</list>
		<list name="cList" extend="baseList">
			<column name="cusid" hidden="false" sortable="true" link="false" order="100200">
				<filter type="number"/>
			</column>
			<column name="ctime" hidden="false" sortable="true" link="false" order="100300">
				<format type="datetime"/>
				<filter type="datetime"/>
			</column>
		</list>
		<list name="chList" extend="baseList">
			<column name="cusid" hidden="true" sortable="false" link="false" order="100200">
				<filter type="number"/>
			</column>
			<column name="ctime" hidden="true" sortable="false" link="false" order="100300">
				<format type="datetime"/>
				<filter type="datetime"/>
			</column>
		</list>
		<list name="uList" extend="baseList">
			<column name="uusid" hidden="false" sortable="true" link="false" order="100400">
				<filter type="number"/>
			</column>
			<column name="utime" hidden="false" sortable="true" link="false" order="100500">
				<format type="datetime"/>
				<filter type="datetime"/>
			</column>
		</list>
		<list name="uhList" extend="baseList">
			<column name="uusid" hidden="true" sortable="false" link="false" order="100400">
				<filter type="number"/>
			</column>
			<column name="utime" hidden="true" sortable="false" link="false" order="100500">
				<format type="datetime"/>
				<filter type="datetime"/>
			</column>
		</list>
		<list name="scList" extend="sList,cList"/>
		<list name="suList" extend="sList,uList"/>
		<list name="scuList" extend="sList,cList,uList"/>
		<list name="schList" extend="shList,chList"/>
		<list name="suhList" extend="shList,uhList"/>
		<list name="scuhList" extend="shList,chList,uhList"/>
		
		<list name="basePopup"/>
		<list name="sPopup" extend="basePopup" cssColumn="status">
			<column name="status" hidden="false" sortable="true" link="false" order="100100">
				<format type="code">
					<param name="codemap" value="consts.dataStatusMap"/>
				</format>
				<filter type="radio">
					<param name="list" value="consts.dataStatusMap"/>
				</filter>
			</column>
		</list>
		<list name="shPopup" extend="basePopup" cssColumn="status">
			<column name="status" hidden="true" sortable="false" link="false" order="100100">
				<format type="code">
					<param name="codemap" value="consts.dataStatusMap"/>
				</format>
				<filter type="radio">
					<param name="list" value="consts.dataStatusMap"/>
				</filter>
			</column>
		</list>
		
		<input name="baseInput" theme="${ui.input.theme}">
			<param name="toolbar" value="${edit.toolbar}"/>
			<param name="actions" value="${edit.actions}"/>
		</input>
		<input name="sInput" extend="baseInput">
			<field name="status" order="100100">
				<editTag name="${tag.radio}">
					<param name="emptyOption" value="true"/>
					<param name="list" value="%{consts.dataStatusMap}"/>
				</editTag>
			</field>
		</input>
		<input name="shInput" extend="baseInput">
			<field name="status" order="100100">
				<editTag name="${tag.hidden}"/>
			</field>
		</input>
		<input name="cInput" extend="baseInput">
			<field name="cusid" order="100200">
				<editTag name="${tag.viewfield}"/>
			</field>
			<field name="cusnm" order="100300">
				<editTag name="${tag.viewfield}"/>
			</field>
			<field name="ctime" order="100400">
				<editTag name="${tag.viewfield}">
					<param name="format" value="datetime"/>
				</editTag>
			</field>
		</input>
		<input name="chInput" extend="baseInput">
			<field name="cusid" order="100200">
				<editTag name="${tag.hidden}"/>
			</field>
			<field name="cusnm" order="100300">
				<editTag name="${tag.hidden}"/>
			</field>
			<field name="ctime" order="100400">
				<editTag name="${tag.hidden}">
					<param name="format" value="datetime"/>
				</editTag>
			</field>
		</input>
		<input name="uInput" extend="baseInput">
			<field name="uusid" order="100500">
				<editTag name="${tag.viewfield}"/>
			</field>
			<field name="uusnm" order="100600">
				<editTag name="${tag.viewfield}"/>
			</field>
			<field name="utime" order="100700">
				<editTag name="${tag.viewfield}">
					<param name="format" value="datetime"/>
				</editTag>
			</field>
		</input>
		<input name="uhInput" extend="baseInput">
			<field name="uusid" order="100500">
				<editTag name="${tag.hidden}"/>
			</field>
			<field name="uusnm" order="100600">
				<editTag name="${tag.hidden}"/>
			</field>
			<field name="utime" order="100700">
				<editTag name="${tag.hidden}">
					<param name="format" value="datetime"/>
				</editTag>
			</field>
		</input>
		<input name="scInput" extend="sInput,cInput"/>
		<input name="suInput" extend="sInput,uInput"/>
		<input name="scuInput" extend="sInput,cInput,uInput"/>
		<input name="schInput" extend="shInput,chInput"/>
		<input name="suhInput" extend="shInput,uhInput"/>
		<input name="scuhInput" extend="shInput,chInput,uhInput"/>
	</action>
</module>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy