alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Struts example source code file (ajax-common.ftl)

This example Struts source code file (ajax-common.ftl) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Struts tags/keywords

The Struts ajax-common.ftl source code

<#--
/*
 * $Id: ajax-common.ftl 590812 2007-10-31 20:32:54Z apetrelli $
 *
 * 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.
 */
-->
  <#if parameters.id?if_exists != "">
  	id="${parameters.id?html}"<#rt/>
  </#if>
  <#if parameters.formId?if_exists != "">
  	formId="${parameters.formId?html}"<#rt/>
  </#if>
  <#if parameters.formFilter?if_exists != "">
  	formFilter="${parameters.formFilter?html}"<#rt/>
  </#if>
  <#if parameters.tabindex?if_exists != "">
    tabindex="${parameters.tabindex?html}"<#rt/>
  </#if>
  <#if parameters.cssClass?if_exists != "">
    class="${parameters.cssClass?html}"<#rt/>
  </#if>
  <#if parameters.cssStyle?if_exists != "">
    style="${parameters.cssStyle?html}"<#rt/>
  </#if>
  <#if parameters.label?if_exists != "">
    label="${parameters.label?html}"<#rt/>
  </#if>
  <#if parameters.title?if_exists != "">
    title="${parameters.title?html}"<#rt/>
  </#if>
  <#if parameters.name?if_exists != "">
  	name="${parameters.name?html}"<#rt/>
  </#if>
  <#if parameters.href?if_exists != "">
  	href="${parameters.href}"<#rt/>
  </#if>
  <#if parameters.loadingText?if_exists != "">
    loadingText="${parameters.loadingText?html}"<#rt/>
  </#if>
  <#if parameters.errorText?if_exists != "">
    errorText="${parameters.errorText?html}"<#rt/>
  </#if>
  <#if parameters.executeScripts?exists>
    executeScripts="${parameters.executeScripts?string?html}"<#rt/>
  </#if>
  <#if parameters.listenTopics?if_exists != "">
    listenTopics="${parameters.listenTopics?html}"<#rt/>
  </#if>
   <#if parameters.notifyTopics?if_exists != "">
    notifyTopics="${parameters.notifyTopics?html}"<#rt/>
  </#if>
  <#if parameters.beforeNotifyTopics?if_exists != "">
    beforeNotifyTopics="${parameters.beforeNotifyTopics?html}"<#rt/>
  </#if>
  <#if parameters.afterNotifyTopics?if_exists != "">
    afterNotifyTopics="${parameters.afterNotifyTopics?html}"<#rt/>
  </#if>
  <#if parameters.errorNotifyTopics?if_exists != "">
    errorNotifyTopics="${parameters.errorNotifyTopics?html}"<#rt/>
  </#if>
  <#if parameters.targets?if_exists != "">
    targets="${parameters.targets?html}"<#rt/>
  </#if>
  <#if parameters.handler?if_exists != "">
    handler="${parameters.handler?html}"<#rt/>
  </#if>
  <#if parameters.indicator?if_exists != "">
    indicator="${parameters.indicator?html}"<#rt/>
  </#if>
  <#if parameters.showErrorTransportText?exists>
    showError="${parameters.showErrorTransportText?string?html}"<#rt/>
  </#if>
  <#if parameters.showLoadingText?exists>
    showLoading="${parameters.showLoadingText?string?html}"<#rt/>
  </#if>
  <#if parameters.highlightColor?if_exists != "">
    highlightColor="${parameters.highlightColor?html}"<#rt/>
  </#if>
  <#if parameters.highlightDuration?if_exists != "">
    highlightDuration="${parameters.highlightDuration?html}"<#rt/>
  </#if>
  <#if parameters.separateScripts?exists>
    scriptSeparation="${parameters.separateScripts?string?html}"<#rt/>
  </#if>
  <#if parameters.transport?if_exists != "">
    transport="${parameters.transport?html}"<#rt/>
  </#if>
  <#if parameters.parseContent?exists>
    parseContent="${parameters.parseContent?string?html}"<#rt/>
  </#if>

Other Struts examples (source code examples)

Here is a short list of links related to this Struts ajax-common.ftl source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.