?? actionconfig-user.xml.svn-base
字號:
<Model>
<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>
<Step id="2" errorDo="return" result="true">com.chis.model.user.ListSysUser</Step>
<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>
</Model>
<View>
<To method="forward" code="1">/JSP/base/chooseuserdialog.jsp</To>
</View>
</Action>
<!--查看角色權(quán)限-->
<Action name="BASE_SYSROLE_VIEWROLEFUNC">
<Description>查看角色權(quán)限</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" >com.chis.model.user.ListSysModule</Step>
<Step id="3" errorDo="next" result="true">com.chis.model.user.ViewSysRoleModule</Step>
<Step id="4" errorDo="next">com.stframe.action.example.EndAction</Step>
</Model>
<View>
<To method="forward" code="1">/JSP/base/viewmodule.jsp</To>
</View>
</Action>
<!--**********群組管理動作開始**********-->
<!--顯示群組列表-->
<Action name="BASE_SYSGROUP_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.user.ListSysGroupWithPage</Step>
<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>
</Model>
<View>
<To method="forward" code="1">/JSP/base/sysgroup_list.jsp</To>
</View>
</Action>
<!--添加群組初始化-->
<Action name="BASE_SYSGROUP_ADDINIT">
<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">com.chis.model.user.ListSysRole</Step>
<Step id="3" errorDo="next" result="true">com.chis.model.user.ListSysModule</Step>
<Step id="4" errorDo="next">com.stframe.action.example.EndAction</Step>
</Model>
<View>
<To method="forward" code="1">/JSP/base/sysgroup_add.jsp</To>
</View>
</Action>
<!--添加群組信息-->
<Action name="BASE_SYSGROUP_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.user.SysGroupAdd</Step>
<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>
</Model>
<View>
<!-- by chenlf
<To method="forward" code="1">/JSP/base/success.jsp</To>
<To method="forward" code="0">/JSP/base/fail.jsp</To>
-->
<To method="forward" code="1">/JSP/success.jsp</To>
<To method="forward" code="0">/JSP/fail.jsp</To>
</View>
</Action>
<!--修改群組初始化-->
<Action name="BASE_SYSGROUP_MODIFYINIT">
<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">com.chis.model.user.ListSysRole</Step>
<Step id="3" errorDo="next">com.chis.model.user.ListSysModule</Step>
<Step id="4" errorDo="next" result="true">com.chis.model.user.SysGroupModifyInit</Step>
<Step id="5" errorDo="next">com.stframe.action.example.EndAction</Step>
</Model>
<View>
<To method="forward" code="1">/JSP/base/sysgroup_modify.jsp</To>
</View>
</Action>
<!--修改群組數(shù)據(jù)-->
<Action name="BASE_SYSGROUP_MODIFY">
<Description>修改群組數(shù)據(jù)</Description>
<Error>com.stframe.action.example.ErrorAction</Error>
<Model>
<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>
<Step id="2" errorDo="return" result="true">com.chis.model.user.SysGroupModify</Step>
<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>
</Model>
<View>
<!-- by chenlf
<To method="forward" code="1">/JSP/base/success.jsp</To>
<To method="forward" code="0">/JSP/base/fail.jsp</To>
-->
<To method="forward" code="1">/JSP/success.jsp</To>
<To method="forward" code="0">/JSP/fail.jsp</To>
</View>
</Action>
<!--刪除群組數(shù)據(jù)-->
<Action name="BASE_SYSGROUP_DELETE">
<Description>刪除群組數(shù)據(jù)</Description>
<Error>com.stframe.action.example.ErrorAction</Error>
<Model>
<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>
<Step id="2" errorDo="return" result="true">com.chis.model.user.SysGroupDel</Step>
<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>
</Model>
<View>
<!-- by chenlf
<To method="forward" code="1">/JSP/base/success.jsp</To>
<To method="forward" code="0">/JSP/base/fail.jsp</To>
-->
<To method="forward" code="1">/JSP/success.jsp</To>
<To method="forward" code="0">/JSP/fail.jsp</To>
</View>
</Action>
<!--查看群組權(quán)限-->
<Action name="BASE_SYSGROUP_VIEWGROUPFUNC">
<Description>查看群組權(quán)限</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">com.chis.model.user.ListSysModule</Step>
<Step id="3" errorDo="next" result="true">com.chis.model.user.ViewSysGroupModule</Step>
<Step id="4" errorDo="next">com.stframe.action.example.EndAction</Step>
</Model>
<View>
<To method="forward" code="1">/JSP/base/viewmodule.jsp</To>
</View>
</Action>
<!--查看到群組總權(quán)限-->
<Action name="BASE_SYSGROUP_VIEWGROUPALLFUNC">
<Description>查看到群組總權(quán)限</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">com.chis.model.user.ListSysModule</Step>
<Step id="3" errorDo="next" result="true">com.chis.model.user.ViewSysGroupAllModule</Step>
<Step id="4" errorDo="next">com.stframe.action.example.EndAction</Step>
</Model>
<View>
<To method="forward" code="1">/JSP/base/viewmodule.jsp</To>
</View>
</Action>
<!--**********部門動作開始**********-->
<!--顯示部門列表-->
<Action name="BASE_SYSDEPT_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.user.ListSysDept</Step>
<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>
</Model>
<View>
<To method="forward" code="1">/JSP/base/sysdept_list.jsp</To>
</View>
</Action>
<!--添加部門初始化-->
<Action name="BASE_SYSDEPT_ADDINIT">
<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.user.SysDeptAddInit</Step>
<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>
</Model>
<View>
<To method="forward" code="1">/JSP/base/sysdept_edit.jsp</To>
</View>
</Action>
<!--保存部門-->
<Action name="BASE_SYSDEPT_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="return" result="true">com.chis.model.user.SysDeptSave</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="BASE_SYSDEPT_MODIFYINIT">
<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.user.SysDeptModifyInit</Step>
<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>
</Model>
<View>
<To method="forward" code="1">/JSP/user/sysdept_edit.jsp</To>
</View>
</Action>
<!--刪除部門-->
<Action name="BASE_SYSDEPT_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="return" result="true">com.chis.model.user.SysDeptDel</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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -