Commit Graph
13 Commits
Author SHA1 Message Date
Nicolas Malin 7165768251 Implemented: Add a framework method to get main webapp menu with the webapp name
(OFBIZ-10601)

To improve theme management and provide better tools for new themes, we implement a method to obtain the main menu of a webapp.
Instead of just managing a menu, we extend the functionality by offering a method to expose a summary of the webapp, to simplify the navigation.

For this we add a new attribute on webapp definition app-shortcut-screen :

    <webapp name="mywebapp"
            ...
            app-shortcut-screen="component://mycomponent/widget/CommonScreens.xml#ShortcutApp"
            ...
    />

The idea is to define a new purpose screen *Shortcut* that contains what defines a webapp when an action or navigation has been requested. With this screen you can load a menu, a search, a complex description and use all screen powerfulness to resolve what displaying and support by theming

    <screen name="ShortcutApp">
        <section>
            <actions>
                <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
            </actions>
            <widgets>
                <decorator-screen name="ShortcutDecorator" location="component://common/widget/CommonScreens.xml">
                    <decorator-section name="body">
                        <include-menu name="MyShortcutAppBar" location="component://mycomponent/widget/CommonMenus.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

Each component are self-sufficient to define what shortcuts to display without framework change or knowledge about other component.
Each theme can implement and customize the display rendering at will.

To illustrate an example of implementation we set sub menu for each webapp defined on applications and exploit it on bluelight theme.

Thanks for Dennis Balkir, Jacques Leroux, Leila Mekika and Julien Nicolas for their involvement
2021-01-15 08:56:23 +01:00
Jacques Le Roux c8ba932772 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux 89212904bd Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux 4931db1ed9 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Anil Patel 90492f6f54 updated menu name to simple and generic. Updated screens using it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834623 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 19:33:57 +00:00
Bruno Busco 0cc834344c Removed the word "Application" from the Application menu title (OFBIZ-3016)
At this stage I did this for the primary applications only.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823833 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 09:27:30 +00:00
Anil Patel 7dd00f3fb9 Added a screen in AP to find and view Payment Group of type Check Run and Batch Payment Deposits in.
Patch from OFBIZ-2896.
Thanks Ratnesh for implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812743 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 01:25:48 +00:00
Anil Patel 6a282ce83d Improved process to create payment deposit batch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@805748 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 11:14:26 +00:00
Ashish Vijaywargiya 7c30434958 Applied patch from jira issue OFBIZ-2699 - Create Payment Batches for Ar Payment
Following things are covered in this section:
– Added running total functionality .
– Improvement in existing code and service logic 

Thanks Awdesh, Rishi, Sumit & Anil for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791883 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 15:57:44 +00:00
Ashish Vijaywargiya 2c2dbf223a Applied patch from jira issue OFBIZ-2699 (Create Payment Batches for Ar Payment)
Thanks Awdesh, Sumit and Rishi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790965 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 16:50:35 +00:00
Bruno Busco bc9d99b364 - Fixed headerItem and tabButtonItem settings in Accounting, AP and AR (menu items did not highlight correctly)
- Extended ApAppBar and ArAppBar menus from CommonAppBarMenu

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735366 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 01:09:40 +00:00
Bilgin Ismet Ibryam 896d96bdd5 Replaced col-right style with opposed from my previous commit and other places. Thanks to Adrian for pointing out.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@668202 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 15:43:11 +00:00
Vikas Mayur 3456d33ced Add Application level menu/tools for AR - Applied patch for OFBIZ-1667 (https://issues.apache.org/jira/browse/OFBIZ-1667), Thanks SumitPandit for this patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@654551 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 15:31:21 +00:00