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

config-browser.showConfig.ftl Maven / Gradle / Ivy

Go to download

WebWork is a Java web-application development framework. It is built specifically with developer productivity and code simplicity in mind, providing robust support for building reusable UI templates, such as form controls, UI themes, internationalization, dynamic form parameter mapping to JavaBeans, robust client and server side validation, and much more.

The newest version!
<#include "tigris-macros.ftl"/>
<@startPage pageTitle="Action information"/>

Action information - ${actionName}

Action name:${actionName}
Namespace: ${namespace}
Action class: ${config.className}
Action method: <#if config.methodName?exists>${config.methodName}
Parameters: <#list config.params?keys as p> ${p}
Default location: ${base}${namespace}/${actionName}.${extension}
<@ww.url id="url" action="showConfig" includeParams="none"> <@ww.param name="namespace">${namespace} <@ww.param name="actionName">${actionName} <#assign url = url + "&detailView="> <#assign detailsSelected = false> <#assign exceptionsSelected = false> <#assign interceptorsSelected = false> <#assign propertiesSelected = false> <#assign validatorsSelected = false> <#if detailView == "results"> <#assign detailsSelected = true> <#elseif detailView == "exceptions"> <#assign exceptionsSelected = true> <#elseif detailView == "interceptors"> <#assign interceptorsSelected = true> <#elseif detailView == "properties"> <#assign propertiesSelected = true> <#else> <#assign validatorsSelected = true> <@startTabs/> <#call tab name="Results" url="${url}results" isSelected="${detailsSelected?string}"/> <#call tab name="Exception Mappings" url="${url}exceptions" isSelected="${exceptionsSelected?string}"/> <#call tab name="Interceptors" url="${url}interceptors" isSelected="${interceptorsSelected?string}"/> <#call tab name="Properties" url="${url}properties" isSelected="${propertiesSelected?string}"/> <#call tab name="Validators" url="${url}validators" isSelected="${validatorsSelected?string}"/> <@endTabs/> <#if detailsSelected> <#assign count=config.results?size> <#list config.results.values() as r> class="b"<#else>class="a">
NameTypeParameters
${r.name} ${r.className} <#list r.params.keySet() as p> ${p} = ${r.params[p]}
<#elseif exceptionsSelected> <#list config.exceptionMappings as e> class="b"<#else>class="a">
NameException Class NameResultParameters
${e.name} ${e.exceptionClassName} ${e.result} <#list e.params.keySet() as p> ${p} = ${e.params[p]}
<#elseif interceptorsSelected> <#list config.interceptors as i> class="b"<#else>class="a">
NameType
${action.stripPackage(i.interceptor.class)} ${i.interceptor.class.name}
<#elseif propertiesSelected> <#list properties as prop> class="b"<#else>class="a">
NameType
${prop.name} ${prop.propertyType.name}
<#else> <@ww.action name="showValidators" executeResult="true"> <@ww.param name="clazz" value="'${config.className}'"/> <@ww.param name="context" value="'${namespace}'"/> <#call endPage>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy