Commit Graph
50 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 9eaf180a4b Documented: migration to help system using asciidoc files
(OFBIZ-11587)

Add <set field=helpAnchor... in CommonScreens for application where it's
not present. With this commit all OFBiz application help go to the html
generated from asciidoc files
2020-09-28 15:15:04 +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
Deepak Dixit 3ee338b9b2 Improved: Consitent menu bar in following screens decorator:
- facility
- workeffort
- iCalendar
- timesheet
- quote

(OFBIZ-7756)(OFBIZ-7818)(OFBIZ-7822)(OFBIZ-7832)(OFBIZ-7841)

Thanks Avnindra Sharma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768263 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 18:13:36 +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
Deepak Dixit b893dd38fc (OFBIZ-7230) Relocate .groovy files in the workeffort component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747775 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:52:49 +00:00
Deepak Dixit 1b85c9d00e (OFBIZ-7021) Renamed workeffort component ftl file name from lower case to upper case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743794 13f79535-47bb-0310-9956-ffa450edef68
2016-05-14 08:12:32 +00:00
Deepak Dixit dde8fa8fd1 (OFBIZ-6822) Applied slightly modified patch from jira isseu, use svn mv command to move .ftl files to new location.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1737486 13f79535-47bb-0310-9956-ffa450edef68
2016-04-02 10:36:00 +00:00
Adrian Crum f1aabee8e4 Cleaned up Work Effort Calendar UI layout.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227713 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 17:28:52 +00:00
Bruno Busco 033bc9b63e Moved TabBar menus in the pre-body section
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995695 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 08:15:37 +00:00
Jacopo Cappellato e39db74910 Improved search capabilities of the work effort calendar screens; converted ftl template to form widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925342 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 17:23:15 +00:00
Andrew Zeneski 72e4c26544 reverted screen include back to ApplicationDecorator (from SingleColumnDecorator) to get the workeffort app running again (broken in rev 894330)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894703 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 20:04:54 +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 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
Hans Bakker 7be572589a let calendar actual dates on workeffort override estimated dates, reorganized buttons on calendar, make the calendar portlet work in myportal and workeffort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786755 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 04:16:52 +00:00
Hans Bakker 4e42e1206e convert ftl menus, added celendar to myportal first page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786422 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 09:21:44 +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 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
Jacques Le Roux 08915956a1 <if-empty field-name= => <if-empty field=
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739739 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 11:07:47 +00:00
Jacques Le Roux 290534059d <entity-one entity-name=(.*)value-name => <entity-one entity-name=$1value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739732 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 10:27:43 +00:00
Jacques Le Roux 572b7683e0 All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +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
Marco Risaliti 3c710f2a58 A lot of cleaning into WorkEffort labels (Part of OFBIZ-1780)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731373 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 22:02:30 +00:00
Adrian Crum 647530a6d2 Eliminated some unnecessary nested expressions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@724882 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 20:55:33 +00:00
Adrian Crum 9a20f1e76a Added Temporal Expression support to Work Effort. Recurring work efforts appear in the calendar.
Notes:

1. The work effort estimated start time and estimated end time must span the recurrence.
2. Until we have a way of tracking event duration, the recurring event duration is set to the requested time period.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@700661 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 02:37:07 +00:00
Bilgin Ismet Ibryam a5c7fb4852 Added possibility to filter WorkEfforts by type in WorkEffort -> Calendar screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@668152 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 13:19:25 +00:00
Adrian Crum 438c0fc581 More UI work in the Work Effort component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@664119 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 20:52:38 +00:00
Ashish Vijaywargiya 2f885778a0 Patch applied from JIRA issue # OFBIZ-1722.
Following things are covered in this patch :-
1) Create CRUD services for AgreementWorkEffortAppl. This should go in Accounting Component.
2) Create CRUD UI for AgreementWorkEffortAppl in Accounting --> Agreement to Add/Edit/Delete an AgreementWorkEffortAppl for an agreementId.
3) Create another CRUD UI in WorkEffort --> WorkEffort to Add/Edit/Delete an AgreementWorkEffortAppl for a workEffortId.
4) Create Lookups for Agreement and AgreementItems.

Thanks Nitin Bhawsar,Ravindra Mandre for working on this.
Special thanks to Jacopo and Mridul for your helpful comments.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663966 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 14:40:39 +00:00
Adrian Crum ef6e7b077d Eliminated the need for a separate stylesheet for component calendars. Improved calendar styling.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@627239 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 03:53:17 +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
Marco Risaliti c8485ad2a1 Lookup/Request/Timesheet/WorkEffort forms (ftl/widgets screen) has now the same look and feel (Part of issue OFBIZ-1596)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615577 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 11:18:33 +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 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 5efd29d353 Layout enhancements to the workeffort calendar screens by Adrian Crum (OFBIZ-929).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533297 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 05:35:06 +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
Jacopo Cappellato 311ca7c08c Applied patch from Adrian Crum (OFBIZ-671) to refactor form, menu, tree widget styles management (now mostly all the styles are defined externally using css): this is still a work in progress.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514099 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 08:14:07 +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
David E. Jones a86f34cf2f Applied improvement patch from Anil/Ashish for WorkEffort* maint screens from Jira #OFBIZ-540; made one small change to this to make the 4 statusId fields on both sides of the WorkEffortGoodStandard entity optional (removed * and set allow-empty=true)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486370 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 22:23:12 +00:00
David E. Jones 2a824a2694 Applied patch from Anil Patel and Ashish Vijaywargiya with admin screens, service, etc for the WorkEffortReview, WorkEffortContent, and WorkEffortGoodStandard entities; Jira #OFBIZ-540
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486033 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 05:19:30 +00:00
Jacopo Cappellato a745d84a8a License change from MIT to ASL2.0 for many of the files of the workeffort and party components.
Thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87), that is partially applied with this commit.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422152 13f79535-47bb-0310-9956-ffa450edef68
2006-07-15 06:45:10 +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