Commit Graph
74 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 ef58d647b6 Documented: migrate help link to asciidoc user manual for Party
(OFBIZ-11581)

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
Party and add a short page with a link to the new help

Remove docbook help files for Party
2020-07-02 12:19:12 +02:00
Suraj Khurana 9ca5823a8a Improved: Consistency and Readability improvements for include-menu tag.
(OFBIZ-8972)
Thanks Ankush Upadhyay for reporting and Devanshu Vyas for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1845088 13f79535-47bb-0310-9956-ffa450edef68
2018-10-29 08:29:43 +00: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 d09255c0b7 Reverted: Minilang code readability and consistency improvements done at r#1768222, this commit reversed key and description of drop-down in the code.
(OFBIZ-9114)

Thanks  Wei Zhang for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1772880 13f79535-47bb-0310-9956-ffa450edef68
2016-12-06 12:37:42 +00:00
Divesh Dutta 70eb7ff508 Improvement: Minilang code readability and consistency improvements.
(OFBIZ-8929) (OFBIZ-8930) (OFBIZ-8953) (OFBIZ-8965) (OFBIZ-8972) (OFBIZ-8986) (OFBIZ-8991) 

Thanks: Ankush Upadhyay, Anuj Jain, Abhijeet for your patches. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768222 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:34:00 +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
Adrian Crum 17e1916e8a Finished moving security-related UI artifacts to the common component, plus added a Security UI to the webtools component.
Internationalization note: This commit contains new UI labels.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053259 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 05:19:49 +00:00
Adrian Crum e4d3a1758e Moved remaining security UI artifacts to the common component. This commit introduces a minor dependency from framework/common to applications/party - which will be fixed in a future commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050936 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 19:10:50 +00:00
Adrian Crum 9596919a91 Moved user login UI artifacts from the Party component to the Common component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050766 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 06:07:53 +00:00
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Vikas Mayur e47cf6566c Parameterize the location of the screen decorator CommonCommunicationEventDecorator & CommonMyCommunicationEventDecorator so that it is
easier to override them with custom decorators.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950492 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 11:05:53 +00:00
Hans Bakker b3e4d599a1 fixed email send error reported in issue: 3465
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@943802 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 05:06:06 +00:00
Vikas Mayur a2added370 Replaced
<if-has-permission permission="PARTYMGR" action="_VIEW"/>
with
<if-service-permission service-name="partyBasePermissionCheck" main-action="VIEW"/>



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930248 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 11:45:14 +00:00
Ashish Vijaywargiya 196572c9e4 CommonMyCommunicationEventDecorator is first added and then removed in previous commits. Removing its reference as it was breaking the screens in MyPortal section.
https://localhost:8443/myportal/control/ViewCommunicationEvent

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927790 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 12:14:53 +00:00
Bruno Busco 04c2da71fc Fixed part of OFBIZ-3530 "Litle quirks in Party component" (screenshot-4 and screenshot-6).
Changed menu bar buttons class from smallsubmit to buttontext


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@919239 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 00:08:54 +00:00
Hans Bakker afbdeab656 moved the helpscreens into the framework: a first step. core parts of the content manager to follow. Removed the references to the help screens in confluence
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903589 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 10:09:49 +00:00
Erwan de Ferrieres 48b1528c31 A patch from Nicolas Malin : Party component has dependancy with webPos OFBIZ-3408 (https://issues.apache.org/jira/browse/OFBIZ-3408)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898725 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 11:40:41 +00:00
Erwan de Ferrieres 1f2ade729f Displaying missing menu as reported by Matthieu Bollot on the dev mailing list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897917 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 15:53:50 +00:00
Bruno Busco 189ed3488a Fixed common decorator use in FindCommunicationEvents screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897716 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 22:03:08 +00:00
Hans Bakker 8142ef2fdc show communication even screens within in the communication portlet avoiding having required decorators.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883323 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 12:45:36 +00:00
Jacques Le Roux 89697da742 merged by hand from Simranjeet Singh's HR_Training_improvements.patch in " Enhancements in Trainings under HR module" (https://issues.apache.org/jira/browse/OFBIZ-2531) - OFBIZ-2531
Please see this issue for more, it's enough complicated as is...
In one word this patch was waiting comments for near a month and https://issues.apache.org/jira/browse/OFBIZ-3046 decided me to act!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826266 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 15:05:32 +00:00
Hans Bakker dbd33955ed create a sales opportunity from a incoming email and be able to list related communication events on a sales opportunity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820578 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 09:00:19 +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
Andrew Zeneski abe1040134 a few updates to improve managing communication events with contact lists; added new status for bounced messages, invalidate subscribers from the list(only works if the SMTP server does not accept the address); started working on communication preview (very early ALPHA)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765477 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 05:59:33 +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 f015006761 small corrections in the party profile screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759640 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 06:00:07 +00:00
Hans Bakker cc860ba38b rather big change which contains the following:
1. created a new function in the partyManager called 'myCommunications'
This function enables the sending and receiving of email and internal communications to/from the current userlogin. It looks like an email client for internal and external email.
2. merged the party/webapp/partymgr/communication/CommMenus.xml and party/widget/partymgr/PartyMenus.xml
3. moved all forms/screens from my portal back into the party component
4. fixed some more problems with myportal
5. added 'save-home' and save 'current' in the same pattern as 'save-last' function in the controler.xml
6. added 'view-home' in the same pattern as 'view-last'
7. moved all related uilabels from myportal to party
8. This update needs a re-creation of the portlet/portal entities.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@758522 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 06:06:12 +00:00
Bruno Busco 81ecca0484 Linked Confluence help pages (still empty) for Party application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750603 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 21:40:41 +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
Hans Bakker 557dd16f0c small correction to move the title back under- and not next to the subtabbar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740000 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 15:21:51 +00:00
Marco Risaliti 436ad18a4f Artifact cleaning on party component after recent changes on xsd files (OFBIZ-2137)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739660 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 00:05:16 +00:00
Bruno Busco 6756cce358 Replaced appheader.ftl with a standard AppBar menu widget in Party application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735541 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 20:57:32 +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
Jacques Le Roux 37b70f9aa0 Replace SecurityGroupTabBar.ftl by XML menus
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726126 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 21:48:00 +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
Hans Bakker b568d5118b create a customer request from (email) communicationEvent to be able to import email assignements via requests into the projectmanager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677051 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 21:33:06 +00:00
Hans Bakker eb9770c616 container to screenlet conversion, fixed several errors, still not finished
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676259 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 03:49:48 +00:00
Hans Bakker 4aca7e583c added a special email display screen for email communications
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673672 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 13:15:27 +00:00
Hans Bakker acb9f55445 replace widgets links with a proper menu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660451 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 09:53:16 +00:00
Hans Bakker 8bf4189ad6 a bit too much in last commit: partly reverted...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660433 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 08:53:52 +00:00
Hans Bakker d5c8fbba9f some more button fixing and Apache headers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660429 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 08:50:08 +00:00
Ashish Vijaywargiya 373f8715a0 Applied patch from JIRA issue (Improve HR module) :- https://issues.apache.org/jira/browse/OFBIZ-1659
In this patch PartySkills tab is added in the party section.

Thanks to Harsha Chadhar for your patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657095 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 15:06:11 +00:00
Adrian Crum 100d1f6338 Fixes for some IE 7 layout issues - https://issues.apache.org/jira/browse/OFBIZ-1758. This commit also contains some examples in the Party Manager component. More work needs to be done on the screens that use the tab-bar style.
I also made the Find Party screen follow the layout guidelines proposed in https://issues.apache.org/jira/browse/OFBIZ-1635.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652122 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 21:06:03 +00:00