Commit Graph
374 Commits
Author SHA1 Message Date
David E. Jones 03facb7588 Changed default for paginate on iterate-section to be consistent with pretty much everything else, and to be consistent with the parsing code in IterateSectionWidget.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534635 13f79535-47bb-0310-9956-ffa450edef68
2007-05-02 22:22:19 +00:00
David E. Jones 6469bfe08e Changed submit disable code to disable for 2 seconds then re-enable; had to do some tricky stuff with the cross-page timer, but works in Firefox and IE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525629 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 22:16:59 +00:00
David E. Jones cfe3b868bc service auto field map will now look in parameters Map and context just as the entity-one one does
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525300 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 22:01:49 +00:00
Jacopo Cappellato 597766520d Properties files for all OfBiz modules available in romanian language.
Many thanks to Roberto Santori (OFBIZ-845) for this great contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523091 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 21:36:11 +00:00
Jacopo Cappellato 80d34638d7 This new version of the sendPrintFromScreen service is now working.
A lot of improvements can be done (in the way a printer is selected, in the printer options etc) but this is a good start.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521601 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 06:49:50 +00:00
Jacopo Cappellato 99794f9678 New language files from Mohamed Amine AZZI "Translation of Ofbiz to arabic" (OFBIZ-804).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519309 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 13:26:31 +00:00
Jacopo Cappellato afd04bd768 Enabled support to 'screenfop' view definitions for several output types supported by FOP; they are defined using the content-type attribute in the controller's view definition (application/pdf is the default)); try for example:
application/postscript
application/x-pcl
...
This is the first step toward providing print support for laser/barcode printers.
The change is backward compatible with all the existing view definitions, however I had to update all the controller xml files because I've renamed the view handler class name from ScreenFopPdfViewHandler to ScreenFopViewHandler, to better describe its role in the framework.
OFBIZ-823


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519268 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 09:17:54 +00:00
Si Chen 00f6d3a7b8 Fix critical bug with multi-select form with patch from Scott Gray. OFBIZ-812
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519046 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 16:28:23 +00:00
Jacopo Cappellato 29a2f0044a Applied patch from Adrian Crum (OFBIZ-795) with misc layout improvement for form widgets.
Some minor formatting fixes.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516668 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 09:10:31 +00:00
Andrew Zeneski c16b36a0de implemented multi-select
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516319 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 07:28:10 +00:00
David E. Jones 1a00b7bc7e Made check type field more useful with the options thingy underneath it; this may/will break old usage, if it ever was used...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516317 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 07:03:06 +00:00
Andrew Zeneski a95b3a70d9 refactored renderContentAsText to invoke content services when called; now requires a dispatcher to render content; all methods using this have been updated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516158 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 19:46:09 +00:00
Jacopo Cappellato a7c598bd9b Removed unused imports: thanks to Stefan Huehner (OFBIZ-513) for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514200 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 17:33:34 +00:00
Jacopo Cappellato bf75edb63b The widget form field action attribute is now stored with a flexible string; very useful to specify dynamic javascripts (such as an automatic row selection script for multiforms).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514118 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 10:23:42 +00:00
Jacopo Cappellato baed7fd4b1 Applied patch from Ismail Cansiz (OFBIZ-534) to escape special caracters in text boxes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514110 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 10:03:08 +00:00
Jacopo Cappellato 311ca7c08c Applied patch from Adrian Crum (OFBIZ-671) to refactor form, menu, tree widget styles management (now mostly all the styles are defined externally using css): this is still a work in progress.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514099 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 08:14:07 +00:00
Andrew Zeneski 5f079c05b7 Big content rendering refactor; condensed methods used for rendering content into one, flagged to cache or not. This will make maintaining this much easier. Implemented new streaming event which will send all type of files not just images (deprecating the img event); added mime-type templates to remove the hard coded templates in DataResourceWorker; now supports additional types besides image/*; updated all code using the old methods; however left them in place (deprecated) until we are sure no BSH files use these old methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513985 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 22:03:48 +00:00
Jacopo Cappellato d521f0c604 Applied patch from Stefan Huehner (OFBIZ-513) to remove unnecessary import statements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511254 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 11:49:42 +00:00
Jacopo Cappellato fabaf5a3bf Applied patch from Adrian Crum (OFBIZ-759) for the screen renderer to prevent the creation of empty <span> elements when there is no text to display.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511239 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 08:33:12 +00:00
David E. Jones 555a70b1ca Fixed an odd bugg in some decorator (screen and template) code where the screens object was pointing to the wrong context, making certain variables that should have been available not available, especially in cases where the ScreenRenderer screens object is used, like the FTL files with screens.render; this fixes a couple of issues, but the main test case was the productCategoryId variable in the ProductCategoryLink.ftl file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510962 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 14:46:04 +00:00
Andrew Zeneski 44218b5a10 added some ways to plug into the screen widget from outside
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510682 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 22:07:35 +00:00
Andrew Zeneski 6f82fa4fa9 added special context-map to allow pre-filling fields in actions to pass to the security serivice; using this will help prevent overriding fields when not intending to
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508090 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 19:19:19 +00:00
Andrew Zeneski 8dea3ca24d implemented if-service-permission for Menu Widgets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507564 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 15:08:54 +00:00
Andrew Zeneski a73a449045 implemented if-service-permission tag
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507546 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 14:42:32 +00:00
Alfred Maxwell Byers 5e9044d5f5 Missed this commit to fix image uploading problem.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507432 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 08:15:14 +00:00
Jacopo Cappellato aa90356f8a Now the HtmlFormWrapper object can be created using the old relative paths to the form def file or the new component:// sintax.
Thanks to Chris Howe for the initial patch, that I have modified to make it backward compatible with the old syntax.
This will improve the scripts reusability. OFBIZ-278


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505882 13f79535-47bb-0310-9956-ffa450edef68
2007-02-11 10:52:35 +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
Alfred Maxwell Byers 9b0a33c64d This is all the front-end code and data required to implement the blog example in ecommerce.
It also relies on two service files committed earlier - BlogServices.java/xml

Not much attention has been paid to style or layout. We will count on the folks at HotWax Media to add their secret sauce.

The two areas on which the most attention were:

1. Getting the permission scheme to work correctly.
2. Getting the complex content rendering to work. It uses the widget screens as templates.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499264 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 05:17:03 +00:00
Jacques Le Roux 64cea174fc This is the change of ASL2 headers in properties files only. Please see comments in another post in dev ML.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497074 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:49:01 +00:00
Jacques Le Roux a5632fa086 This is hte change of ASL2 headers in java files only.
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496982 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:22:33 +00:00
David E. Jones cc48bcbf8f Fixed problem with map-key alternative of assoc-name in the sub-content screen widget element; thanks to Scott Gray for tracking this down, and Tim Ruppert for reporting the problem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493653 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 05:38:24 +00:00
Jacques Le Roux 7732c9fab8 A fix from Jacopo tested by Guido Amarilla and myself (fr_FR), thanks to both.
This closes "Incorrect Product Supplier update and delete in some locales" (https://issues.apache.org/jira/browse/OFBIZ-430)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@491871 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 17:52:50 +00:00
Si Chen e0356e3658 Reverting SVN r 486834. This caused a bug on certain types of forms where a column which should be there was not displayed properly.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487657 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 20:53:59 +00:00
Si Chen ce38a5527d Fixed off by one bug with rendering date fields. These were truncating the date fields from 2006-12-15 to 2006-12-1.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487653 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 20:36:04 +00:00
Jacques Le Roux 05c7f9af8f A patch from Valentina Sirkova "Unnecessary extra cells on list based tables" (https://issues.apache.org/jira/browse/OFBIZ-542).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486834 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 20:44:40 +00:00
Jacques Le Roux bd428bde64 A patch from Stefan Huehner "Code-Cleanup: new Boolean(true) -> Boolean.TRUE" (https://issues.apache.org/jira/browse/OFBIZ-530).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484976 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:19:28 +00:00
Jacques Le Roux 084ff1b883 A patch from Stefan Huehner "Code-Cleanup: remove unncessary return at end of void function" (https://issues.apache.org/jira/browse/OFBIZ-536).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484972 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 11:52:56 +00:00
Jacques Le Roux 9b3b889c7b A patch from Stefan Huehner "Remove unused variables" (https://issues.apache.org/jira/browse/OFBIZ-525).
Issue is not closed : more patches to come

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483405 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 10:21:27 +00:00
Jacques Le Roux eb82782d03 A patch from Stefan Huehner "Remove unused variables" (https://issues.apache.org/jira/browse/OFBIZ-525).
Issue is not closed : more patches to come

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483235 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 21:18:30 +00:00
Jacques Le Roux 0ed0f5da92 A patch from Stefan Huehner "New translation: framework/widget/config/conditional_de.properties" (https://issues.apache.org/jira/browse/OFBIZ-524)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@482923 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 06:38:35 +00:00
Jacopo Cappellato b05f4a66a1 Major refactoring of the Apache FOP rendering engine: upgrade from .20.5 to .92
Special thanks to John Martin and Christian Geisert for this work: OFBIZ-311


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481558 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 13:37:24 +00:00
Jacopo Cappellato ce45592d88 Two of the getDescription(...) methods in the ModelFormField class, were returning the string "&#160;" if no description was found.
I've replaced it with an empty "" string (as suggested by David Jones) because this class should not contain html specific code and in fact this was causing problems in forms rendered as PDF.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@479931 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 06:51:15 +00:00
Jacopo Cappellato 33464ff3f8 The special characters for xml (not allowed in xsl-fo template) from the data formatted by the form widget are now escaped.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@478959 13f79535-47bb-0310-9956-ffa450edef68
2006-11-24 19:42:44 +00:00
David E. Jones aedde559c3 Applied patch from Jean-Sebastien Hederer with some improvements to the date-time field for different types to format the output and such, plus a couple of minor changes; Jira #OFBIZ-470
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476606 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 21:09:57 +00:00
David E. Jones fc96cf5ab7 Changed all build files to add NOTICE and LICENSE files to the META-INF directory in each jar file that is created in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472422 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 08:23:23 +00:00
Jacopo Cappellato 51d6070cf4 Patch from Ashish Vijaywargiya (OFBIZ-428) to fix the path to the calendar lookup images (from content/images/ to images/).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471445 13f79535-47bb-0310-9956-ffa450edef68
2006-11-05 15:34:57 +00:00
Jacopo Cappellato d5a96e45f4 Following David Jones's suggestions in OFBIZ-364, I've added a new attribute to the "form" element:
override-list-size
It can be used to pass a custom list size (differnt from the actual list size) that can be useful for pagination purposes under some circumstances.
The attribute can accept the ${} notation.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469408 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 08:14:14 +00:00
David E. Jones 9a50907566 Added option to condition-expr to ignore-case, makes things lots easier when you need something like that
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469046 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 02:45:34 +00:00
Jacopo Cappellato 2183320453 Added ability to pass (in the context) to a form (widget) a new parameter "overrideFormListSize" that can be used to specify the total size of a list (that could be different from the list passed to the form):
this is very useful when pagination is handled manually in scripts.
Thanks to Leon Torres for this patch (that I've slightly modified during review): OFBIZ-364.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@465282 13f79535-47bb-0310-9956-ffa450edef68
2006-10-18 16:01:20 +00:00
Jacopo Cappellato cb3243b751 Removed author information from all the files of the "widget" component: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454108 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 09:36:29 +00:00