pagestandard.jsp
来自「开源项目CRM之OpenCustomer」· JSP 代码 · 共 98 行
JSP
98 行
<%-- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1
-
- The contents of this file are subject to the Mozilla Public License Version
- 1.1 (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS" basis,
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- for the specific language governing rights and limitations under the
- License.
-
- The Original Code is the OpenCustomer CRM.
-
- The Initial Developer of the Original Code is
- Thomas Bader (Bader & Jene Software-Ingenieurb黵o).
- Portions created by the Initial Developer are Copyright (C) 2005
- the Initial Developer. All Rights Reserved.
-
- Contributor(s):
- Thomas Bader <thomas.bader@bader-jene.de>
-
- ***** END LICENSE BLOCK ***** --%>
<%@ include file="/tiles/page.jsp" %>
<%@ page import="org.opencustomer.application.web.module.system.role.Constants" %>
<%@ page import="org.opencustomer.web.util.TagUtility" %>
<%@ page import="org.opencustomer.application.auth.Right" %>
<tiles:insert definition="system.role.edit">
<tiles:put name="page.content">
<html:form action="/system/role/edit/processPageStandard" focus="name" styleClass="default">
<html:errors/>
<div class="slider">
<html:submit property="doPageStandard" disabled="true" styleClass="active"><bean:message key="domain.system.role.pageStandard"/></html:submit>
<html:submit property="doPageRights"><bean:message key="domain.system.role.pageRights"/></html:submit>
</div>
<div class="tabbedPage">
<fieldset class="unit">
<legend><bean:message key="domain.system.role.block.common"/></legend>
<table>
<tr>
<td class="label">
<buj:label property="name" errorStyleId="error"><bean:message key="entity.role.name"/></buj:label>
</td>
<td>
<html:text property="name" styleId="name" maxlength="255" styleClass="full"/>
</td>
</tr>
</table>
</fieldset>
<fieldset class="list">
<legend><bean:message key="entity.user"/></legend>
<table class="result">
<colgroup>
<col width="1*"/>
<col width="25"/>
</colgroup>
<tr>
<th><bean:message key="entity.user"/></th>
<th> </th>
</tr>
<logic:iterate id="data" indexId="index" name="<%=Constants.USER_KEY%>" scope="session">
<tr class="<buj:rowSwap name="index" number="3" odd="rowOdd" even="rowEven"/>">
<td><bean:write name="data" property="userName" scope="page"/></td>
<td><html:img styleClass="action" pageKey="icon.jump_grey.url" titleKey="icon.jump_grey.text" altKey="icon.jump_grey.text"/></td>
</tr>
</logic:iterate>
<logic:notPresent name="index" scope="page">
<tr class="noRow">
<td colspan="2"><bean:message key="default.message.noEntries"/></td>
</tr>
</logic:notPresent>
</table>
</fieldset>
<fieldset class="action">
<buj:authenticate right="<%=Right.ADMINISTRATION_USERMANAGEMENT_WRITE.getLabel()%>"> <%
Object id = TagUtility.lookupString(pageContext, Constants.ROLE_KEY, "id", "session", true);
if(id == null) { %>
<html:submit property="doDelete" styleClass="left" disabled="true"><bean:message key="image.button.delete.text"/></html:submit><%
} else { %>
<html:submit property="doDelete" styleClass="left"><bean:message key="image.button.delete.text"/></html:submit><%
} %>
</buj:authenticate>
<html:submit property="doCancel"><bean:message key="image.button.cancel.text"/></html:submit>
<buj:authenticate right="<%=Right.ADMINISTRATION_USERMANAGEMENT_WRITE.getLabel()%>">
<html:submit property="doSave"><bean:message key="image.button.save.text"/></html:submit>
</buj:authenticate>
</fieldset>
</div>
</html:form>
</tiles:put>
</tiles:insert>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?