<#-- 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. --> <#macro renderField text=""><#if text??>${text} <#macro renderItemField value cellType cellStyle="">${cellStyle!}>${value!} <#macro renderDisplayField type imageLocation idName description title class alert inPlaceEditorUrl="" inPlaceEditorParams=""> <#if type=="currency"><#local value = StringUtil.makeStringWrapper(description!)><@renderItemField value "cf" class/> <#elseif type=="date"><@renderItemField description "dt" class/> <#elseif type=="date-time"><@renderItemField description "dtf" class/> <#elseif type=="accounting-number"><@renderItemField description "nf" class/> <#else><@renderItemField description "txf" class/> <#macro renderHyperlinkField> <#macro renderTextField name className alert value textSize maxlength id event action disabled clientAutocomplete ajaxUrl ajaxEnabled mask tabindex readonly placeholder="" delegatorName="default"><@renderItemField value "txf" className/> <#macro renderTextareaField name className alert cols rows maxlength id readonly value visualEditorEnable buttons tabindex language=""> <#macro renderDateTimeField name className alert title value size maxlength id dateType shortDateInput timeDropdownParamName defaultDateTimeString localizedIconTitle timeDropdown timeHourName classString hour1 hour2 timeMinutesName minutes isTwelveHour ampmName amSelected pmSelected compositeType formName mask="" event="" action="" step="" timeValues="" tabindex="" > <#if dateType=="time" ><@renderItemField value "tf" className/> <#elseif dateType=="date"><@renderItemField value "dt" className/> <#else><@renderItemField value "dtf" className/> <#macro renderDropDownField name className alert id multiple formName otherFieldName event action size firstInList currentValue explicitDescription allowEmpty options fieldName otherFieldName otherValue otherFieldSize dDFCurrent ajaxEnabled noCurrentSelectedKey ajaxOptions frequency minChars choices autoSelect partialSearch partialChars ignoreCase fullSearch conditionGroup tabindex><@renderItemField explicitDescription "txf" className/> <#macro renderCheckField items className alert id allChecked currentValue name event action conditionGroup tabindex disabled><@renderItemField currentValue "txf" className/> <#macro renderRadioField items className alert currentValue noCurrentSelectedKey name event action conditionGroup tabindex><@renderItemField currentValue "txf" className/> <#macro renderSubmitField buttonType className alert formName title name event action imgSrc confirmation containerId ajaxUrl tabindex> <#macro renderResetField className alert name title> <#macro renderHiddenField name conditionGroup value id event action> <#macro renderIgnoredField> <#macro renderFieldTitle style title id fieldHelpText="" for=""><@renderItemField title "txf" style/> <#macro renderEmptyFormDataMessage message> <#macro renderSingleFormFieldTitle> <#macro renderFormOpen linkUrl formType targetWindow containerId containerStyle autocomplete name viewIndexField viewSizeField viewIndex viewSize useRowSubmit focusFieldName hasRequiredField> <#macro renderFormClose> <#macro renderMultiFormClose> <#macro renderFormatListWrapperOpen formName style columnStyles> <#macro renderFormatListWrapperClose formName>
<#macro renderFormatHeaderOpen> <#macro renderFormatHeaderClose> <#macro renderFormatHeaderRowOpen style> <#macro renderFormatHeaderRowClose> <#macro renderFormatHeaderRowCellOpen style positionSpan> <#macro renderFormatHeaderRowCellClose> <#macro renderFormatHeaderRowFormCellOpen style> <#macro renderFormatHeaderRowFormCellClose> <#macro renderFormatHeaderRowFormCellTitleSeparator style isLast> <#macro renderFormatItemRowOpen formName itemIndex altRowStyles evenRowStyle oddRowStyle> <#macro renderFormatItemRowClose formName> <#macro renderFormatItemRowCellOpen fieldName style positionSpan> <#macro renderFormatItemRowCellClose fieldName> <#macro renderFormatItemRowFormCellOpen style> <#macro renderFormatItemRowFormCellClose> <#macro renderFormatSingleWrapperOpen formName style> <#macro renderFormatSingleWrapperClose formName>
<#macro renderFormatFieldRowOpen> <#macro renderFormatFieldRowClose> <#macro renderFormatFieldRowTitleCellOpen style> <#macro renderFormatFieldRowTitleCellClose> <#macro renderFormatFieldRowSpacerCell> <#macro renderFormatFieldRowWidgetCellOpen positionSpan style> <#macro renderFormatFieldRowWidgetCellClose> <#macro renderFormatEmptySpace><@renderItemField "" "txf"/> <#macro renderTextFindField name value defaultOption opEquals opBeginsWith opContains opIsEmpty opNotEqual className alert size maxlength autocomplete titleStyle hideIgnoreCase ignCase ignoreCase conditionGroup tabindex> <#macro renderDateFindField className alert id name localizedInputTitle value value2 size maxlength dateType formName defaultDateTimeString imgSrc localizedIconTitle titleStyle defaultOptionFrom defaultOptionThru opEquals opSameDay opGreaterThanFromDayStart opGreaterThan opGreaterThan opLessThan opUpToDay opUpThruDay opIsEmpty conditionGroup tabindex> <#macro renderRangeFindField className alert name value size maxlength autocomplete titleStyle defaultOptionFrom opEquals opGreaterThan opGreaterThanEquals opLessThan opLessThanEquals value2 defaultOptionThru conditionGroup tabindex> <#macro renderLookupField name formName fieldFormName conditionGroup className="" alert="false" value="" size="" maxlength="" id="" event="" action="" readonly=false autocomplete="" descriptionFieldName="" targetParameterIter="" imgSrc="" ajaxUrl="" ajaxEnabled=javaScriptEnabled presentation="layer" width="" height="" position="" fadeBackground="true" clearText="" showDescription="" initiallyCollapsed="" lastViewName="main" tabindex="" delegatorName="default">><@renderItemField value "txf" className/> <#macro renderNextPrev paginateStyle paginateFirstStyle viewIndex highIndex listSize viewSize ajaxEnabled javaScriptEnabled ajaxFirstUrl firstUrl paginateFirstLabel paginatePreviousStyle ajaxPreviousUrl previousUrl paginatePreviousLabel pageLabel ajaxSelectUrl selectUrl ajaxSelectSizeUrl selectSizeUrl commonDisplaying paginateNextStyle ajaxNextUrl nextUrl paginateNextLabel paginateLastStyle ajaxLastUrl lastUrl paginateLastLabel paginateViewSizeLabel> <#macro renderFileField className alert name value size maxlength autocomplete tabindex> <#macro renderPasswordField className alert name value size maxlength id autocomplete tabindex> <#macro renderImageField value description alternate style event action> <#macro renderBanner style leftStyle rightStyle leftText text rightText> <#macro renderContainerField id className> <#macro renderFieldGroupOpen style id title collapsed collapsibleAreaId collapsible expandToolTip collapseToolTip> <#macro renderFieldGroupClose style id title> <#macro renderHyperlinkTitle name title showSelectAll="N"> <#macro renderSortField style title linkUrl ajaxEnabled tooltip="">${title!} <#macro formatBoundaryComment boundaryType widgetType widgetName> <#macro renderTooltip tooltip tooltipStyle> <#macro renderClass className="" alert=""> <#macro renderAsterisks requiredField requiredStyle> <#macro makeHiddenFormLinkForm actionUrl name parameters targetWindow> <#macro makeHiddenFormLinkAnchor linkStyle hiddenFormName event action imgSrc description confirmation>${description!} <#macro makeHyperlinkString linkStyle hiddenFormName event action imgSrc title targetParameters alternate linkUrl targetWindow description confirmation uniqueItemName="" height="" width="" id="">