Commit Graph
210 Commits
Author SHA1 Message Date
Hans Bakker a2c5b444ce OFBIZ-2097: show organizationPartyId in header(can be set in preferences), rewrote financial history to show currencies, invoice/p[aymentworker now can show in actual and organizationparty currency
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729396 13f79535-47bb-0310-9956-ffa450edef68
2008-12-25 06:26:14 +00:00
Jacques Le Roux f36843386d Close "Grey list feature for confidential data access" (https://issues.apache.org/jira/browse/OFBIZ-2074) - OFBIZ-2074
I put an explanation in http://docs.ofbiz.org/display/OFBTECH/OFBiz+security

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@727508 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 20:50:11 +00:00
Jacopo Cappellato 5b810b9f29 Minor formatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726836 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 22:07:55 +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
Jacques Le Roux 31d56e8064 A patch from Ravindra Mandre "The userPrefGroupId field on UserPrefGroupType should be userPrefGroupTypeId, as per conventions" (https://issues.apache.org/jira/browse/OFBIZ-1996) - OFBIZ-1996
With some help by Vikas Mayur for the "Upgrading OFBiz from earlier revisions" Wiki page update


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@712366 13f79535-47bb-0310-9956-ffa450edef68
2008-11-08 08:59:31 +00:00
Jacques Le Roux 7818a0afe2 A patch from Bruno Busco "Adding forgot password feature in framework" (https://issues.apache.org/jira/browse/OFBIZ-1984) - OFBIZ-1984
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@703647 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 11:01:01 +00:00
Adrian Crum 32682b431a Visual Themes framework - for more information see https://issues.apache.org/jira/browse/OFBIZ-1885.
This commit provides a means to swap out the current UI theme for another one. Alternate style sheets, templates, JavScript files, etc can be used to give OFBiz a completely different look.

Right now the plan is to have "theme libraries" that can be dropped in the hot-deploy folder. Work still needs to be done to connect web stores and product catalogs to the visual theme framework.

Users can select their preferred theme in the back-office applications.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@698346 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 20:58:23 +00:00
Scott Gray 75e810a2d3 Converted the remaining framework bsh scripts to groovy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688450 13f79535-47bb-0310-9956-ffa450edef68
2008-08-24 05:36:54 +00:00
Adrian Crum adc1d1d145 Collapsible masthead, based upon a patch provided by Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-1919.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686515 13f79535-47bb-0310-9956-ffa450edef68
2008-08-16 15:52:47 +00:00
Adrian Crum 89245c4d92 Better handling of the masthead logo image link.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685969 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 17:33:29 +00:00
Adrian Crum 698da4e58d Find Screen decorator fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677792 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 00:29:25 +00:00
Jacopo Cappellato ddf855ec75 Removed reference to the Catalo application from the framework's common component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672765 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 13:46:16 +00:00
Adrian Crum 9106b202c2 Improved lookup screens - contributed by Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-1841.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670249 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 18:44:43 +00:00
Adrian Crum e2e5268f42 Improved Lookup decorator, submitted by Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-1841, with modifications by me.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667965 13f79535-47bb-0310-9956-ffa450edef68
2008-06-15 15:20:10 +00:00
Jacques Le Roux 9274a5d90a A patch from Bruno Busco "ERP header logo should link to home url" (https://issues.apache.org/jira/browse/OFBIZ-1834) - OFBIZ-1834
I changed the default link from "/" to "/catalog/control/main" which makes more sense OOTB

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@665919 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 22:14:56 +00:00
Anil Patel bc43382fc3 Reordering Prototype js file includes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@665837 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 19:21:05 +00:00
Scott Gray 31f94919b7 Replaced the Tigra calendar with Calendar Date Select (http://code.google.com/p/calendardateselect/) - OFBIZ-1808
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663501 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 08:45:10 +00:00
Adrian Crum 1f1f2552c1 A basic implementation of a help system, based on work contributed by Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-1750.
There is an example of how it is used in the EditExample screen of the Example component.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663378 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 21:49:38 +00:00
Jacques Le Roux 5186b7d652 An undesired change has slipped in my previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662699 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 08:38:32 +00:00
Jacques Le Roux 4921c2e15b A skip navigation hidden button (accessibility)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662598 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 23:08:54 +00:00
Adrian Crum 2f776dc3e5 Improved Find Screen decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662221 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 14:35:26 +00:00
Jacopo Cappellato b1bd619d66 Set correct template type for xsl-fo platform dependent templates: this is now required because the platform-dependent element can now accept different templates for different types.
Thanks to Jacques Le Roux for the report.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660107 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 06:25:57 +00:00
Jacopo Cappellato 15d63246d6 Added support for xsl-fo and xml templates to the platform-specific screen widget element. Now it is possible to define the same screen that can be rendered with different renderers. An example of this is the SimpleDecorator that is now used to render simple PDF report (xsl-fo), xml export and printer friendly html output. You can test it in the Edit Example screen (and some other screens as well): the PDF and Printer Friendly links in that page both share the same screen definition. Misc fixes to the widget FO and XML renderers, for issues found while testing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659935 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25 08:00:10 +00:00
Jacopo Cappellato 1d44046832 Fix for security hole I have introduced while working on the Ajax autocompleter fields.
This is a temporary approach that can be improved.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659658 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 20:57:27 +00:00
Jacopo Cappellato 27bdcf64db Continued work done by Anil Patel about implementation of Ajax.Autocompleter enhancement for form widget text box.
There is now a generic screen (and controller entries) that can be used by Ajax autocompleter fields.
See the example in the example component.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659488 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 10:10:48 +00:00
Adrian Crum 331c1aae47 Improved Find screen decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658468 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 22:37:06 +00:00
Adrian Crum 6aea39757d Improved screen widget Ajax support.
The original Ajax work was a great start, but there were limitations. These changes open things up a bit: 1) Ajax rendering falls back to plain HTML when the user has JavaScript disabled. 2) You can have more than one area updated during an event.

IE7 updates only <div> elements, so be aware of that when using the Ajax feature.

See the Example component for a demonstration.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658281 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 15:33:22 +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
Adrian Crum 35fad8baff Add ability to specify alternate webapp footer - contributed by BJ Freeman, https://issues.apache.org/jira/browse/OFBIZ-932.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607553 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 16:11:48 +00:00
Adrian Crum 5b7f4024ad Improved error handling in ScreenFopViewHandler.java. Original error handling was:
Try to render screen using fop
  If that fails, try to render error message using fop
    If that fails, throw an exception (results in blank screen)

The new error handling is:

Try to render screen using fop
  If that fails, try to render error message using HTML screen widget
    If that fails, log a debug message


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603703 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 18:51:53 +00:00
Adrian Crum 962ab2ef79 Added new FOP templates and decorator. The new FOP decorator operates more like the screen GlobalDecorator. Parameters can be passed to templates via the layoutSettings Map, and there is an assortment of standard page size templates.
This improvement was proposed in Jira - https://issues.apache.org/jira/browse/OFBIZ-1410. Many thanks to Jacopo for his great suggestions.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602516 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 17:25:08 +00:00
Anil Patel e0cd2e1738 Providing EventMessages as a screen by itself. Added it to view in controller so it can be used in response to error condition in request process.
It will come handy when partial screen is updated in response to Ajax request.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@595883 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 00:27:12 +00:00
Jacopo Cappellato 909c8d9b6e Set the base url for FOP for resolving relative URLs: the default value is 'http://localhost:8080'. Issue OFBIZ-242.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@591256 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 08:12:14 +00:00
Jacopo Cappellato e98a175f77 Applied patch from Adrian Crum to enhance support for RTL languages: if the user has selected an rtl language, then the rtl style sheet will be cascaded. OFBIZ-998
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585398 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 06:46:56 +00:00
Jacopo Cappellato 89f3fd0098 Applied patch from Adrian Crum as a first pass to share the same common login screens in all the applications.
OFBIZ-1320


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585393 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 06:24:17 +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 d98a35d6c8 Implemented a standard XSL-FO template to display error messages returned while rendering XSL-FO reports.
This is probably a workaround (the ideal solution is to get the ViewHandlerException better treated by the view handler framwork) but it works to avoid the ugly 'not valid PDF stream' message returned before.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564615 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 15:21:35 +00:00
Jacopo Cappellato 7a16c45779 Added simple way to set a user defined/custom font family for XSL-FO templates (thru FO inheritance).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564554 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 11:19:58 +00:00
Jacopo Cappellato fff5ef6210 Applied patch from Adrian Crum (OFBIZ-1063) to move the system messages to a container outside of the main content area.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544794 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 10:05:47 +00:00
Jacopo Cappellato 3f6d86c879 Applied patch from Adrian Crum to simplify outermost HTML containers: OFBIZ-1061
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544095 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 09:00:50 +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 dee12d81a6 Applied patch from Adrian Crum (OFBIZ-892) to refactor UI elements in the Common component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528925 13f79535-47bb-0310-9956-ffa450edef68
2007-04-15 04:26:12 +00:00
Andrew Zeneski 95d8ccc936 added div ID to the messages area; so we can utilize this in ajax requests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512513 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 00:11:09 +00:00
Hans Bakker f06bbd1ad2 misplaced </action> tag: corrected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510763 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 02:16:35 +00:00
Andrew Zeneski f6aec4d8ed gave the main content area a ID tag
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510680 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 22:06:30 +00:00
Jacopo Cappellato ca06b5e806 Applied patch from Adrian Crum (OFBIZ-740) to parametrize javascripts files in simple global template.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509749 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 20:56:53 +00:00
David E. Jones ce2120eddf Changed so that dojo.js is no longer included in the global/common decorator, it should instead be added to each screen that uses it to avoid possilbe conflicts, and overhead too
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509719 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 19:35:40 +00:00
Andrew Zeneski aa2a6a9330 added dojo.js
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509307 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 19:25:21 +00:00
Jacopo Cappellato 3debbdb6fa Applied patch from Adrian Crum (OFBIZ-685): parametrized the javascripts files imported in the global header templates.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509270 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 17:51:58 +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