Author: ashish
Date: Wed Jun 11 23:09:10 2008 New Revision: 666968 URL: http://svn.apache.org/viewvc?rev=666968&view=rev Log: Patch from JIRA issue # OFBIZ-1839. Container to Screenlet conversion for Accounting component. For now followed the CamelCase pattern starting with the First letter as capital one. Thanks Awdesh Singh Parihar for your patch and Ratnesh Upadhyay for your Support. Special thanks to Vikas Mayur and Adrian Crum for their useful comments. Modified: ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml ofbiz/trunk/applications/accounting/widget/BillingAccountScreens.xml ofbiz/trunk/applications/accounting/widget/CostForms.xml ofbiz/trunk/applications/accounting/widget/CostScreens.xml ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml ofbiz/trunk/applications/accounting/widget/FinAccountScreens.xml ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml ofbiz/trunk/applications/accounting/widget/InvoiceScreens.xml ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml ofbiz/trunk/applications/accounting/widget/TaxAuthorityScreens.xml Modified: ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml?rev=666968&r1=666967&r2=666968&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml Wed Jun 11 23:09:10 2008 @@ -169,7 +169,7 @@ </field> </form> <form name="ListAgreementTerms" target="updateAgreementTerm" list-name="agreementTerms" paginate-target="ListAgreementTerms" title="" type="list" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="AgreementTerm"> <condition-list> @@ -490,7 +490,7 @@ <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="ListAgreementWorkEffortAppls" type="list" target="updateAgreementWorkEffortAppl" list-name="agreementWorkEffortAppls" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-and entity-name="AgreementWorkEffortAppl" use-cache="true" list-name="agreementWorkEffortAppls"> <field-map env-name="agreementId" field-name="agreementId" /> Modified: ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml?rev=666968&r1=666967&r2=666968&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml Wed Jun 11 23:09:10 2008 @@ -431,7 +431,7 @@ </form> <form name="ListInvoiceRoles" type="list" use-row-submit="true" title="" list-name="invoiceRoles" paginate-target="invoiceRoles" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <!--auto-fields-entity entity-name="InvoiceRole" default-field-type="display"/--> <field name="invoiceId"><hidden/></field> <field name="partyId" widget-style="buttontext"> Modified: ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml?rev=666968&r1=666967&r2=666968&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml (original) +++ ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml Wed Jun 11 23:09:10 2008 @@ -252,34 +252,10 @@ <widgets> <decorator-screen name="CommonAgreementDecorator" location="${parameters.agreementDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleListAgreementTerms}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListAgreementTerms" location="component://accounting/webapp/accounting/agreement/AgreementForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditAgreementTerm}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddAgreementTerm" location="component://accounting/webapp/accounting/agreement/AgreementForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="AgreementTermPanel" title="${uiLabelMap.PageTitleEditAgreementTerm}" collapsible="true"> + <include-form name="AddAgreementTerm" location="component://accounting/webapp/accounting/agreement/AgreementForms.xml"/> + </screenlet> + <include-form name="ListAgreementTerms" location="component://accounting/webapp/accounting/agreement/AgreementForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -930,32 +906,10 @@ <widgets> <decorator-screen name="CommonAgreementDecorator" location="${parameters.agreementDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingListAgreementWorkEffortAppls}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListAgreementWorkEffortAppls" location="component://accounting/webapp/accounting/agreement/AgreementForms.xml"/> - </widgets> - </section> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingAddAgreementWorkEffortAppl}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddAgreementWorkEffortAppl" location="component://accounting/webapp/accounting/agreement/AgreementForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="AgreementWorkEffortApplsPanel" title="${uiLabelMap.AccountingAddAgreementWorkEffortAppl}" collapsible="true"> + <include-form name="AddAgreementWorkEffortAppl" location="component://accounting/webapp/accounting/agreement/AgreementForms.xml"/> + </screenlet> + <include-form name="ListAgreementWorkEffortAppls" location="component://accounting/webapp/accounting/agreement/AgreementForms.xml"/> </decorator-section> </decorator-screen> </widgets> Modified: ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml?rev=666968&r1=666967&r2=666968&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml Wed Jun 11 23:09:10 2008 @@ -50,7 +50,7 @@ </form> <form name="ListBillingAccountInvoices" type="list" list-name="billingAccountInvoices" paginate-target="BillingAccountInvoices" default-entity-name="Invoice" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="Invoice" list-name="billingAccountInvoices"> <condition-list> @@ -144,7 +144,7 @@ </form> <form name="ListBillingAccountRoles" type="list" list-name="billingAccountRoleList" target="updateBillingAccountRole" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="BillingAccountRole" list-name="billingAccountRoleList"> <condition-expr field-name="billingAccountId" env-name="billingAccountId"/> @@ -232,7 +232,7 @@ <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="ListBillingAccountPayments" type="list" list-name="payments" paginate-target="BillingAccountPayments" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="PaymentAndApplication" list-name="payments"> <condition-expr field-name="billingAccountId" env-name="billingAccountId"/> Modified: ofbiz/trunk/applications/accounting/widget/BillingAccountScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/BillingAccountScreens.xml?rev=666968&r1=666967&r2=666968&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/BillingAccountScreens.xml (original) +++ ofbiz/trunk/applications/accounting/widget/BillingAccountScreens.xml Wed Jun 11 23:09:10 2008 @@ -131,12 +131,10 @@ <widgets> <decorator-screen name="CommonBillingAccountDecorator"> <decorator-section name="body"> - <screenlet title="${uiLabelMap.PageTitleEditBillingAccountRoles}"> - <include-form name="ListBillingAccountRoles" location="component://accounting/widget/BillingAccountForms.xml"/> - </screenlet> - <screenlet title="${uiLabelMap.PageTitleAddBillingAccountRoles}"> + <screenlet id="BllingAccountRolePanel" title="${uiLabelMap.PageTitleAddBillingAccountRoles}" collapsible="true"> <include-form name="AddBillingAccountRole" location="component://accounting/widget/BillingAccountForms.xml"/> </screenlet> + <include-form name="ListBillingAccountRoles" location="component://accounting/widget/BillingAccountForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -229,34 +227,10 @@ <widgets> <decorator-screen name="CommonBillingAccountDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingFindInvoices}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="lookupInvoicesStatus" location="component://accounting/webapp/accounting/invoice/InvoiceForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingListInvoices}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListBillingAccountInvoices" location="component://accounting/widget/BillingAccountForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="BillingAccountInvoicePanel" title="AccountingFindInvoices" collapsible="true"> + <include-form name="lookupInvoicesStatus" location="component://accounting/webapp/accounting/invoice/InvoiceForms.xml"/> + </screenlet> + <include-form name="ListBillingAccountInvoices" location="component://accounting/widget/BillingAccountForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -315,34 +289,10 @@ <widgets> <decorator-screen name="CommonBillingAccountDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditBillingAccountPayments}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListBillingAccountPayments" location="component://accounting/widget/BillingAccountForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingCreatePayment}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="CreateIncomingBillingAccountPayment" location="component://accounting/widget/BillingAccountForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="BillingAccountPaymentPanel" title="${uiLabelMap.AccountingCreatePayment}" collapsible="true"> + <include-form name="CreateIncomingBillingAccountPayment" location="component://accounting/widget/BillingAccountForms.xml"/> + </screenlet> + <include-form name="ListBillingAccountPayments" location="component://accounting/widget/BillingAccountForms.xml"/> </decorator-section> </decorator-screen> </widgets> Modified: ofbiz/trunk/applications/accounting/widget/CostForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/CostForms.xml?rev=666968&r1=666967&r2=666968&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/CostForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/CostForms.xml Wed Jun 11 23:09:10 2008 @@ -21,7 +21,7 @@ <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> <form name="ListCostComponentCalc" type="list" list-name="allCostComponentCalcs" use-row-submit="true" target="updateCostComponentCalc" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <auto-fields-entity entity-name="CostComponentCalc" default-field-type="display"/> <field name="costComponentCalcId" widget-style="buttontext"></field> <field name="costGlAccountTypeId"> Modified: ofbiz/trunk/applications/accounting/widget/CostScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/CostScreens.xml?rev=666968&r1=666967&r2=666968&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/CostScreens.xml (original) +++ ofbiz/trunk/applications/accounting/widget/CostScreens.xml Wed Jun 11 23:09:10 2008 @@ -36,34 +36,10 @@ <widgets> <decorator-screen name="GlobalGLSettingsDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.ManufacturingManageCostComponentCalc} ${uiLabelMap.ManufacturingListCostComponentCalc}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListCostComponentCalc" location="component://accounting/widget/CostForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingCreateCostComponentCalc}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddCostComponentCalc" location="component://accounting/widget/CostForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="CostComponentCalcPanel" title="${uiLabelMap.AccountingCreateCostComponentCalc}" collapsible="true"> + <include-form name="AddCostComponentCalc" location="component://accounting/widget/CostForms.xml"/> + </screenlet> + <include-form name="ListCostComponentCalc" location="component://accounting/widget/CostForms.xml"/> </decorator-section> </decorator-screen> </widgets> Modified: ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml?rev=666968&r1=666967&r2=666968&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml Wed Jun 11 23:09:10 2008 @@ -114,7 +114,7 @@ </form> <form name="ListFinAccountRoles" type="list" list-name="finAccountRoles" target="updateFinAccountRole" separate-columns="true" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="FinAccountRole"> <condition-expr field-name="finAccountId" env-name="finAccountId"/> @@ -150,7 +150,7 @@ </form> <form name="ListFinAccountTransactions" type="list" list-name="finAccountTransactions" separate-columns="true" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="FinAccountTrans"> <condition-expr field-name="finAccountId" env-name="finAccountId"/> @@ -182,7 +182,7 @@ </form> <form name="ListFinAccountAuths" type="list" list-name="finAccountauths" target="expireFinAccountAuth" separate-columns="true" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="FinAccountAuth"> <condition-expr field-name="finAccountId" env-name="finAccountId"/> Modified: ofbiz/trunk/applications/accounting/widget/FinAccountScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/FinAccountScreens.xml?rev=666968&r1=666967&r2=666968&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/FinAccountScreens.xml (original) +++ ofbiz/trunk/applications/accounting/widget/FinAccountScreens.xml Wed Jun 11 23:09:10 2008 @@ -156,34 +156,10 @@ <widgets> <decorator-screen name="CommonFinAccountDecorator" location="${parameters.finAccountDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditFinAccountRole} ${uiLabelMap.CommonFor} ${finAccount.finAccountName} [${finAccountId}]"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddFinAccountRole" location="component://accounting/widget/FinAccountForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleListFinAccountRoles}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListFinAccountRoles" location="component://accounting/widget/FinAccountForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="FinAccountRolePanel" title="${uiLabelMap.PageTitleEditFinAccountRole} ${uiLabelMap.CommonFor} ${finAccount.finAccountName} [${finAccountId}]" collapsible="true"> + <include-form name="AddFinAccountRole" location="component://accounting/widget/FinAccountForms.xml"/> + </screenlet> + <include-form name="ListFinAccountRoles" location="component://accounting/widget/FinAccountForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -202,34 +178,10 @@ <widgets> <decorator-screen name="CommonFinAccountDecorator" location="${parameters.finAccountDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditFinAccountTrans} ${uiLabelMap.CommonFor} ${finAccount.finAccountName} [${finAccountId}]"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddFinAccountTrans" location="component://accounting/widget/FinAccountForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleListFinAccountTrans}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListFinAccountTransactions" location="component://accounting/widget/FinAccountForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="FinAccountTransPanel" title="${uiLabelMap.PageTitleEditFinAccountTrans} ${uiLabelMap.CommonFor} ${finAccount.finAccountName} [${finAccountId}]" collapsible="true"> + <include-form name="AddFinAccountTrans" location="component://accounting/widget/FinAccountForms.xml"/> + </screenlet> + <include-form name="ListFinAccountTransactions" location="component://accounting/widget/FinAccountForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -249,34 +201,10 @@ <widgets> <decorator-screen name="CommonFinAccountDecorator" location="${parameters.finAccountDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditFinAccountAuths} ${uiLabelMap.CommonFor} ${finAccount.finAccountName} [${finAccountId}]"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddFinAccountAuth" location="component://accounting/widget/FinAccountForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleListFinAccountAuths}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListFinAccountAuths" location="component://accounting/widget/FinAccountForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="FinAccountAuthsPanel" title="${uiLabelMap.PageTitleEditFinAccountAuths} ${uiLabelMap.CommonFor} ${finAccount.finAccountName} [${finAccountId}]" collapsible="true"> + <include-form name="AddFinAccountAuth" location="component://accounting/widget/FinAccountForms.xml"/> + </screenlet> + <include-form name="ListFinAccountAuths" location="component://accounting/widget/FinAccountForms.xml"/> </decorator-section> </decorator-screen> </widgets> Modified: ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml?rev=666968&r1=666967&r2=666968&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml Wed Jun 11 23:09:10 2008 @@ -29,7 +29,7 @@ </form> <form name="ListGlAccountOrganization" list-name="listIt" target="" title="" type="list" view-size="50" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar" paginate-target="ListGlAccountOrganization"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar" paginate-target="ListGlAccountOrganization"> <actions> <entity-condition entity-name="GlAccountOrganizationAndClass"> <condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/> @@ -304,7 +304,7 @@ <!-- forms for managing FX rates --> <form name="ListConversions" type="list" list-name="conversions" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <field name="uomId" title="${uiLabelMap.CommonFrom} ${uiLabelMap.CommonCurrency}"><display/></field> <field name="uomIdTo" title="${uiLabelMap.CommonTo} ${uiLabelMap.CommonCurrency}"><display/></field> <field name="conversionFactor"><display/></field> @@ -336,7 +336,7 @@ </form> <form name="ListGlAccountTypeDefaults" type="list" target="" list-name="glAccountTypeDefaults" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="GlAccountTypeDefault" list-name="glAccountTypeDefaults"> <condition-list> @@ -379,7 +379,7 @@ <!-- forms for Sales invoice Itemtypes to GLAccount number --> <form name="ListSalInvoiceItemTypeGlAssignments" type="list" list-name="invoiceItemTypes" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <script location="component://accounting/webapp/accounting/WEB-INF/actions/admin/ListInvoiceItemTypesGlAccount.groovy"/> </actions> @@ -424,7 +424,7 @@ <!-- forms for Purchase invoice Itemtypes to GLAccount number --> <form name="ListPurInvoiceItemTypeGlAssignments" type="list" list-name="invoiceItemTypes" default-map-name="iTypes" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <set field="invItemTypePrefix" value="PINV"/> <script location="component://accounting/webapp/accounting/WEB-INF/actions/admin/ListInvoiceItemTypesGlAccount.groovy"/> @@ -469,7 +469,7 @@ <!-- forms for payment types to GLAccount type --> <form name="ListPaymentTypeGlAssignments" type="list" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="PaymentGlAccountTypeMap"> <condition-expr field-name="organizationPartyId" operator="equals" value="${organizationPartyId}"/> @@ -506,7 +506,7 @@ </form> <!-- forms for payment method Type to GLAccounts --> <form name="ListPaymentMethodTypeGlAssignments" type="list" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="PaymentMethodTypeGlAccount"> <condition-expr field-name="organizationPartyId" operator="equals" value="${organizationPartyId}"/> @@ -610,7 +610,7 @@ <field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit button-type="button"/></field> </form> <form name="ListGlJournals" type="list" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="GlJournal"> <condition-expr field-name="organizationPartyId" operator="equals" env-name="organizationPartyId"/> @@ -628,7 +628,7 @@ </form> <form name="ListProductGlAccounts" type="list" target="updateProductGlAccount" list-name="productGlAccounts" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <auto-fields-service service-name="updateProductGlAccount" default-field-type="display"/> <field name="organizationPartyId"><hidden/></field> <field name="glAccountTypeId"><display-entity entity-name="GlAccountType"/></field> @@ -671,7 +671,7 @@ </form> <form name="ListFinAccountTypeGlAccounts" type="list" target="updateFinAccountTypeGlAccount" list-name="finAccountTypeGlAccounts" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <auto-fields-service service-name="updateFinAccountTypeGlAccount"/> <field name="organizationPartyId"><hidden value="${organizationPartyId}"/></field> <field name="finAccountTypeId"><display-entity entity-name="FinAccountType"/></field> @@ -709,7 +709,7 @@ </form> <form name="ListProductCategoryGlAccounts" type="list" target="updateProductCategoryGlAccount" list-name="productCategoryGlAccounts" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <auto-fields-service service-name="updateProductCategoryGlAccount" default-field-type="display"/> <field name="organizationPartyId"><hidden/></field> <field name="glAccountTypeId"><display-entity entity-name="GlAccountType"/></field> @@ -752,7 +752,7 @@ </form> <form name="ListVarianceReasonGlAccounts" type="list" target="updateVarianceReasonGlAccount" list-name="varianceReasonGlAccounts" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <auto-fields-service service-name="updateVarianceReasonGlAccount" default-field-type="display"/> <field name="organizationPartyId"><hidden/></field> <field name="varianceReasonId"><display-entity entity-name="VarianceReason"/></field> @@ -792,7 +792,7 @@ </form> <form name="ListCreditCardTypeGlAccounts" type="list" target="updateCreditCardTypeGlAccount" list-name="creditCardTypeGlAccounts" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <auto-fields-service service-name="updateCreditCardTypeGlAccount" default-field-type="display"/> <field name="organizationPartyId"><hidden/></field> <field name="glAccountId" title="${uiLabelMap.AccountingGlAccountId}"> @@ -832,7 +832,7 @@ </form> <form name="ListTaxAuthorityGlAccounts" type="list" target="updateOrganizationTaxAuthorityGlAccount" list-name="taxAuthorityGlAccounts" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <auto-fields-service service-name="updateTaxAuthorityGlAccount" default-field-type="display"/> <field name="organizationPartyId"><hidden/></field> <field name="taxAuthGeoId" title="${uiLabelMap.AccountingTaxAuthorityGeo}"> @@ -880,7 +880,7 @@ </form> <form name="ListPartyGlAccounts" type="list" target="updatePartyGlAccount" list-name="partyGlAccounts" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <auto-fields-service service-name="updatePartyGlAccount" default-field-type="display"/> <field name="organizationPartyId"><hidden/></field> <field name="glAccountId" title="${uiLabelMap.AccountingGlAccountId}"> Modified: ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml?rev=666968&r1=666967&r2=666968&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml (original) +++ ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml Wed Jun 11 23:09:10 2008 @@ -104,34 +104,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingChartOfAcctsMenu}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListGlAccountOrganization" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingChartOfAcctsMenu}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AssignGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="GlAccountOrganizationPanel" title="${uiLabelMap.AccountingChartOfAcctsMenu}" collapsible="true"> + <include-form name="AssignGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListGlAccountOrganization" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -269,34 +245,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingFX}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListConversions" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingUpdateFX}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="updateFXConversion" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="FxConversionPanel" title="${uiLabelMap.AccountingUpdateFX}" collapsible="true"> + <include-form name="updateFXConversion" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListConversions" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -315,34 +267,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingGlJournals}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListGlJournals" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingGlJournals}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="EditGlJournal" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="GlJournalPanel" title="${uiLabelMap.AccountingGlJournals}" collapsible="true"> + <include-form name="EditGlJournal" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListGlJournals" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -362,34 +290,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingGlAccountTypeDefaults}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListGlAccountTypeDefaults" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.CommonAdd}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="EditGlAccountTypeDefault" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="GlAccountTypeDefaultPanel" title="${uiLabelMap.CommonAdd}" collapsible="true"> + <include-form name="EditGlAccountTypeDefault" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListGlAccountTypeDefaults" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -408,34 +312,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingSalesInvoiceToRevenue}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListSalInvoiceItemTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingAssignSalesInvoiceToRevenue}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddSalInvoiceItemTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="SalInvoiceItemTypeGlAsigmtPanel" title="${uiLabelMap.AccountingAssignSalesInvoiceToRevenue}" collapsible="true"> + <include-form name="AddSalInvoiceItemTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListSalInvoiceItemTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -454,34 +334,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingPurchaseInvoiceToRevenue}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListPurInvoiceItemTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingAssignPurchaseInvoiceToRevenue}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddPurInvoiceItemTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="PurInvoiceItemTypeGlAsigmtPanel" title="${uiLabelMap.AccountingAssignPurchaseInvoiceToRevenue}" collapsible="true"> + <include-form name="AddPurInvoiceItemTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListPurInvoiceItemTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -499,34 +355,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingPaymentTypeAssigmentList}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListPaymentTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingPaymentTypeAssignAccountType}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddPaymentTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="PaymentTypeGlAsigmtPanel" title="${uiLabelMap.AccountingPaymentTypeAssignAccountType}" collapsible="true"> + <include-form name="AddPaymentTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListPaymentTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -544,34 +376,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingPaymentMethodAssigmentList}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListPaymentMethodTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingPaymentMethodAssignAccountType}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddPaymentMethodTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="PaymentMethodTypeGlAsigmtPanel" title="${uiLabelMap.AccountingPaymentMethodAssignAccountType}" collapsible="true"> + <include-form name="AddPaymentMethodTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListPaymentMethodTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -595,34 +403,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingProductGlAccount}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListProductGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.ProductAddGlAccount}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddProductGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="ProductGlAccountPanel" title="${uiLabelMap.ProductAddGlAccount}" collapsible="true"> + <include-form name="AddProductGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListProductGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -650,34 +434,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingFinAccountTypeGlAccount}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListFinAccountTypeGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingAddFinAccountTypeGlAccount}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddFinAccountTypeGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="FinAccountTypeGlAccountPanel" title="${uiLabelMap.AccountingAddFinAccountTypeGlAccount}" collapsible="true"> + <include-form name="AddFinAccountTypeGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListFinAccountTypeGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -703,34 +463,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingProductCategoryGlAccount}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListProductCategoryGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.ProductAddCategoryGlAccount}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddProductCategoryGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="ProductCategoryGlAccountPanel" title="${uiLabelMap.ProductAddCategoryGlAccount}" collapsible="true"> + <include-form name="AddProductCategoryGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListProductCategoryGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -755,34 +491,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingVarianceReasonGlAccounts}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListVarianceReasonGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingVarianceReasonGlAccounts}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddVarianceReasonGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="VarianceReasonGlAccountPanel" title="${uiLabelMap.AccountingVarianceReasonGlAccounts}" collapsible="true"> + <include-form name="AddVarianceReasonGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListVarianceReasonGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -805,34 +517,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingCreditCardTypeGlAccount}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListCreditCardTypeGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingCreditCardTypeGlAccount}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddCreditCardTypeGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="CreditCardTypeGlAccountPanel" title="${uiLabelMap.AccountingCreditCardTypeGlAccount}" collapsible="true"> + <include-form name="AddCreditCardTypeGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListCreditCardTypeGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -858,34 +546,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditTaxAuthorityGlAccounts}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListTaxAuthorityGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingAddTaxAuthorityGlAccount}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddTaxAuthorityGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="OrgTaxAuthorityGlAccountPanel" title="${uiLabelMap.AccountingAddTaxAuthorityGlAccount}" collapsible="true"> + <include-form name="AddTaxAuthorityGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListTaxAuthorityGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -909,34 +573,10 @@ <widgets> <decorator-screen name="CommonAdminDecorator"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.PageTitleEditPartyGlAccounts}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListPartyGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingAddPartyGlAccount}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="AddPartyGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="PartyGlAccountPanel" title="${uiLabelMap.AccountingAddPartyGlAccount}" collapsible="true"> + <include-form name="AddPartyGlAccount" location="component://accounting/widget/GlSetupForms.xml"/> + </screenlet> + <include-form name="ListPartyGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/> </decorator-section> </decorator-screen> </widgets> Modified: ofbiz/trunk/applications/accounting/widget/InvoiceScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/InvoiceScreens.xml?rev=666968&r1=666967&r2=666968&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/InvoiceScreens.xml (original) +++ ofbiz/trunk/applications/accounting/widget/InvoiceScreens.xml Wed Jun 11 23:09:10 2008 @@ -749,34 +749,10 @@ <widgets> <decorator-screen name="CommonInvoiceDecorator" location="${parameters.invoiceDecoratorLocation}"> <decorator-section name="body"> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingPartyRoleList}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="ListInvoiceRoles" location="component://accounting/webapp/accounting/invoice/InvoiceForms.xml"/> - </widgets> - </section> - </container> - </container> - <container style="screenlet"> - <container style="screenlet-title-bar"> - <container style="h3"> - <label text="${uiLabelMap.AccountingPartyRoleAdd}"/> - </container> - </container> - <container style="screenlet-body"> - <section> - <widgets> - <include-form name="EditInvoiceRole" location="component://accounting/webapp/accounting/invoice/InvoiceForms.xml"/> - </widgets> - </section> - </container> - </container> + <screenlet id="PartyInvoiceRolePanel" title="${uiLabelMap.AccountingPartyRoleAdd}" collapsible="true"> + <include-form name="EditInvoiceRole" location="component://accounting/webapp/accounting/invoice/InvoiceForms.xml"/> + </screenlet> + <include-form name="ListInvoiceRoles" location="component://accounting/webapp/accounting/invoice/InvoiceForms.xml"/> </decorator-section> </decorator-screen> </widgets> Modified: ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml?rev=666968&r1=666967&r2=666968&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml Wed Jun 11 23:09:10 2008 @@ -67,7 +67,7 @@ </form> <form name="ListTaxAuthorityCategories" type="list" list-name="taxAuthorityCategoryList" target="updateTaxAuthorityCategory" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="TaxAuthorityCategory" list-name="taxAuthorityCategoryList"> <condition-list combine="and"> @@ -101,7 +101,7 @@ </form> <form name="ListTaxAuthorityAssocs" type="list" list-name="taxAuthorityAssocList" target="updateTaxAuthorityAssoc" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="TaxAuthorityAssoc" list-name="taxAuthorityAssocList"> <condition-list combine="and"> @@ -158,7 +158,7 @@ </form> <form name="ListTaxAuthorityGlAccounts" type="list" list-name="taxAuthorityGlAccountList" target="updateTaxAuthorityGlAccount" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="TaxAuthorityGlAccount" list-name="taxAuthorityGlAccountList"> <condition-list combine="and"> @@ -198,7 +198,7 @@ </form> <form name="ListTaxAuthorityRateProducts" type="list" list-name="taxAuthorityRateProductList" target="updateTaxAuthorityRateProduct" separate-columns="true" - odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> + odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="TaxAuthorityRateProduct" list-name="taxAuthorityRateProductList"> <condition-list combine="and"> |
Free forum by Nabble | Edit this page |