Commit Graph
31 Commits
Author SHA1 Message Date
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
David E. Jones f76433fd62 Applied patch from Adrian Crum in Jira #OFBIZ-605 to combine the maincss.css and tabstyles.css files; part of a larger effort to clean up the css and related style/formatting stuff in the OFBiz HTML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497718 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 06:56:36 +00:00
Jacques Le Roux f3b5197505 A patch from Anil K Patel "Expire credit card years" (https://issues.apache.org/jira/browse/OFBIZ-188).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483403 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 10:17:00 +00:00
Jacopo Cappellato b4029b64d2 Created a generic screen that renders a link (implemented by an hidden form) that can be included in other screens: in the form, the screen's requestParameters are stored as hidden fields and so it is very useful to render links for printed output (based on search constraints).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@452778 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 07:21:34 +00:00
Jacopo Cappellato 5a493b2988 Added new common template for document based pdf reports (sales and purchase orders, invoices, returns etc...).
Refactored the sales/purchase order pdf to use the common template.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@432302 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 17:38:38 +00:00
Jacopo Cappellato e26dea93ca Implemented first version of xml export feature for form widgets.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430717 13f79535-47bb-0310-9956-ffa450edef68
2006-08-11 08:01:43 +00:00
Jacopo Cappellato 017027d1ac Misc small improvements to the global widget decorator for pdf reports.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430083 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 16:12:57 +00:00
Jacopo Cappellato a543d99790 New global decorator for simple pdf reports: it is composed of a small header with the current date, screen name and logo and a footer with number of page/pages.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429657 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 14:11:31 +00:00
Jacopo Cappellato f4264ff60e Simple global decorator for printer friendly screens (no logo and no application bar, header and footer).
A print button is also available at the top of the screen.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429344 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 14:06:57 +00:00
Jacopo Cappellato 6c1d55d4a8 Conversion from MIT to ASL2.0 for the files of the common component.
Many thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422421 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 09:47:46 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00