All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.webframe.easy.view.commons.form.ftl Maven / Gradle / Ivy

There is a newer version: 1.1.9
Show newest version
<#import "/spring.ftl" as spring />


	<#list attrList as attr>
		<#if attr.formed == true>
			<#if attr.type == "hidden">
				<@spring.formHiddenInput "model.${attr.property}", "class=\"${attr.css}\""/>
			<#else>
				
${attr.name}: <#if attr.type == "text"> <@spring.formInput "model.${attr.property}", "class=\"${attr.css}\""/> <#if attr.type == "textarea"> <@spring.formTextarea "model.${attr.property}", "class=\"${attr.css}\""/> <#if attr.type == "password"> <@spring.formPasswordInput "model.${attr.property}", "class=\"${attr.css}\""/> <#if attr.type == "checkbox"> <@spring.formCheckboxes "model.${attr.property}", attr.valueMap, "", "class=\"${attr.css}\""/> <#if attr.type == "radio"> <@spring.formRadioButtons "model.${attr.property}", attr.valueMap, "", "class=\"${attr.css}\""/> <#if attr.type == "select"> <@spring.formSingleSelect "model.${attr.property}", attr.valueMap, "class=\"${attr.css}\""/> <#if attr.type == "file">




© 2015 - 2024 Weber Informatics LLC | Privacy Policy