ilscipio/scipio-erp

View on GitHub
applications/commonext/widget/SystemInfoForms.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">

    <form name="SystemInfoNotes" type="list" list-name="systemInfoNotes" 
        odd-row-style="alternate-row" header-row-style="header-row-2"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <field name="noteDateTime" title="${uiLabelMap.CommonExtDateInfoCreated}"><display type="date-time"/></field>
        <field name="noteInfo" title="${uiLabelMap.CommonExtSystemInfoNote}" widget-style="${styles.link_nav_info_desc} ${styles.action_view}"><hyperlink target="${moreInfoUrl}${groovy: if (moreInfoItemName &amp;&amp;moreInfoItemId)&quot;?&quot; + moreInfoItemName + &quot;=&quot; + moreInfoItemId + &quot;&amp;id=&quot; + moreInfoItemId;}" target-type="inter-app" description="${noteInfo}"></hyperlink></field>
        <field name="deleteAction" title=" " widget-style="${styles.link_run_sys} ${styles.action_remove}" >
            <hyperlink target="deleteSystemInfoNote" description="${uiLabelMap.CommonDelete}">
                <parameter param-name="noteId"/>
                <parameter param-name="portalPageId" from-field="parameters.portalPageId"/>
            </hyperlink>
        </field>
    </form>
    
    <form name="EditSysInfoPortletParams" extends="CommonPortletEdit" extends-resource="component://common/widget/PortletEditForms.xml">
        <field name="dummy" title="BLOCK the following notifications:"><display/></field>
        <field name="allNotifications"><check/></field>
        <field name="email"><check/></field>
        <field name="internalNotes"><check/></field>
        <field name="telephoneForwards"><check/></field>
        <field name="taskAssignment"><check/></field>
        <field name="updateAction" widget-style="${styles.link_run_sys} ${styles.action_update}"><submit/></field>
    </form>

    <form name="SystemInfoStatus" type="list" list-name="systemInfoStatus"
        odd-row-style="alternate-row" header-row-style="header-row-2"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <field name="noteDateTime" title="${uiLabelMap.CommonExtDateLastChanged}"><display type="date-time"/></field>
        <field name="noteInfo" title="${uiLabelMap.CommonExtSystemInfoStatus}" widget-style="${styles.link_nav_info_desc} ${styles.action_view}"><hyperlink target="${moreInfoUrl}" target-type="inter-app" description="${noteInfo}"></hyperlink></field>
    </form>
    
    <form name="CreateSystemInfoNote" type="single" target="createSystemInfoNote">
        <field name="noteParty"><text/></field>
        <field name="moreInfoUrl"><text size="50"/></field>
        <field name="noteInfo"><text size="50"/></field>
        <field name="createAction" widget-style="${styles.link_run_sys} ${styles.action_add}"><submit/></field>
    </form>
</forms>