ilscipio/scipio-erp

View on GitHub
applications/content/widget/contentsetup/ContentSetupForms.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->

<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
    <!-- ContentType forms -->
    <form name="AddContentType" target="addContentType" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-service service-name="createContentType"/>
        <field name="submitAction" title="${uiLabelMap.CommonAdd}" widget-style="${styles.link_run_sys} ${styles.action_add}">
            <submit button-type="button"/>
        </field>
    </form>
    <form name="UpdateContentType" list-name="contentList" target="updateContentType" title="" type="list"
        odd-row-style="alternate-row" header-row-style="header-row-2"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
          <entity-condition entity-name="ContentType" use-cache="false"/>
        </actions>
        <auto-fields-service service-name="updateContentType"/>
        <field name="contentTypeId">
            <display/>
        </field>
        <field name="submitAction" title="${uiLabelMap.CommonUpdate}" widget-style="${styles.link_run_sys} ${styles.action_update}">
            <submit button-type="button"/>
        </field>
        <field name="deleteAction" title=" " widget-style="${styles.link_run_sys} ${styles.action_remove}">
            <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeContentType">
                <parameter param-name="contentTypeId"/>
            </hyperlink>
        </field>
    </form>

    <!-- ContentTypeAttr forms -->
    <form name="AddContentTypeAttr" target="addContentTypeAttr" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-service service-name="createContentTypeAttr"/>
        <field entity-name="ContentType" name="contentTypeId">
            <drop-down allow-empty="false">
                <entity-options description="${description}"
                    entity-name="ContentType" key-field-name="contentTypeId"/>
            </drop-down>
        </field>
        <field name="submitAction" title="${uiLabelMap.CommonAdd}" widget-style="${styles.link_run_sys} ${styles.action_add}">
            <submit button-type="button"/>
        </field>
    </form>
    <form name="UpdateContentTypeAttr" list-name="contentList" target="updateContentTypeAttr" title="" type="list"
        odd-row-style="alternate-row" header-row-style="header-row-2"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
        <entity-condition entity-name="ContentTypeAttr" use-cache="false"/>
        </actions>
        <auto-fields-service service-name="createContentTypeAttr"/>
        <field name="contentTypeId">
            <display/>
        </field>
        <field name="attrName">
            <display/>
        </field>
        <field name="deleteAction" title=" " widget-style="${styles.link_run_sys} ${styles.action_remove}">
            <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeContentTypeAttr">
                <parameter param-name="contentTypeId"/>
                <parameter param-name="attrName"/>
            </hyperlink>
        </field>
    </form>

    <!-- ContentAssocType forms -->
    <form name="AddContentAssocType" target="addContentAssocType" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-service service-name="createContentAssocType"/>
        <field name="submitAction" title="${uiLabelMap.CommonAdd}" widget-style="${styles.link_run_sys} ${styles.action_add}">
            <submit button-type="button"/>
        </field>
    </form>
    <form name="UpdateContentAssocType" list-name="contentList" target="updateContentAssocType" title="" type="list"
        odd-row-style="alternate-row" header-row-style="header-row-2"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <entity-condition entity-name="ContentAssocType" use-cache="false"/>
        </actions>
        <auto-fields-service service-name="updateContentAssocType"/>
        <field name="contentAssocTypeId">
            <display/>
        </field>
        <field name="submitAction" title="${uiLabelMap.CommonUpdate}" widget-style="${styles.link_run_sys} ${styles.action_update}">
            <submit button-type="button"/>
        </field>
        <field name="deleteAction" title=" " widget-style="${styles.link_run_sys} ${styles.action_remove}">
            <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeContentAssocType">
                <parameter param-name="contentAssocTypeId"/>
            </hyperlink>
        </field>
    </form>

    <!-- ContentPurposeType forms -->
    <form name="AddContentPurposeType" target="addContentPurposeType" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-service service-name="createContentPurposeType"/>
        <field name="submitAction" title="${uiLabelMap.CommonAdd}" widget-style="${styles.link_run_sys} ${styles.action_add}">
            <submit button-type="button"/>
        </field>
    </form>
    <form name="UpdateContentPurposeType" list-name="contentList" target="updateContentPurposeType" title="" type="list"
        odd-row-style="alternate-row" header-row-style="header-row-2"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <entity-condition entity-name="ContentPurposeType" use-cache="false"/>
        </actions>
        <auto-fields-service service-name="updateContentPurposeType"/>
        <field name="contentPurposeTypeId">
            <display/>
        </field>
        <field name="submitAction" title="${uiLabelMap.CommonUpdate}" widget-style="${styles.link_run_sys} ${styles.action_update}">
            <submit button-type="button"/>
        </field>
        <field name="deleteAction" title=" " widget-style="${styles.link_run_sys} ${styles.action_remove}">
            <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeContentPurposeType">
                <parameter param-name="contentPurposeTypeId"/>
            </hyperlink>
        </field>
    </form>

    <!-- ContentAssocPredicate forms -->
   <form name="AddContentAssocPredicate" target="addContentAssocPredicate" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-service service-name="createContentAssocPredicate"/>
        <field name="submitAction" title="${uiLabelMap.CommonAdd}" widget-style="${styles.link_run_sys} ${styles.action_add}">
            <submit button-type="button"/>
        </field>
    </form>
    <form name="UpdateContentAssocPredicate" list-name="contentList" target="updateContentAssocPredicate" title="" type="list"
        odd-row-style="alternate-row" header-row-style="header-row-2"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <entity-condition entity-name="ContentAssocPredicate" use-cache="false"/>
        </actions>
        <auto-fields-service service-name="updateContentAssocPredicate"/>
        <field name="contentAssocPredicateId">
            <display/>
        </field>
        <field name="submitAction" title="${uiLabelMap.CommonUpdate}" widget-style="${styles.link_run_sys} ${styles.action_update}">
            <submit button-type="button"/>
        </field>
        <field name="deleteAction" title=" " widget-style="${styles.link_run_sys} ${styles.action_remove}">
            <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeContentAssocPredicate">
                <parameter param-name="contentAssocPredicateId"/>
            </hyperlink>
        </field>
    </form>

    <!-- ContentOperation forms -->
    <form name="AddContentOperation" target="addContentOperation" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-service service-name="createContentOperation"/>
        <field name="submitAction" title="${uiLabelMap.CommonAdd}" widget-style="${styles.link_run_sys} ${styles.action_add}">
            <submit button-type="button"/>
        </field>
    </form>
    <form name="UpdateContentOperation" list-name="contentList" target="updateContentOperation" title="" type="list"
        odd-row-style="alternate-row" header-row-style="header-row-2"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <entity-condition entity-name="ContentOperation" use-cache="false"/>
        </actions>
        <auto-fields-service service-name="updateContentOperation"/>
        <field name="contentOperationId">
            <display/>
        </field>
        <field name="submitAction" title="${uiLabelMap.CommonUpdate}" widget-style="${styles.link_run_sys} ${styles.action_update}">
            <submit button-type="button"/>
        </field>
        <field name="deleteAction" title=" " widget-style="${styles.link_run_sys} ${styles.action_remove}">
            <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeContentOperation">
                <parameter param-name="contentOperationId"/>
            </hyperlink>
        </field>
    </form>
    <!-- ContentPurposeOperation forms -->
    <form name="AddContentPurposeOperation" target="addContentPurposeOperation" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-service service-name="createContentPurposeOperation"/>
        <field name="contentPurposeTypeId">
            <drop-down allow-empty="true">
                <entity-options description="${description}"
                    entity-name="ContentPurposeType" key-field-name="contentPurposeTypeId"/>
            </drop-down>
        </field>
        <field name="contentOperationId">
            <drop-down allow-empty="true">
                <entity-options description="${description}"
                    entity-name="ContentOperation" key-field-name="contentOperationId"/>
            </drop-down>
        </field>
        <field name="roleTypeId">
            <drop-down allow-empty="true">
                <entity-options description="${description}"
                    entity-name="RoleType" key-field-name="roleTypeId"/>
            </drop-down>
        </field>
        <field name="submitAction" title="${uiLabelMap.CommonAdd}" widget-style="${styles.link_run_sys} ${styles.action_add}">
            <submit button-type="button"/>
        </field>
    </form>
    <form name="UpdateContentPurposeOperation" target="" title="" type="list" list-name="contentList"
        odd-row-style="alternate-row" header-row-style="header-row-2"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <entity-one entity-name="ContentPurposeOperation" use-cache="false"/>
        </actions>
        <auto-fields-service service-name="updateContentPurposeOperation" default-field-type="display"/>
        <field name="deleteAction" title=" " widget-style="${styles.link_run_sys} ${styles.action_remove}">
            <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeContentPurposeOperation">
                <parameter param-name="contentPurposeTypeId"/>
                <parameter param-name="contentOperationId"/>
                <parameter param-name="roleTypeId"/>
                <parameter param-name="statusId"/>
                <parameter param-name="privilegeEnumId"/>
            </hyperlink>
        </field>
    </form>
</forms>