Author: jacopoc
Date: Thu Feb 5 07:30:00 2009 New Revision: 741034 URL: http://svn.apache.org/viewvc?rev=741034&view=rev Log: Slightly improved ui for form used to add/edit a global gl account. Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsScreens.xml Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml?rev=741034&r1=741033&r2=741034&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml Thu Feb 5 07:30:00 2009 @@ -558,14 +558,14 @@ <request-map uri="createGlAccount"> <security https="true" auth="true"/> <event type="service" invoke="createGlAccount"/> - <response name="success" type="view" value="EditGlobalGlAccount"/> - <response name="error" type="view" value="EditGlobalGlAccount"/> + <response name="success" type="view" value="GlAccountNavigate"/> + <response name="error" type="view" value="GlAccountNavigate"/> </request-map> <request-map uri="updateGlAccount"> <security https="true" auth="true"/> <event type="service" invoke="updateGlAccount"/> - <response name="success" type="view" value="EditGlobalGlAccount"/> - <response name="error" type="view" value="EditGlobalGlAccount"/> + <response name="success" type="view" value="GlAccountNavigate"/> + <response name="error" type="view" value="GlAccountNavigate"/> </request-map> <request-map uri="ListGlAccountOrganization"><security https="true" auth="true"/><response name="success" type="view" value="ListGlAccountOrganization"/></request-map> Modified: ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml?rev=741034&r1=741033&r2=741034&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml Thu Feb 5 07:30:00 2009 @@ -135,6 +135,7 @@ <field name="postedBalance"><display/></field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> + <field name="submitButton" title="${uiLabelMap.CommonAdd}" use-when="glAccount==null" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <!-- this is used to list AcctgTransEntries and can be called either by using an acctgTransId or a glAccountId --> Modified: ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsScreens.xml?rev=741034&r1=741033&r2=741034&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsScreens.xml (original) +++ ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsScreens.xml Thu Feb 5 07:30:00 2009 @@ -172,7 +172,7 @@ <container style="screenlet"> <container style="screenlet-title-bar"> <container style="h3"> - <label text="${uiLabelMap.AcctgNavigateAccts}"/> + <label text="${uiLabelMap.PageTitleEditGlAccount}"/> </container> </container> <container style="screenlet-body"> |
Free forum by Nabble | Edit this page |