langs.freemarker.form.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbpm-gwt-form-exporter-freemarker Show documentation
Show all versions of jbpm-gwt-form-exporter-freemarker Show documentation
jBPM Form Exporter for Freemarker (both HTML4 and HTML5) for form representational API
The newest version!
#set ($invokeOnLoad = "")
#foreach ($script in $item.onLoadScripts)
#if ($language.isClientScript($script))
#set ($typeParam = ${language.getParam("type", $script.type)})
#set ($srcParam = ${language.getParam("src", $script.src)})
#set ($invokeOnLoad = "${invokeOnLoad} ${script.invokeFunction};")
#elseif ($language.isValidScript($script))
$language.asFtlScript($script)
#end
#end
#set ($invokeOnSubmit = "")
#foreach ($script in $item.onSubmitScripts)
#set ($typeParam = ${language.getParam("type", $script.type)})
#set ($srcParam = ${language.getParam("src", $script.src)})
#set ($invokeOnLoad = "${invokeOnLoad} ${script.invokeFunction};")
#end
## TODO List validations = form.getFormValidations();
## TODO Map inputs = form.getInputs();
## TODO Map outputs = form.getOutputs();
#set( $onSubmitParam = ${language.getParam("onsubmit", $invokeOnSubmit)})
#set($onLoadParam = ${language.getParam("onload", $invokeOnLoad)})
#set($nameParam = ${language.getParam("name", $item.name)})
#set($actionParam = ${language.getParam("action", $item.action)})
#set($methodParam = ${language.getParam("method", $item.method)})
#set($enctypeParam = ${language.getParam("enctype", $item.enctype)})