Commit Graph
376 Commits
Author SHA1 Message Date
David E. Jones c2c6aa6b40 If user it not logged in don't include the CommonAppBarMenu as it only has the main link, and that is disabled if the user isn't logged in resulting in a funny empty menu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899060 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 04:56:08 +00:00
Erwan de Ferrieres 232ed5588f In lookup screens, the default currency wasn't selected, and was always showing the first of the list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897843 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 11:42:45 +00:00
Bilgin Ismet Ibryam 857e3b4d6a Added ajax autocompleter support to lookup screens in accounting, party, product and workeffort components.
Also added possibility for passing additional condition to search query. This can be seen in party lookup screens, used to filter disabled parties.
Specifying return field is not required any more - the first field from search fields is used as return field.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897412 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09 10:27:49 +00:00
Bruno Busco 5f1b4fdcd2 Used the new if-empty-section condition tag
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894613 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 13:46:13 +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
Bilgin Ismet Ibryam bd19dc7e9f Applied a modified patch from jira issue OFBIZ-3211 - Ajaxifying lookup fields.
To add ajax support to a lookup screen, you have to add two fields: entityName and searchFields. As a reference please check LookupPartyName and LookupPerson screens in party manager. You can see ajaxed lookups in action in any screen using form widgets and the above lookup screens (findInvocies screen in accounting for example). 
This commit also fixes a bug in controls.js from scriptaculous library, but I reported it in its project list and I will track it further.
To hide the returned values (shown as [ID])from the autocompleter or change the number of items there, you have to modify widget.properties

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894149 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 11:30:40 +00:00
Bruno Busco d9ea486930 Added the geoChart common screen. (OFBIZ-3348)
This can be used to show a set of geo points on a Google map.
The screen takes as input a geoChart map containing:
    * dataSourceId -> select the map system to be used (google, yahoo etc.)
    * width -> map dimensions
    * height -> map dimensions
    * center -> the center point of the map
    * points -> the points array to be showed on the map

Several example screens have been also added to the Example application

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892579 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 09:41:03 +00:00
Ashish Vijaywargiya 0507a954f6 Part of OFBIZ-3320 - Now you will see "Find" button on Lookup forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889088 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:50:29 +00:00
Jacques Le Roux 5cac36d5c5 Complete calendar i18n initialization
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887454 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 23:38:25 +00:00
Jacques Le Roux 3dd84d9f25 A patch from Sascha Rodekamp " Colors and localisation for the calendar" (https://issues.apache.org/jira/browse/OFBIZ-1825) - OFBIZ-1825
Simple and clear implementation!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886143 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 13:54:17 +00:00
Bruno Busco 683f95cee3 A patch from Sascha Rodekamp "Drag'n'Drop update - add directly in the my portal application"
(https://issues.apache.org/jira/browse/OFBIZ-3227) - OFBIZ-3227


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884864 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 12:52:11 +00:00
Scott Gray d55301de85 Switched back to using main-decorator in ManagePortalPages, wrapped the body section in no-clear container since that was the reason why the CommonPartyDecorator was being used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883900 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 22:25:17 +00:00
Bruno Busco 220705d2da A slightly modified patch from Sascha Rodekamp "Drag 'n' Drop for myPortal + update prototype and script.aculo.us"
(https://issues.apache.org/jira/browse/OFBIZ-3190) - OFBIZ-3190

- I changed some tabs to spaces
- It seems to me that everything works with the script.aculo.us version that is already present in the framework; so I did not commit the script.aculo.us update since could break some other thing

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881999 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 23:31:59 +00:00
Adrian Crum 9df0aa6329 Fixed layout problems in the new visual theme.
I took the no-clear style out of the tab bar - that should not have been put there. The no-clear style is intended to be used on a case-by-case basis when the layout is adversely affected by clearing floats.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880871 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 17:48:42 +00:00
Jacques Le Roux 39d105f92f Reverted changes 836044 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@880658 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 08:27:36 +00:00
Jacques Le Roux 5fc931c191 A patch from Bruno Busco "A new droppingcrumbs theme" (https://issues.apache.org/jira/browse/OFBIZ-3156) - OFBIZ-3156
An updated patch to be used to show correctly the tabbars with this theme.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@836044 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 22:47:44 +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
Anil Patel 52e7a3ad66 Removed extra container around labels. Apply h1 (or h2, h3) style to label instead.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834376 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 07:38:24 +00:00
Adrian Crum 0c084368db Added a new CSS class "page-title" intended to be used for the page title in the main content area of the page. Patch provided by Bruno Busco, https://issues.apache.org/jira/browse/OFBIZ-3044 with a minor modification by me.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828882 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:38:57 +00:00
Adrian Crum 6281f15b38 Improved screenlet-body handling, patch from Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-3012.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826469 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 17:09:37 +00:00
Jacques Le Roux 20a3ba3f33 A patch from Bruno Busco "The screenlet Global decorator is not needed any more" (https://issues.apache.org/jira/browse/OFBIZ-3048) - OFBIZ-3048
In the attached patch I just removed the "screenlet" global decorator that is not used any more since we have now the screenlet widget.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826437 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 13:42:51 +00:00
Anil Patel ae2521e332 Removed extra container around labels in FindScreenDecorator. Applied style to label. This will eliminate extra div around text and also renders h1, h2 tags instead of using div with style=h1 (h2).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822581 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 04:22:19 +00:00
Hans Bakker 0b7fe13bb1 On request of adrian, put the VISUAL_THEME default record back in the database, however added the function that values in general properties can override this value. Combined the implementation with the definition of the defaultOrganizationPartyId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820178 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 05:16:17 +00:00
Jacques Le Roux 29722f9a96 A patch from Bruno Busco "Bluelight theme does not support the new help system." (https://issues.apache.org/jira/browse/OFBIZ-2972) - OFBIZ-2972
The attached patch adds all the required files to the Bluelight theme to be compatible with the new help system.
Few styles have also been changed to get Bluelight theme better. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@819400 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27 20:41:40 +00:00
Jacques Le Roux 0c9df22a34 A patch from Erwan de FERRIERES "still some references to smooth_feather" (https://issues.apache.org/jira/browse/OFBIZ-2952) - OFBIZ-2952
There was still some references to smooth_feather theme. This patch replaced them with a call to bizzness time

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816125 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 10:18:55 +00:00
Hans Bakker 03430a2895 added a 'setup' component to create a system from seed data only. After the required data is created with this component it is possible to enter a salesorder and quickship it and create an invoice successfully. The 'setup' component will only show in the tab selection if there is no accounting organization. Check the ofbiz document for more info or look in the file applications/commonext/documents/Setup.xml. Created and sponsored by Antwebsystems. Programmed by employee Tukkata
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816083 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 07:43:05 +00:00
Jacques Le Roux b7a941d4f6 Revert r813307 on Adrian's request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813893 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 16:02:01 +00:00
Jacques Le Roux a7430a2fc2 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41:19 +00:00
Jacopo Cappellato 57f222bf51 Put back set operation, removed by commit 811020 (but without invalid default values, as suggested by Adrian Crum) because without them the ui is broken; part of OFBIZ-2885
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811077 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 18:38:43 +00:00
Jacques Le Roux 851b777cb5 Fix https://issues.apache.org/jira/browse/OFBIZ-2885 as suggested by Adrian - OFBIZ-2885
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811020 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 16:43:08 +00:00
Scott Gray 12566c26b9 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Jacques Le Roux 7befd1d25e no tabs but 4 spaces in code files (*.ftl, *.gro*, *.java, *.xml)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804935 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:01:25 +00:00
Hans Bakker c76137a4c7 several adjustments to the help system, now using contentId to select and use underscore in contentId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804881 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 07:15:41 +00:00
Hans Bakker 63a818ab65 extended the help system so that help pages can also be used from within the content component when available. If not found, the page within ofbiz.apache.org will be displayed. as is the case now. See the my portal component for an example. Still need to extend the <content tag so that an override template can be specified.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803416 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 08:48:19 +00:00
Hans Bakker 9cbf24468b better show edit screen to easy add comments by users.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802802 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 14:12:13 +00:00
Hans Bakker 07d61162a4 only show when porlet help screen if available, else show default my portal help screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802797 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 13:57:53 +00:00
Hans Bakker c57f235be9 added a special help for portal pages to provide help on portlets on that page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802724 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 10:25:15 +00:00
Adrian Crum 1f76c2f5ec Moved user preferences code from Global Decorator to ScreenRenderer.java. Now user preferences can be queried before the Global Decorator is run.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796896 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 22:27:27 +00:00
Scott Gray cfcb6f5feb Added missing containers required for ajax pagination to the common LookupDecorator, part of OFBIZ-2661
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791104 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 11:17:32 +00:00
Hans Bakker 7b6032bc12 moved the portlet editscreen to the top of the page and improved error handling
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788605 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 06:34:45 +00:00
Hans Bakker 87f7a8fe37 small correction on previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@785924 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 06:49:19 +00:00
Hans Bakker 4d037f45e1 This is a proof of concept, comments are very welcome.
The first page of myportal now shows changes which happened in the system for the logged on user in the first portlet.
The second portlet gives the total OPEN items in a certain function for the logged on user.

The first two functions which are working now:
1. Incoming communication events (email, internal notes)
2. tasks which are assigned either in projectmanager or workeffort

What is also pretty interesting is that the status can now be checked by a firefox plugin and when it changes the employee is notified from within firefox
The plugin: http://updatescanner.mozdev.org/en/index.html
and it should check the following url: (adjust to your requirements)
https://localhost:8443/myportal/control/showPortlet?portalPortletId=SystemInfoNotes&USERNAME=admin&PASSWORD=ofbiz

In the flat grey theme i also have added notifications in the header when they are available.

If the notification shows and the user clicks on the message the related portlet is shown.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@785872 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 01:15:09 +00:00
Adrian Crum 5fe277e26d Added a lookup screen for time duration. Added an example to the Edit Work Effort screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783550 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 22:13:07 +00:00
Hans Bakker 8a12eea06c OFBIZ-2393: portlet list not displayed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770272 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 15:06:04 +00:00
Jacopo Cappellato f0054a76c8 Removed wrong field name that was causing an error with the new renderers. OFBIZ-2393
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770264 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 14:57:35 +00:00
Jacopo Cappellato 9eaac35f4d Implemented macros for new renderers methods for creen widgets; cleaned up SimpleDecorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768213 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 07:59:08 +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
David E. Jones 32e673754a Moved old default theme data and files to new flatgrey theme; small corrections for use of messages.ftl; added setting in general.properties for the default theme ID; changed default theme to smoothfeather
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765862 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:29:09 +00:00
Jacques Le Roux 999bd7c577 Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +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