Commit Graph
456 Commits
Author SHA1 Message Date
Hans Bakker 841efcfafd updated license files and improved docbook pdf generation: still however an empty pdf document
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809136 13f79535-47bb-0310-9956-ffa450edef68
2009-08-29 14:45:00 +00:00
Scott Gray 271e2f3430 Removing unnecessary beforeFirst() call, fixes problem reported by Matthieu Bollot on the dev list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808859 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 12:22:59 +00:00
Scott Gray 4f373bdf8e Changes to the performFind and performFindList services to limit the size of the resultset where possible.
Changes to ModelForm to allow using form supplied pagination information as service parameters in the action tag, plus changes to how the list size is retrieved

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808814 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:40:58 +00:00
Hans Bakker 59040b5ec8 Added the possibility of processing/displaying xml files in the docbook format in verious other formats like html pdf etc. To view the Example document in HTML format go to content -> content -> navigate -> documents -> 'apache ofbiz in html format' The HTML version is working however the pdf version does not work yet. If you want to help, have a look in ModelScreenWidget.java where at the moment the complete processing from xml to pdf is concentrated the problem is the empty pdf output document with the wrong mimetype.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808744 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 03:40:33 +00:00
Jacopo Cappellato 406a78b5ba Temporary solution to avoid messed up CSV exports: commas are removed from the content of the fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@805711 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 09:02:16 +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
Jacques Le Roux 4c442ee379 Some fusiness
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804895 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 08:20:38 +00:00
Hans Bakker 31a5a0c5f4 reverted 804104 because of compile error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804130 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 08:48:06 +00:00
Hans Bakker e40f03e356 adjustment of storing/retrieving timestamp in the proper timezone. In the database the time zone is always GMT
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804104 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 07:42:30 +00:00
Scott Gray e371344391 Fixed double encoding problem reported by Jacopo on the dev list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803848 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 11:36:56 +00:00
Anil Patel efb6d2cc8d 1) All columns with the exception of the first one have double-quotes around the text and the number fields.
Status : Resolved
2) I also noticed that the column headers (labels) are not matching the data after Column N.
Status : Resolved

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803557 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:33:18 +00:00
Jacopo Cappellato 3367a59a28 Fix for bug reported by Hans Bakker in OFBIZ-2823.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803013 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 07:30:06 +00:00
Jacopo Cappellato 16a1a6e98a Implemented CSV screen macro renderer; cleaned up existing csv widget forms that are now much more clean.
This is a good example of the great flexibility of widgets and the new macro renderer (no code was needed to implement the CSV renderer).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802400 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 15:49:04 +00:00
Anil Patel 0a2d41a6bc Fix multi select option in form widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801518 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 06:50:27 +00:00
Adrian Crum af68683f6b Fixed a problem with HTML whitespace compression. Patch provided by Bob Morley - https://issues.apache.org/jira/browse/OFBIZ-2781.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@800461 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 16:43:59 +00:00
Adrian Crum 2b9121fd39 Chinese translation for the framework folder, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2723.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798559 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 15:24:23 +00:00
Jacopo Cappellato ba18ab3728 Fixed bug that was preventing the red-when attribute to work properly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797126 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 16:05:36 +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
Hans Bakker c5cc3ef131 removed debug log statements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796244 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 10:32:48 +00:00
Anil Patel a8d9581734 Enhancement to dropdown element of form widget. Now it can handle data of types other then String.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795315 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 05:27:54 +00:00
Adrian Crum e4ee374a66 Conversion from java.util.Calendar to com.ibm.icu.util.Calendar. I didn't convert the Cloud component - I wasn't sure if the Calendar class was being passed through SOAP.
OFBiz users who have modifications or add-ons can make the same substitution to get them to compile.

I'll let the dust settle from this, then I'll add the user-selected calendar capability.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792987 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 15:39:21 +00:00
Jacopo Cappellato d797f8fb8d Fixed issues with new renderers when a link was inserted in the form title. Thanks to Divesh Dutta for the bug report and partial fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792470 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 09:20:07 +00:00
Adrian Crum 28aa157ce9 Enabled HTML whitespace compression in MacroScreenViewHandler.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792258 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 18:53:34 +00:00
Jacopo Cappellato 5a4f77bf34 Fix for bug reported by Hans Bakker in the dev list: passing field values containing ${...} directives was breaking the renderers macros because the renderer was attempting to execute them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791841 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 14:04:36 +00:00
Jacopo Cappellato b2eb5fc5b1 Misc fixes for the text macro renderer's templates.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791442 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 11:25:49 +00:00
Scott Gray dec24b29f2 Sorry for the big commit, got a bit carried away.
Added override and deprecated annotations wherever they were missing
Removed the use of any deprecated classes/methods (except OutputFormat in UtilXml)
A few other random generics and misc. cleanups

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791212 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 10:01:19 +00:00
Scott Gray 9fa513efcb Add to new attributes to the Menu Widget's link element:
request-confirmation - if set to true displays a dialog requesting confirmation from the user before proceeding
confirmation-message - the confirmation request message to be displayed if the above is set to true

This removes the need to put javascript inside the menu widget when requesting confirmation

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791126 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 13:34:18 +00:00
Scott Gray 762e3f6892 Allow disabling of a pagination on-event-update-area element by overriding with a blank target, part of OFBIZ-2661
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791110 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 12:14:30 +00:00
Scott Gray d9c97ff79e Fix javascript error caused by an unclosed quote mark
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791103 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 11:14:27 +00:00
Jacopo Cappellato 2645431346 Fix for a bug that was causing layout issues in widget forms definitions containing use-when directives when rendered thru FO.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791046 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 01:35:53 +00:00
Jacopo Cappellato 266bbababb Misc fixes for the templates of the text widget macro widget renderer. Thanks to Rishi Solanki for the bug report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790894 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 13:04:49 +00:00
David E. Jones 7e981d3cb3 Added ability to specify an entity-condition as part of a view-entity in order to encapsulate a full query definition in a view-entity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790472 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 06:43:50 +00:00
Adam Heath adeba4fd16 javac gets confused some times.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790045 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 05:55:14 +00:00
Jacopo Cappellato 0ca20af910 Added missing </macro> tag. Thanks to Brajesh Patel for the bug report in OFBIZ-2671
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789855 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 18:05:55 +00:00
Adam Heath dd51c0108b Add a simple initCause helper method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789400 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 18:13:19 +00:00
Adam Heath ca695bb733 Mostly varied generics markup enhancements. A few scattered for-loop
changes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789397 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:48:07 +00:00
Adam Heath 9db067417a Strings are immuatable, no need to create a new copy of the string.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789396 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:45:41 +00:00
Adam Heath 694bfa838b No longer call rh.makeLink directly; instead, call appendOfbizUrl,
which already existed for this purpose.  This allows subclasses to
alter the behaviour.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789395 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:44:11 +00:00
Adam Heath 47555e158b Switch one last direct call to appendContentPrefix over to
appendContentUrl.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789394 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:40:41 +00:00
Adam Heath c38f64a05f Switch appendContentUrl to use the writer variant of
appendContentPrefix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789393 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:38:59 +00:00
Adam Heath 2bfec96a0f More string optimizations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789391 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:36:54 +00:00
Adam Heath cedc808624 Some more string optimizations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789384 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:00:44 +00:00
Adam Heath 27ba57cc88 No longer call RequestHandler.makeLink, instead calling
appendOfbizUrl, so that sub-classes have an easier time of it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789205 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 04:10:22 +00:00
Adam Heath 163506757f Convert some string additions to StringBuilder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789203 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 03:30:06 +00:00
Adam Heath ce1751a60d Use the variant of ContentUrlTag.appendContentPrefix that takes an
Appendable.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789202 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 03:22:53 +00:00
Adam Heath 758cc25a46 Convert one direct call to ContentUrlTag.appendContentPrefix to the
local appendContentUrl.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789200 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 03:17:39 +00:00
Adam Heath 8ad5bb7271 Some string + to StringBuilder changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789191 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 02:21:05 +00:00
Adam Heath 818ff4987e Missed some appendable -> + conversions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789186 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 01:47:50 +00:00
Adam Heath a680a1019c Don't use + when calling append.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789183 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 01:27:19 +00:00
Adam Heath 2752e89c06 Switch to ContentUrlTag.appendContentPrefix to StringBuilder, and
deprecate to the StringBuffer variant.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789177 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 23:50:53 +00:00