diff --git a/framework/webtools/groovyScripts/entity/FindGeneric.groovy b/framework/webtools/groovyScripts/entity/FindGeneric.groovy index be6c73b9dc..4667c6fd59 100644 --- a/framework/webtools/groovyScripts/entity/FindGeneric.groovy +++ b/framework/webtools/groovyScripts/entity/FindGeneric.groovy @@ -83,34 +83,25 @@ if (modelEntity) { context.dynamicAutoEntitySearchForm = writer //prepare the result list from performFind - String dynamicAutoEntityFieldListForm = """ -
- - - - """ - if (fieldsToSelect) { - dynamicAutoEntityFieldListForm += """ - """ - } - dynamicAutoEntityFieldListForm += """ - - - - - - """ - modelEntity.getFieldsUnmodifiable().each { - modelField -> - dynamicAutoEntityFieldListForm += - "" - } - dynamicAutoEntityFieldListForm += """ - - -
""" - + String dynamicAutoEntityFieldListForm = '' + + '
' + + '' + + '' + + '' + if (fieldsToSelect) { + dynamicAutoEntityFieldListForm += '' + } + dynamicAutoEntityFieldListForm += '' + + '' + + '' + + '' + + ' ' + + ' ' + + '' + + '' + + '
' + //Debug.logInfo(dynamicAutoEntityFieldForm, "") Document dynamicAutoEntityFieldListFormXml = UtilXml.readXmlDocument(dynamicAutoEntityFieldListForm, true, true) modelFormMap = FormFactory.readFormDocument(dynamicAutoEntityFieldListFormXml, entityModelReader, dispatcher.getDispatchContext(), entityName) if (UtilValidate.isNotEmpty(modelFormMap)) {