Commit Graph
45 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
holivier 56f164d3a8 Documented: migrate help link to asciidoc user manual for Order
(OFBIZ-11580)

All files have been migrated to asciidoc format and help link now point
to the html file generated from the asciidoc files

In the global Help Docbook index tree, remove all points about
Order and add a short page with a link to the new help

Remove docbook help files for Order
2020-07-02 12:07:05 +02:00
Jacques Le Roux cf0c677e10 Improved: Clean images, among them logos, in all locations used
(OFBIZ-10128)

Fix my previous commits, there is no themes webapp so no URL at 
/themes/common/webapp/images/ofbiz_logo.png
It's only images/ofbiz_logo.png


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820978 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 12:56:30 +00:00
Jacques Le Roux b964875337 Improved: Clean images, among them logos, in all locations used
(OFBIZ-10128)

The ofbiz_logo.png is now in theme. This is only the framework part. 
I have also made change in theme but I need to review again and perhaps create 
a patch for others to review...
Note: testUpdatePartyGroup is OK

Then I'll also rename the logo in site to use the same name before maybe
referring to svn trunk repo to use only 1 file everywhere, same for the .ico
file

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820862 13f79535-47bb-0310-9956-ffa450edef68
2018-01-11 11:05:26 +00:00
Jacques Le Roux 95b17d4d23 Improved: The main logo in screen upper part shows distorted
(OFBIZ-9990)

Fixes this issue in Tomahawk and Flat Grey themes by using ofbiz_logo.png, 
instead of the old logo deprecated ofbiz_logo.gif 

While at it use the same logo everywhere it's possible. It was needed for links 
to http://ofbiz.apache.org/images/ofbiz_logo.gif which no longer exists 
(actually seems only used for tests so could stay like that but better not refer 
to it anyway)

Also use this logo for Bluelight theme where it fits. 

It could not be used in Rainbow themes because they are using a Scalable Vector 
Graphics file (ofbiz-white.svg) that can't be replaced by the new png logo file
BTW this file still uses a TM symbol instead of a ®

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816897 13f79535-47bb-0310-9956-ffa450edef68
2017-12-01 18:45:50 +00:00
Deepak Dixit 1a7aee6685 Improved:Use from-field pattern instead of value=dollor pattern in 'set' element
Apply slightly modified patch from jira issue, fixed some typo (OFBIZ-9607)
Thanks Suraj Khurana and Rohit Rai for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806326 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 20:23:40 +00: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
Bruno Busco a73eea553c Moved RequestTabBar to pre-body decorator-section
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1032660 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 18:23:14 +00:00
Vikas Mayur bd10afbae7 Parameterize the location of CommonQuoteDecorator decorator screen so that it is easier to override this screen with a custom decorator screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946105 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 10:19:30 +00:00
Vikas Mayur 365dee1634 Removed an unnecessary decorator screen CommonQuotePriceDecorator related to Order Manager Quotes. The only difference between this and screen
CommonQuoteDecorator is that the the former has a permission check for ORDERMGR__QUOTE_PRICE where as latter has a check for permission 
ORDERMGR_VIEW. The permission ORDERMGR_QUOTE_PRICE is though already checked at menu level and hence is not required explicity
at the decorator level.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946100 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 10:04:17 +00:00
Erwan de Ferrieres b4c14b44ba Correction for "OFBIZ-3390 The add address feature in order manager/order creation is broken"
* adding missing decorator
* adding missing save-home-view

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916205 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 09:41:46 +00:00
Bruno Busco 1c0b238799 [OFBIZ-3274] - Using decorator sections to control the left-bar
The leftbar content is now defined using the "left-column" ApplicationDecorator section instead of setting the variables "leftbarScreenName", "leftbarScreenLocation" and "MainColumnStyle".
The logic that checks if the "left-column" section has content, and thus if a left column must be rendered, has been moved from the GlobalDecorator to the ApplicationDecorator.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894330 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 09:22:45 +00:00
Bruno Busco f6fe95d163 Reverted changes 836143 and 836137 following Adrian's issue report in https://issues.apache.org/jira/browse/OFBIZ-3206 "Recent Markup Changes Break Layout"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880628 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 06:49:10 +00:00
Bruno Busco 33b6e17262 Moved TabBar menus to tabbar decorator-section for the order application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@836137 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 07:45:47 +00:00
Bruno Busco df78c784c8 Part of OFBIZ-3067 - Menus and form widget files location
Order component
Renamed order/widget/ordermgr/Menus.xml to order/widget/ordermgr/OrderMenus.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829130 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 17:12:35 +00:00
Scott Gray 68f180a494 OFBIZ-2625 Ability to perform product comparisons in ecommerce and during order entry in ordermgr.
Compares things like name, price, description, long description, brand name and standard, distinguishing and optional features.

Could do with some styling and would be nice to add customer ratings in there as well.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797259 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 23:28:32 +00:00
Ashish Vijaywargiya 50ac1e216a Added error uiLabelMap to CommonScreens.xml of order component.
Thanks Sumit for your patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791704 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 05:08:40 +00:00
David E. Jones 70f8da92bb Moved logo and icon images back to images component and removed from everywhere else; all references to these should be to there only now; fixes issue with logo in ecommerce and other little things
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766426 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 06:12:55 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Hans Bakker bdf0787a93 move request menu into general ordermenu, only show createquote from request if the quote type is ok
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761537 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 06:38:10 +00:00
Hans Bakker cbbe02a1d8 many cleanups, moved customer requests back into order, fixed the edit contactmech in portal as reported in the mailing list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761186 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 06:57:09 +00:00
Hans Bakker 041ccc0a7d rename applicationext component to commonext
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748388 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 04:05:47 +00:00
Hans Bakker 5192a24e48 introduction of a common component for applications. moved the 2 lines containing party info to this component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748144 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 13:36:51 +00:00
Marco Risaliti 6554ab80c1 Artifact cleaning on order component after recent changes on xsd files (OFBIZ-2137)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739028 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 21:38:21 +00:00
Hans Bakker ff7759b530 show the component name at the login screen for all components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@734074 13f79535-47bb-0310-9956-ffa450edef68
2009-01-13 08:47:35 +00:00
Ashish Vijaywargiya 47262a54db Applied patch from Bruno Busco "Replacing FTL TabBar with menu widgets in Ordermgr" https://issues.apache.org/jira/browse/OFBIZ-2049.
PS :- Anybody of you having framework access can commit the changes from CommonMenus.xml file ?

Thanks Bruno Busco for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718168 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 03:53:47 +00:00
Hans Bakker 5cea27a539 implementation of OFBIZ-2024: add content attachments to a customer request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709427 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 14:09:43 +00:00
Hans Bakker c7fd0326a1 several improvements to the customer request screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687279 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 08:03:43 +00:00
Hans Bakker e6d156feca move creation buttons to the decorator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677045 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 21:26:19 +00:00
Hans Bakker f542383ece move the request decorator to the commonscreens file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677042 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 21:19:45 +00:00
Adrian Crum 68c1dbbaf9 Second sweep through the maincss.css style sheet. Changed the head1, head2, and head3 style names to h1, h2, and h3. Updated affected styles in ftl and xml files.
The ecommerce component is excluded from this commit.

These changes shouldn't break any layout. If you spot something wrong, let me know and I'll fix it.

I won't make any more maincss.css changes for a little while. I'll let the dust settle from these two commits, then I'll go through the file and physically remove the deprecated styles.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@627051 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 19:30:09 +00:00
Adrian Crum 085e65e5b8 Eliminated redundant code by switching components over to the common login and password change screens. I didn't change the hand held component - since it will probably need its own login screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588474 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 02:29:49 +00:00
Jacopo Cappellato c3c7cdb4c3 Better handling of global variables to set the url for the application logo: now ONE global variable is set in GlobalDecorator and this will affect all the applications; if we need a custom logo for each application then we will have to uncomment the variable setting in the application's main-decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579920 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 06:43:11 +00:00
Jacopo Cappellato 4b1cc3d617 Moved all the labels starting with Ecommerce* from the ecommerce component to the order component; in this way the order component, that was using many of the labels will no longer depend on the ecommerce component.
I know this is not an optimal solution and it would probably make sense to keep duplicated labels (sometimes the same object in order entry and ecommerce can be rendered with different words) but for now (since several templates are shared) it is the best solution I could find.
Let me know if you don't agree and I will revert this commit.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@554622 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 12:48:27 +00:00
Jacopo Cappellato 4e8e2dac8e Implemented 'Require Password Change' in ecommerce and manager apps: if the new field in the UserLogin entity is set to Y then, before the login, the user will be prompted for a new password.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549406 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:20:53 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Jacopo Cappellato a0af28bd8c Added ui label file for content to the order screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522024 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 13:21:54 +00:00
Jacopo Cappellato 330a0d13d3 Applied patch from Chris Howe to extend support for parametric mainDecoratorLocation to all the screens.
OFBIZ-803

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516675 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 10:11:50 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacopo Cappellato 0c431fe3e3 License change from MIT to ASL2.0 for the files of the order component.
Thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422818 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 19:46:37 +00:00
Hans Bakker 7bc0010707 extended the list of workefforts for a quote by adding a new view
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@421541 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 08:32:49 +00:00
Hans Bakker 99e924a2b3 use of the web.xml maindecorator in the quotescreens + fix quoteworkefforts screenproblems + dutch language file update
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@421501 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 05:23:20 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00