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

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

There is a newer version: 6.6.1
Show newest version
<#--
/*
 * $Id$
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
-->
<#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??>${config.methodName}
Parameters: <#list config.params?keys as p> ${p}
Default location: ${base}${namespace}/${actionName}<#if extension != "">.${extension}
<@s.url var="url" action="showConfig" includeParams="none"> <@s.param name="namespace">${namespace} <@s.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> <@s.action name="showValidators" executeResult="true"> <@s.param name="clazz" value="'${config.className}'"/> <@s.param name="context" value="'${namespace}'"/> <#call endPage>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy