Commit Graph
49 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
Taher A. Alkhateeb 8701939677 WorkEffortAttribute CRUD screens patch by Leila Mekika - OFBIZ-7973
This commit follows another commit in which the CRUD services for
WorkEffortAttribute were also submitted by Leila (thank you). I made
some minor modifications to formatting and added Arabic translation
to the submitted labels in the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757822 13f79535-47bb-0310-9956-ffa450edef68
2016-08-26 11:37:52 +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
Pranay Pandey 65e42e18b0 [OFBIZ-7095] Fixed console error on Calendar Widget pagination. An exception is being thrown when pagination buttons are clicked on the Calendar widget.
While clicking on the Prev or Next button from the Calendar widget in any view (Day, Week or Month), an exception is thrown due to unparseable date format. The main reason behind this was due to the 'start' parameter in the parameters map. At the time of creating a valid context for "getWorkEffortEventsByPeriod", the start parameter was expected to be in Timestamp format but was actually in String.

Thanks Chandan Khandelwal for reporting the issue and providing patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744856 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 07:12:29 +00:00
Nicolas Malin 9d696217e2 Corrective patch proposed by Gil Portenseigne that pass link's parameter from flexible string to correct parameter element on calendar menu screen, related to the issue OFBIZ-5847
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1641096 13f79535-47bb-0310-9956-ffa450edef68
2014-11-22 18:05:32 +00:00
Bilgin Ismet Ibryam 9190cdeb89 Renamed AgreementWorkEffortAppl entity to AgreementWorkEffortApplic in order to change relation types so that assigning WorkEfforts to Agreements is possible w/o specifying an agreementItemSeqId.
Added a migrateAgreementWorkEffortAppl service to migrate existing data to the new entity.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883140 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 20:17:38 +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
Adrian Crum 89d23dcb68 Added the ability to add/edit the raw iCalendar data. This can be useful for users who want to use OFBiz to publish public calendars - like US Holidays.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791960 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 19:54:37 +00:00
Hans Bakker fd36165353 Calendars now working in accounting, workeffort and myportal with fixed asset, facility and party. reported by adrian and with help from Jacopo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791057 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 04:21:29 +00:00
Adrian Crum 02e3119a5e iCalendar Help screen and permission bug fix.
Last To Do: Make some meaningful demo data.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790455 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 03:10:35 +00:00
Adrian Crum 8f0ea06db5 UI for iCalendar. I set it up so the iCalendar screens can be reused in another application - a user's Home Page for example.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790373 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:55:09 +00:00
Hans Bakker 02a6b4c0d9 moved calendar forms to own file, removed not used companyevents portlet, can update and cancel calendar events within the portlet calendar, removed sysinfo warnings from log
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789058 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 06:49:25 +00:00
Bruno Busco cb449040b5 Fixed default Calendar menu to Week view instead of Day view (consistent with the default Calendar content)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789017 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 21:23:07 +00:00
Hans Bakker ecf1b60c3d correct links in month/week view
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786968 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 09:36:47 +00:00
Hans Bakker f31a2f6ea4 make the changed calendar screens also working in the asset maintenance component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786952 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 08:34:18 +00:00
Hans Bakker dd6243832e make the changed calendar screens also working in the accounting component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786951 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 08:22:18 +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
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 4766564e4c move company events from myportal to workeffort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762631 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 06:07:32 +00:00
Jacques Le Roux 76f5ca6638 Secure URLs, we don't need to duplicate in from-field when param-name is the same
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762215 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:25:24 +00:00
Jacques Le Roux 76352e305a Securing URLs, link element in screens and menus : 24th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761238 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 10:27:18 +00:00
Jacques Le Roux ca876f93ce Securing URLs, link element in screens and menus : 11th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760789 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 06:16:07 +00:00
Bruno Busco 9fb84beba6 Extended WorkEffort and Ebay AppBar from CommonAppBarMenu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739705 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 07:31:55 +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
Hans Bakker 7ec1fb6789 Rate refactoring, now can have a base rate with diffrent currencies which can be overridden on a party or workeffort level. see OFBIZ-2037 for more info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728894 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 07:26:55 +00:00
Bilgin Ismet Ibryam 16fc8c3514 A patch from Bruno Busco " Extending TabBar menus from CommonTabBar" - OFBIZ-2069
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726655 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 08:56:52 +00:00
Adrian Crum 3b788f4b95 New feature - work effort event reminders. Only works with email for now.
Internationalization note: this commit contains new UI labels.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708620 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 17:52:00 +00:00
Adrian Crum 5c6f02adc9 Work Effort improvements: added fixed asset assignment. Added availability (transparency) to party and fixed asset assignments.
Internationalization note: this commit contains new UI labels.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701868 13f79535-47bb-0310-9956-ffa450edef68
2008-10-05 19:29:40 +00:00
Adrian Crum 621fd16b03 Updated components to use the new CommonEntityChildren UI label.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680022 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 17:43:23 +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 0135c2783d Fixed some stuff that was broken in recent commits.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663795 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 01:16:52 +00:00
Jacques Le Roux 44b401c61e A patch from Shubham Goyal "Set the style for selected menu items for Workeffort" (https://issues.apache.org/jira/browse/OFBIZ-1774) - OFBIZ-1774
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655549 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 16:26:34 +00:00
Marco Risaliti 58e94db34e Find/Request/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@615366 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 21:57:56 +00:00
Jacopo Cappellato 4a2b86d96f Added ability to manage the information in the WorkEffortContactMech entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@575258 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 11:24:18 +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 a76bd77fa8 Added first version of a screen that the user can visit to monitor the status of the async jobs that he/she has submitted.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520301 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 07:24:32 +00:00
Jacopo Cappellato cf45f9e68b Applied patch from Adrian Crum to fix menu selection. OFBIZ-819
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519580 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 09:31:01 +00:00
Jacopo Cappellato 34fe8c22b0 Applied patches from Anil K Patel (OFBIZ-798, OFBIZ-799, OFBIZ-800, OFBIZ-801, OFBIZ-802) to clean up redundant style settings from Forms files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516672 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 09:49:19 +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 e2a6ead3ff Applied patch from Anil Patel in Jira #OFBIZ-549 to implement WorkEffort keyword indexing and a manual keyword admin screen; this is a good start but still a couple of things to do on it
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@488043 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 20:37:42 +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
Jacques Le Roux c3a6dba2db A patch from Ashish Vijaywargiya : new Work Effort Note Forms/Screens (https://issues.apache.org/jira/browse/OFBIZ-339)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451126 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 05:14:22 +00:00
Jacopo Cappellato 89bae6a09c License change from MIT to ASL2.0 for many of the files of the workeffort component.
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@422145 13f79535-47bb-0310-9956-ffa450edef68
2006-07-15 05:44:47 +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