blob: 5a5c244933c0c30ae6a865b1f944508442951b2b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
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
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
<forms xmlns:xsi="" xmlns="" xsi:schemaLocation="">
<form name="EditExampleExt" extends="EditExample"
<!-- NOTE: add new fields for the EditExample form here -->
<field name="exampleText"><display description="${uiLabelMap.ExampleTextDescription}"/></field>
<!-- In order for these to be at the bottom of the form, we need to hide the buttons from the
original form, and then create new ones. We could use the sort-order element, but that
doesn't work well when we want to allow changes in the original form. -->
<field name="submitButton" use-when="example!=null"><hidden/></field>
<field name="submitButton" use-when="example==null"><hidden/></field>
<field name="submitButtonOvrd" title="${uiLabelMap.CommonCreate}" use-when="example==null" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="submitButtonOvrd" title="${uiLabelMap.CommonUpdate}" use-when="example!=null" widget-style="smallSubmit"><submit button-type="button"/></field>