📄 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>
<!--查看角色权限-->
<Action name="BASE_SYSROLE_VIEWROLEFUNC">
<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.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>
<!--修改群组数据-->
<Action name="BASE_SYSGROUP_MODIFY">
<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.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>
<!--删除群组数据-->
<Action name="BASE_SYSGROUP_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.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>
<!--查看群组权限-->
<Action name="BASE_SYSGROUP_VIEWGROUPFUNC">
<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.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>
<!--查看到群组总权限-->
<Action name="BASE_SYSGROUP_VIEWGROUPALLFUNC">
<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.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 + -