📄 editprofile.jsp
字号:
<%@ include file="/common/taglibs.jsp"%>
<%-- This page is used to call the userForm.edit action.
This serves as a workaround to use Struts Menu with JSF - since
the menu.jsp cannot contain f:view tags, and hence any JSF tags
--%>
<f:view>
<h:form id="userProfile">
<h:commandLink action="#{userForm.edit}" id="edit"/>
</h:form>
<script type="text/javascript">
function submitForm() {
var f = document.forms['userProfile'];
f.elements['userProfile:_link_hidden_'].value='userProfile:edit';
f.submit();
}
window.onload=submitForm;
</script>
</f:view>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -