templates.sh.page.tpl Maven / Gradle / Ivy
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro"%>
<%-- JavaScript --%>
<%-- 2. Page DataGrid --%>
" style="width: 100%" <#if toolbar>toolbar="#${ClassName}Toolbar"#if> idField="${Oid}" rownumbers="true" fit="true" fitColumns="true" nowrap="false">
<#if Autos??>
<#list Autos as item>
<#assign info=item?split("#")>
<#if info[4]=="true">
${info[2]}
#if>
#list>
#if>
<#if toolbar>
<%-- 3. ToolBar --%>
#if>
<#if contextMenu>
<%-- 4. DataGrid ContextMenu --%>
#if>
<%-- 5. Other dialog page --%>
<%@ include file="/WEB-INF/content/dialog/${Module}/${ClassName}Add.jsp"%>
<%@ include file="/WEB-INF/content/dialog/${Module}/${ClassName}Edit.jsp"%>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy