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

langs.freemarker.form.vm Maven / Gradle / Ivy

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)})
    
<#-- taskId: $item.taskId --> #foreach ($subItem in $item.formItems) #set ($subWidthParam = ${language.getStyleParam("width", $item.width)}) #set ($subHeightParam = ${language.getStyleParam("height", $item.height)}) #set ($subStyle = "$subWidthParam$subHeightParam") #set ($styleParam = ${language.getParam("style", $subStyle)})
${language.translateItem($subItem)}
#end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy