Commit Graph
79 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 51ff39c68a Documented: migrate help link to asciidoc user manual for SFA
(OFBIZ-11577)

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

Remove docbook help files for SFA
2020-07-02 11:33:19 +02:00
Arun Patidar 8345feffab Fixed: Incorrect Party profile view redirection in SFA due to missing roleType.
(OFBIZ-10121)
Thanks Ankit Joshi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825233 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 12:40:32 +00:00
Akash Jain 3c6e98816e Fixed: Labels messed up because of missing UiLabels, applied patch from jira issue (OFBIZ-9745)
1) Navigate to SFA and search for contacts.
2) Move to Contact Profile detail screen.
3) Try following processes with UserLogin 
i) Create / Update User Login.
ii) Assign / Edit Security Group to the User Login.
Result: Several UX labels messed up because of missing UiLabels.

Thanks, Ankit Joshi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809429 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 14:06:56 +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
Pranay Pandey 4112c8e904 Fixed: Lead Profile URL not working properly in SFA.
(OFBIZ-9512)

Fixed it at all the places found in SFA where roleTypeId wasn't being passed and creating the issue.

Thanks Jagpreet Kaur for reporting and verifying the issue, thanks Parakh Maheshwari and Devanshu Vyas for reviewing and providing details on their finding and thanks Aditya Sharma for providing the patch.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806261 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 06:23:57 +00:00
Nicolas Malin 747234bda3 With the suppression of all jar to download them form jcenter, the jpim.jar isn't present.
To resolve this issue we can convert the current use for import/export vcard by an other api ez-vcard (https://github.com/mangstadt/ez-vcard) under bsd licence and present on jcenter.

The refactoring raise some problem on existant code, we will try with Gil to improve the import/export to grow data conversion to functional framework.
Some improve on import :
 * check if more than one email is present before check the prefered else take the one
 * check if more than one phone is present before check the prefered else take the one
 * check if more than one address is present before check the prefered else take the one
 * When you load a party by vcard, initialize a reference by fn attribute on PartyIndentification to escape the second loading
Will need continue improve the import like correct Organization loading, update process, add service to detect already party present
I also improve the screen result to display all parties loaded by the import and all already present.
The solution isn't perfect but it's work and compile, first purpose to delete jpim.jar is done :)
Related issue OFBIZ-7961


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756949 13f79535-47bb-0310-9956-ffa450edef68
2016-08-19 17:33:15 +00:00
Pranay Pandey 2897422dee [OFBIZ-7825] Added the missing UI Label resource in the main-decorator for sfa component to fix label issue in SFA Communication Event Content sub menu.
Thanks Aditya Patwa for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752947 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 12:44:32 +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 4a276ecf91 (OFBIZ-7231) Relocate .groovy files in the framework/common component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747776 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:58:37 +00:00
Deepak Dixit e929d179d8 (OFBIZ-7228) Relocate .groovy files in the party component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747770 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:39:22 +00:00
Adrian Crum e5a06480cd Party Manager - consolidate JS file locations into a single folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642575 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 17:47:15 +00:00
Jacques Le Roux 24fe5ff37e Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Bruno Busco 9e6dd1f56c Replaced PortalPageScreen with the new include-portal-page widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023425 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 06:44:14 +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
Bruno Busco eecf528cd6 Added a new "PortalPageScreen" common screen. This can be used to include a portalPage wherever needed (showPortalPage.ftl shouldn't be directly used anymore). The screen needs only the portalPageId input parameter.
Used this new "PortalPageScreen" screen in place of all showPortalPage.ftl includes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900156 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 15:15:14 +00:00
Bruno Busco d85edb6bde Removed settings of unused fields "leftbarScreenName", "leftbarScreenLocation" and "MainColumnStyle"
Removed redundant <container style="left"> in leftbar screens

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895182 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 12:27:53 +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
Hans Bakker 4f1eda0b7a changed proposed by pierre smits, left however the sequence party/related oarties/contact in the left column because also this way in party manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887860 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 08:13:54 +00:00
Bruno Busco ec1d4bb0f2 SFA application
Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
This makes better the rendering of themes such as Dropping Crumbs.

Removed several redundant <section><widget> tags also

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883786 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 17:01:52 +00:00
Hans Bakker 398139f70d add a portal page as the first page in sfa containing calendar and email, but can be changed as required via preferences. add the first screens for events which will appear on the calendar. next step will be to be able to connect events/tasks to opportunities, show them in the party pprofile etc...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835270 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 07:04:41 +00:00
Hans Bakker 861eb020ab 1. combine opportunity's id and name to single field.
2. add 'headerItem' as communicationevent list item link's parameter for height light menu bar
3. fix 'assign to me' buttom shifts to the left.
4. add related company button and form for create new related company in lead and contact.
5. add email buttons in sfa's communication event
6. add lookup screen and form for account lead.
7. fix telecomNumber display format. look ListWorkEffortContactMechs as example
8. rename button 'assign existing account lead' in leads to 'add related company
9. remove assigning existing account in contact
10. on all screens add a 'find' button to go back to the find screen
11. When click on comvert lead, show the message: 'Please first add related company' when company is empty


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834010 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 10:37:52 +00:00
Bruno Busco abe8746f11 Fixed one more screenlet rendering in SFA application. Thank you Jacques for reporting this in ML.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829499 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 06:12:53 +00:00
Bruno Busco 674e88ca66 Fixed two screenlets rendering in SFA application. Thank you Jacques for reporting this in ML.
BTW I think that a better use of decorators is needed in SFA.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829498 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 06:07:52 +00:00
Bruno Busco c2f42ae10e Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826472 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 17:37:00 +00:00
Jacques Le Roux 4eaff226b4 Forgot to commit blue light theme and commons screens in r823888
+ a better French translation
+ Follow the same path and fix Bizness Time : right and left were reversed
All sounds good now : I will backport

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823892 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 17:19:25 +00:00
Jacques Le Roux 89b368ffb9 We need something larger there (Bizness Time is out of reach...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823878 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 16:18:59 +00:00
Hans Bakker 30eda366c0 in the sales opportunity screen add a button to send an email to the lead via mycommunications in party
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820875 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 03:17:38 +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
Hans Bakker fa4e7367bb added the possibility of assigning an existing account or lead to the logged user so it will show up on the screen, reused the contact/account profile realtionship screens from party, added placeholders for help screens in the sfa application.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812383 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 08:28:24 +00:00
Anil Patel ecdfbbf6cf fixed header menu item selection for Opportunities tab.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778969 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 02:27:46 +00:00
Anil Patel 2656823493 Now LeadSource is saved and shown on profile page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778965 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 02:21:26 +00:00
Anil Patel 19d7333090 Changed Opportunities list screen name to be more generic
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778546 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 01:28:00 +00:00
Anil Patel 1d26ae9f32 Add screenlet to show list of opportunity for an account.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778544 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 01:22:10 +00:00
Vikas Mayur 625ea00050 Fix: Contact information of a Lead was not displayed on profile page in SFA
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766636 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 10:04:45 +00:00
Vikas Mayur d7a09fab6a Formatting changes only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766629 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 09:14:11 +00:00
Vikas Mayur acca752d8c Removed duplicate entry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766628 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 09:11:19 +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
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Jacques Le Roux c414afde0f Securing URLs, link element in screens and menus : 23th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761223 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 10:02:34 +00:00
Jacques Le Roux 2ac0493ee6 Securing URLs, link element in screens and menus : 20th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761205 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 08:39:10 +00:00
Jacques Le Roux 573104fbd3 Securing URLs, link element in screens and menus : 16th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760979 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 17:42:45 +00:00
Hans Bakker cd1bba202d fix leads profile mixed up screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749545 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 06:45:13 +00:00
Hans Bakker e9a33b9997 fix white buttons clear problem, correct sfa demo data, make convert lead working
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749536 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 05:37:19 +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 b1e2d247af Artifact cleaning on marketing component after recent changes on xsd files (OFBIZ-2137)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739656 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 23:56:33 +00:00
Scott Gray b206ac15f2 Fix for OFBIZ-2130 reported by Vince Clark.
SFA - ViewProfile (Lead) screen does not show data for Party Content or Notes.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@736882 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 01:28:58 +00:00