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
Jacques Le Roux
b5a7d153c6
Changed name as suggested by Adrian and David in OFBIZ-1230
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582717 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 06:25:12 +00:00
Jacques Le Roux
13842bd64b
A patch from Adrian Crum "Move common requests to a separate xml file to reduce component's controller.xml file size" ( https://issues.apache.org/jira/browse/OFBIZ-1230 )
...
Thanks to BJ Freeman to review and suggestion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582509 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 15:17:08 +00:00
Jacopo Cappellato
061dc78bb2
Forgotten to include this in my last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579921 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 06:45:39 +00:00
Jacques Le Roux
e0504ef18d
A patch from Adrian Crum for an issue from Bilgin Ibryam"Changing the language in party manager is broken" ( https://issues.apache.org/jira/browse/OFBIZ-1223 )
...
This patch définitively corrects the problem David raised + some cosmetic UI changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572375 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 15:56:51 +00:00
Jacques Le Roux
02e0beac3c
Revert 572172 on David's advice
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572322 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 13:24:16 +00:00
Jacques Le Roux
504c87ddca
A patch from Adrian Crum for an issue from Bilgin Ibryam"Changing the language in party manager is broken" ( https://issues.apache.org/jira/browse/OFBIZ-1223 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572172 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 21:46:01 +00:00
Jacques Le Roux
c41674ea0b
A patch from Adrian Crum "Recent Change To appbar.ftl Breaks App Navigation" ( https://issues.apache.org/jira/browse/OFBIZ-1197 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564940 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 17:05:21 +00:00
Si Chen
0f622e6b45
A small change which makes it possible to have a webapp mounted at / show up on the appbar correctly. This worked ok for me but let me know if there are problems
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564733 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 19:47:27 +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
d689cb65f1
I forgot to include this file in my last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564555 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 11:20:59 +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
Jacques Le Roux
72684a3064
A 2st patch (ofbiz-642-locale_tz.patch)from Adriam Crum "Make OFBiz more dial-up friendly" ( https://issues.apache.org/jira/browse/OFBIZ-642 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@555997 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 13:48:00 +00:00
Jacopo Cappellato
9b5204a797
Applied patch by Adrian Crum (OFBIZ-1129) to Add Shortcut Icon To The Simple Screen Decorator.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553745 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 06:02:52 +00:00
David E. Jones
b7feb3d18f
Appled patch from Adrian Crum in Jira #OFBIZ-1117 to add some timeZone passing and retreival code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553122 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 08:20:55 +00:00
Jacopo Cappellato
20cc92ef7d
Small label fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549435 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 09:02:20 +00:00
Jacopo Cappellato
4e8e2dac8e
Implemented 'Require Password Change' in ecommerce and manager apps: if the new field in the UserLogin entity is set to Y then, before the login, the user will be prompted for a new password.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549406 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:20:53 +00:00