<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@include file="/context/mytags.jsp"%> <#-- update--begin--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#include "../../ui/datatype.ftl"/> <#include "../../ui/dictInfo.ftl"/> <#-- update--end--author:zhangjiaqiang Date:20170509 for:修订生成页面乱 --> <#assign callbackFlag = false /> <#assign fileName = "" /> <#list pageColumns as callBackTestPo> <#-- update--begin--author:zhangjiaqiang date:20170531 for:增加图片和文件的支持 --> <#if callBackTestPo.showType=='file' || callBackTestPo.showType == 'image'> <#assign callbackFlag = true /> <#break> <#-- update--end--author:zhangjiaqiang date:20170531 for:增加图片和文件的支持 --> ${ftl_description} <#if callbackFlag == true> <#-- update--begin--author:zhangjiaqiang date:20170522 for:ueditor配置文件只加载一次 --> <#assign ue_widget_count = 0> <#-- update--end--author:zhangjiaqiang date:20170522 for:ueditor配置文件只加载一次 --> <#list columns as po> <#if po.isShow == 'N'> <#-- update--begin--author:zhoujf date:20170622 for:TASK #1967 【代码生成器优化】online生成代码,无用太多,简化代码(1. 系统标准字段,表单页面,添加和修改页面,不生成隐藏字段) --> <#if po.fieldName == 'id'> <#-- update--end--author:zhoujf date:20170622 for:TASK #1967 【代码生成器优化】online生成代码,无用太多,简化代码(1. 系统标准字段,表单页面,添加和修改页面,不生成隐藏字段) --> <#list pageColumns as po> <#if (pageColumns?size>10)> <#if po_index%2==0> <#else> <#if (pageColumns?size>10)> <#if (po_index%2==0)&&(!po_has_next)> <#if (po_index%2!=0)||(!po_has_next)> <#else> <#-- update--begin--author:zhoujf Date:20170523 for:TASK #1961 【代码生成器】一对多富文本编辑器,生成代码格式问题 --> <#list pageAreatextColumns as po> <#-- update--end--author:zhoujf Date:20170523 for:TASK #1961 【代码生成器】一对多富文本编辑器,生成代码格式问题 -->
<#if po.showType=='text'> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}'/> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> <#elseif po.showType=='popup'> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> <#if po.dictTable?if_exists?html!=""> onclick="inputClick(this,'${po.dictField}','${po.dictTable}')" value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}'/> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> <#elseif po.showType=='textarea'> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> <#elseif po.showType=='password'> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}'/> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> <#elseif po.showType=='radio' || po.showType=='select' || po.showType=='checkbox' || po.showType=='list'> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> <@datatype validType="${po.fieldValidType!''}" isNull="${po.isNull}" type="${po.type}" inputCheck="2"/> defaultVal="${'$'}{${entityName?uncap_first}Page.${po.fieldName}}" hasLabel="false" title="${po.content}"> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> <#elseif po.showType=='date'> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> value=''/> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> <#elseif po.showType=='datetime'> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> value=''/> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> <#-- update--begin--author:zhangjiaqiang date:20170531 for:增加图片和文件的支持 --> <#elseif po.showType=='file' || po.showType == 'image'> <#-- update--end--author:zhangjiaqiang date:20170531 for:增加图片和文件的支持 --> <#-- update--begin--author:zhangjiaqiang date:20170531 for:数据回显表格ID区分 -->
<#-- update--end--author:zhangjiaqiang date:20170531 for:数据回显表格ID区分 --> <#if !(po.operationCodesReadOnly ??)> <#-- update--begin--author:zhangjiaqiang date:20170531 for:增加图片和文件的支持 --> <#assign fileName = fileName + "${po.fieldName}," /> <#-- update--end--author:zhangjiaqiang date:20170531 for:增加图片和文件的支持 -->
<#--update-start--Author: jg_huangxg Date:20160421 for:TASK #1027 【online】代码生成器模板不支持UE编辑器 --> <#elseif po.showType='umeditor'> <#-- update--begin--author:zhangjiaqiang date:20170522 for:ueditor配置文件只加载一次 --> <#assign ue_widget_count = ue_widget_count + 1> <#if ue_widget_count == 1> <#-- update--end--author:zhangjiaqiang date:20170522 for:ueditor配置文件只加载一次 --> <#--update-start--Author: dangzhenghui Date:20170510 for:TASK #1899 【代码生成器bug】控件类型为UE编辑器 ,编辑页面内容显示为空--> <#--update-end--Author: dangzhenghui Date:20170510 for:TASK #1899 【代码生成器bug】控件类型为UE编辑器 ,编辑页面内容显示为空--> <#--update-end--Author: jg_huangxg Date:20160421 for:TASK #1027 【online】代码生成器模板不支持UE编辑器 --> <#else> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> value='${'$'}{${entityName?uncap_first}Page.${po.fieldName}}'/> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 -->
10)> colspan="3" > <#if po.showType=='textarea'> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> <#-- update--begin--author:zhangjiaqiangDate:20170509 for:修订生成代码不美观 --> <#elseif po.showType='umeditor'> <#-- update--begin--author:zhangjiaqiang date:20170522 for:ueditor配置文件只加载一次 --> <#assign ue_widget_count = ue_widget_count + 1> <#if ue_widget_count == 1> <#-- update--end--author:zhangjiaqiang date:20170522 for:ueditor配置文件只加载一次 --> <#--update-start--Author: dangzhenghui Date:20170510 for:TASK #1899 【代码生成器bug】控件类型为UE编辑器 ,编辑页面内容显示为空--> <#--update-end--Author: dangzhenghui Date:20170510 for:TASK #1899 【代码生成器bug】控件类型为UE编辑器 ,编辑页面内容显示为空-->
10)> colspan="4" <#else> colspan="2" > 返回
提交
<#if callbackFlag == true>