Commit Graph
103 Commits
Author SHA1 Message Date
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 f7ab19876b Removed availableLocales and availableTimeZones from screen rendering context - they are not needed anymore. Also deleted an unused ftl file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686622 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 16:37:42 +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 44ecc8b364 Fixed the setUserPreference request in common-controller.xml. Reported by Bruno Busco on dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681501 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 21:19:35 +00:00
David E. Jones 0065182657 A few more view and request/event handlers, though not terribly common
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681254 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 02:05:42 +00:00
David E. Jones 8f2b25c96d A few enhancements to the common controller, we might as well have a bunch of request and view handlers there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677644 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 17:36:55 +00:00
Adrian Crum af7a0409c1 Removed deprecated CSS styles from the maincss.css file. I skipped the eCommerce component because it doesn't use that style sheet, and I also skipped the content component because it is used in eCommerce.
This shouldn't affect any layout. If it does, just post a message on the dev ml (with link please) and I'll fix it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@675831 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 04:02:30 +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
Jacques Le Roux cf1c245266 I wondered why it did not work. Lol, I was really tired when I wrote that. Adrian already fixed a typo, here is the last. It works now :o)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663611 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 13:56:51 +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 c596c106e6 Eliminated duplicate CSS style.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663415 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 23:27:16 +00:00
Adrian Crum 037401a477 Fixed a type in header.ftl.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663412 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 23:17:40 +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 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 2d89f0f365 Form widget Ajax refinements.
Changed attribute-based ajax calls to on-event-update-area elements. Fixed bug in autocomplete. Cleaned up some of the rendering code.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661450 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 19:48:24 +00:00
David E. Jones 82df3529e2 More cleanups of now deprecated constructors and what what
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660840 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:16:36 +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 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
Andrew Zeneski 5095e4e09f added support for third party policy servicers; setting the userLoginId in a request header, ofbiz will assume the user has already been authenticated and log the user in.
This is DISABLED by default (see security.properties) be sure your policy server is running in front of ofbiz to avoid security issues (spoofing).

Jira: OFBIZ-1781


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656008 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 20:59:03 +00:00
Adrian Crum 4195b35a78 Added JavaScript detection to the framework. See https://issues.apache.org/jira/browse/OFBIZ-1648.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655712 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 02:25:55 +00:00
Adrian Crum f511bb5f9f These aren't needed anymore. Freemarker knows the user's locale and time zone.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@654984 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 00:10:07 +00:00
Jacopo Cappellato 8d92adfe61 Added ability to render the report in landscape format.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652831 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 17:18:19 +00:00
Adrian Crum d109f61d69 Centered the secondary-navigation menu.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652184 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 22:59:50 +00:00
Adrian Crum 549ab8cf6c IE7 layout fixup for login screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652172 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 22:28:01 +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
Jacopo Cappellato 00bc95e9c3 Fixes for fo (PDF) template files, follow on from: r644081 and r645852
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@645891 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 13:02:30 +00:00
David E. Jones 32bc8a9b66 Removed another xml header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644086 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 22:01:52 +00:00
David E. Jones cee5387a8d Removed xml header from fo wrapper, it is now added by the view handler if not there already; fixes problem with widget.verbose=true; fixes problem with widget.verbose=true; various cleanups too
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644081 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 21:53:06 +00:00
Jacopo Cappellato 9661346678 Fixed bug that was causing the "main" screens to be visible w/o authentication
Thanks to Bilgim Ibryam for the patch OFBIZ-1717.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@640309 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 04:09:34 +00:00
Jacopo Cappellato 4e5d5791b3 New attributes for the webapp element in the ofbiz-component.xml files: description, menu-name and position.
menu-name is used to separate the menu items in different menus, the position element che be used to sort them (alphanumerically) in the group.
There are now two menu groups: "main", for the main applications, in the top bar, and "secondary" for applications (specialized or not still 'mature'), in the footer. 
Thanks to Bilgim Ibryam for the patch OFBIZ-1714, that I have committed with a few changes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@640307 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 04:07:34 +00:00
Christian Geisert 47d8c8b588 Setting svn properties (svn:eol-style,svn:mime-type,svn:keywords)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634598 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 10:12:14 +00:00
Adrian Crum 68c1dbbaf9 Second sweep through the maincss.css style sheet. Changed the head1, head2, and head3 style names to h1, h2, and h3. Updated affected styles in ftl and xml files.
The ecommerce component is excluded from this commit.

These changes shouldn't break any layout. If you spot something wrong, let me know and I'll fix it.

I won't make any more maincss.css changes for a little while. I'll let the dust settle from these two commits, then I'll go through the file and physically remove the deprecated styles.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@627051 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 19:30:09 +00:00
Adrian Crum 83ece87409 First sweep through maincss.css style sheet. Made sure all deprecated styles are marked as deprecated. Eliminated a number of deprecated styles from ftl and xml files.
The ecommerce component is excluded in this commit.

These changes shouldn't break any layout. If you spot something wrong, let me know and I'll fix it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@627034 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 18:55:41 +00:00
Scott Gray 2911048a6f fix my last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608752 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 05:59:35 +00:00
Scott Gray 1c36c726d6 Use a Set when adding layoutSettings.javaScripts to the header so that each script is loaded only once
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608747 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 05:07:59 +00:00
Adrian Crum 65d64af698 User preferences feature - https://issues.apache.org/jira/browse/OFBIZ-495. This is the Java version - I'll commit the simple method version as soon as one is available.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606269 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 19:02:28 +00:00
Scott Gray 863e81f9d4 added selectall.js, required for calls to submitFormDisableSubmits()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605835 13f79535-47bb-0310-9956-ffa450edef68
2007-12-20 08:40:07 +00:00
Jacques Le Roux b61b18b490 A patch from Daniel Martínez "Make user input change background colours of formulars" (https://issues.apache.org/jira/browse/OFBIZ-660) - OFBIZ-660
Note : only when the change comes from calendar or lookup. I will revert if it annoys somebody...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603893 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 11:40:07 +00:00
Jacques Le Roux d81e21d5e2 A patch from Fabien Carrion "Correct a problem with calendar window popup" (https://issues.apache.org/jira/browse/OFBIZ-1251) - OFBIZ-1251
Specific to Firefox and the extention Tab mix plus activated on enable single window mode.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602586 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 00:02:17 +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 cf5eef5c10 moved screenxml and screentext handlers from facility controller to common-controller so that they are available in wider scoop.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600251 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 06:00:51 +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 989624f0f5 Applied patch from Adrian Crum (OFBIZ-1349) to remove a redundant security check (recently added to the app bar) and documentation for the base-permissions attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585879 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 06:03:06 +00:00
Jacopo Cappellato e4723bd5b8 Fixed incorrect logic, introduced in rev. 584400, that was causing a problem in the main application bar: all the applications were visible to a user with the OFBTOOLS permission.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585432 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 10:00:52 +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
Jacques Le Roux 4f33d28293 A patch from Adrian Crum "Main navigation won't display links for apps when user has only _ADMIN permission" (https://issues.apache.org/jira/browse/OFBIZ-1241) - OFBIZ-1241
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584400 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 13:37:01 +00:00
Jacques Le Roux d971f0ffec Complete my previous post (I had to change instance because of not related existing changes in controller.xml files)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582731 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 07:08:34 +00:00