actionconfig-jb-tnb.xml.svn-base

来自「用JSP JAVA 做的 系统 只是初来扎到还望西黄!别乱来哦!」· SVN-BASE 代码 · 共 157 行

SVN-BASE
157
字号
<?xml version="1.0" encoding="GB2312"?>
<!--zxh糖尿病患者及随访记录-->
<Config>


	<Action name="TNBDA_LIST_PAGE">
		<Description>糖尿病患者列表分页</Description>
		<Error>com.stframe.action.example.ErrorAction</Error>
		<Model>
			<Step id="1" errorDo="next" >com.stframe.action.example.StartAction</Step>
			<Step id="2" errorDo="next" result="true">com.chis.model.jbgl.tnb.TnbListPage</Step>
			<Step id="3" errorDo="next" >com.stframe.action.example.EndAction</Step>
		</Model>
		<View>
			<To method="forward" code="1">JSP/jbgl/tnb/tnb_list.jsp</To>
		</View>
	</Action>

	<Action name="TNBDA_ADD">
		<Description>增加糖尿病患者</Description>	
			<Error>com.stframe.action.example.ErrorAction</Error>
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>
			<Step id="2" errorDo="next" result="true">com.chis.model.other.EmpList</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="1">/JSP/jbgl/tnb/tnb_add.jsp</To>					
		</View>
	</Action>

	<Action name="TNBDA_SAVE">
		<Description>保存糖尿病患者</Description>	
			<Error>com.stframe.action.example.ErrorAction</Error>
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>	
			<Step id="2" errorDo="next" result="true">com.chis.model.jbgl.tnb.TnbSave</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="1">/JSP/success.jsp</To>	
			<To method="forward" code="0">/JSP/fail.jsp</To>					
		</View>
	</Action>

	<Action name="TNBDA_INFO">
		<Description>糖尿病患者修改初始化</Description>	
			<Error>com.stframe.action.example.ErrorAction</Error>
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>
			<Step id="2" errorDo="next" result="true">com.chis.model.jbgl.tnb.TnbInfo</Step>
			<Step id="3" errorDo="next" result="true">com.chis.model.jbgl.tnb.TnbfList</Step>
			<Step id="4" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="0">/JSP/jbgl/tnb/tnb_info.jsp</To>
			<To method="forward" code="1">/JSP/jbgl/tnb/tnb_update.jsp</To>					
		</View>
	</Action>

	<Action name="TNBDA_DELETE">
		<Description>删除糖尿病患者</Description>	
			<Error>com.stframe.action.example.ErrorAction</Error>
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>	
			<Step id="2" errorDo="next" result="true">com.chis.model.jbgl.tnb.TnbDel</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="1">/JSP/success.jsp</To>	
			<To method="forward" code="0">/JSP/fail.jsp</To>					
		</View>
	</Action>

	<Action name="TNBF_LIST">
		<Description>糖尿病患者随访记录列表</Description>
		<Error>com.stframe.action.example.ErrorAction</Error>
		<Model>
			<Step id="1" errorDo="next" >com.stframe.action.example.StartAction</Step>
			<Step id="2" errorDo="next" result="true">com.chis.model.jbgl.tnb.TnbfList</Step>
			<Step id="3" errorDo="next" >com.stframe.action.example.EndAction</Step>
		</Model>
		<View>
			<To method="forward" code="1">JSP/jbgl/tnb/tnbf_list.jsp</To>
		</View>
	</Action>
	
	<Action name="TNBF_LIST_PAGE">
		<Description>糖尿病患者随访记录列表分页</Description>
		<Error>com.stframe.action.example.ErrorAction</Error>
		<Model>
			<Step id="1" errorDo="next" >com.stframe.action.example.StartAction</Step>
			<Step id="2" errorDo="next" result="true">com.chis.model.jbgl.tnb.TnbfListPage</Step>
			<Step id="3" errorDo="next" >com.stframe.action.example.EndAction</Step>
		</Model>
		<View>
			<To method="forward" code="1">JSP/jbgl/tnb/tnbf_list.jsp</To>
		</View>
	</Action>

	<Action name="TNBF_ADD">
		<Description>增加糖尿病患者随访记录</Description>	
			<Error>com.stframe.action.example.ErrorAction</Error>
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>
			<Step id="2" errorDo="next" result="true">com.chis.model.other.EmpList</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="1">/JSP/jbgl/tnb/tnbf_add.jsp</To>					
		</View>
	</Action>

	<Action name="TNBF_SAVE">
		<Description>保存糖尿病患者随访记录</Description>	
			<Error>com.stframe.action.example.ErrorAction</Error>
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>	
			<Step id="2" errorDo="next" result="true">com.chis.model.jbgl.tnb.TnbfSave</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="1">/JSP/success.jsp</To>	
			<To method="forward" code="0">/JSP/fail.jsp</To>					
		</View>
	</Action>

	<Action name="TNBF_INFO">
		<Description>糖尿病患者随访记录修改初始化</Description>	
			<Error>com.stframe.action.example.ErrorAction</Error>
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>
			<Step id="2" errorDo="next" result="true">com.chis.model.other.EmpList</Step>
			<Step id="3" errorDo="next" result="true">com.chis.model.jbgl.tnb.TnbfInfo</Step>
			<Step id="4" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="0">/JSP/jbgl/tnb/tnbf_info.jsp</To>
			<To method="forward" code="1">/JSP/jbgl/tnb/tnbf_update.jsp</To>				
		</View>
	</Action>

	<Action name="TNBF_DELETE">
		<Description>删除糖尿病患者随访记录</Description>	
			<Error>com.stframe.action.example.ErrorAction</Error>
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>	
			<Step id="2" errorDo="next" result="true">com.chis.model.jbgl.tnb.TnbfDel</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="1">/JSP/success.jsp</To>	
			<To method="forward" code="0">/JSP/fail.jsp</To>					
		</View>
	</Action>	
	
</Config>	

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?