Commit Graph
2896 Commits
Author SHA1 Message Date
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
Andrew Zeneski 92fc817dfa changed resourceDescription to optional; will get set if not passed in the service engine BUT needs to get passed validation first
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515902 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 02:44:55 +00:00
David E. Jones 821e4438e1 Added startTest and endTest calls, as per Joe's patch in OFBIZ-784
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515889 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 02:01:52 +00:00
David E. Jones 9dfc0f8847 Added isNotEmpty method for Object, alternative to patch proposed by Joe Eckard in Jira #OFBIZ-785
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515877 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 01:24:35 +00:00
David E. Jones 175284f620 Appled patches from Joe Eckard for the ServiceTest implementation, and example to use it; Jira #OFBIZ-791; I made a small change to the patch to show the key and value for the error message Map
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515876 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 01:21:49 +00:00
David E. Jones ebf8008f07 Applied patch from Joe Eckard to fix error message list handling; small change to use FastList instead of LinkedList; Jira #OFBIZ-792
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515870 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 00:56:54 +00:00
Hans Bakker daaf5676fd some strange characters removed in the previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515408 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 01:19:51 +00:00
Hans Bakker 91366ffcfc add dutch provinces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515405 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 01:15:59 +00:00
David E. Jones ba9034287d A couple of refinements based on conversation with Joe about this new implementation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515391 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 00:22:35 +00:00
David E. Jones bf807aa5a0 Applied patch from Joe Eckard which implements the entity-xml-assert type of test and adds a small example test file for it that just validates against seed data; small change to reorganize, but mostly as-is
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515340 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 22:57:38 +00:00
David E. Jones ed67ae0bd7 Changed EntityDataAssert to throw exceptions so that calling method has more control over it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515285 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 20:27:36 +00:00
David E. Jones 55d9135631 Added stub and xsd file extension for entity-xml-assert test case
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515235 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 18:10:41 +00:00
David E. Jones 0ae0334d96 Based on dev conf feedback: changed delete files box on import dir to not be checked, regardless of whether or not the path has_content; also changed the import page to have entity-engine-xml open and close tags by default
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514945 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 01:26:40 +00:00
David E. Jones 62ac182829 Changed to represent the fact that calcop -> field-name is optional; reported by Chris Howe
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514617 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 09:17:55 +00:00
David E. Jones 79e2463756 Changed the runAsUser here to also be run-as-user for consistency; still supports old runAsUser in Java parsing code, though there will be a parse error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514602 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 08:41:37 +00:00
David E. Jones 399365eb36 Changed to create the service input map for the call to parseEntityXmlFile in the entityImportDir service for each file, rather than preparing it once and changing it each time; it appears that the userLogin is getting removed from the Map somewhere, probably by the Service Engine, which is rather bad actually, but this should fix it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514253 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 22:14:58 +00:00
David E. Jones 45ebdaec6d Changed runAsUser to run-as-user to be consistent with everything else in the entire framework; still supports the old attribute in parsing code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514251 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 21:51:13 +00:00
David E. Jones 8bc8a3f460 Changed default for the optional attribute on the implements element from false to true, because as is ALL attributes are being set to optional, which I think is not normally what is wanted and I bet there have been a few surprises and frustrations from this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514243 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 21:13:17 +00:00
Jacopo Cappellato 34d858166a Applied (a slightly different) patch from Stefan Huehner (OFBIZ-537) to cleanup the code that creates a refNum for payment transactions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514204 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 17:55:44 +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 f69d0c1960 Applied patch from Stefan Huehner (OFBIZ-515) to fix string comparison.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514196 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 17:18:40 +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
Jacopo Cappellato 50e6ada193 Applied patch from Adrian Crum (OFBIZ-754) to refactor/reorganize according to best practices the backoffice cascading stylesheets definitions: this is still a work in progress.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514097 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 08:01:01 +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
Si Chen 3cbc9ca452 removing RequestHandler from request attributes before a request-redirect. OFBIZ-750
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513430 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 18:32:40 +00:00
David E. Jones cbb01156c6 Applied patch from Andrew Sykes, and tested and improved by Jacques and Chris Howe and Adrian Crum; Jira #OFBIZ-757
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513211 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 07:32:20 +00:00
Andrew Zeneski 1956a2416d added method to send file name to browser when streaming data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512946 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 20:18:16 +00:00
Andrew Zeneski 9e2bc7dcc9 fixed javadoc error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512865 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 17:37:16 +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
Andrew Zeneski bd77afa875 fixed bug in route engine not returning proper OUT parameters
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512455 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 22:27:45 +00:00
Jacopo Cappellato 37ec41dee7 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511769 13f79535-47bb-0310-9956-ffa450edef68 2007-02-26 10:11:32 +00:00
Jacopo Cappellato d445d699d3 Small improvements to the way Long are transformed to Strings.
Thanks to Stefan Huehner for the patch OFBIZ-537

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511260 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 12:04:34 +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 6b5c14ce92 Applied patch from Stefan Huehner (OFBIZ-511) to remove unnecessary casts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511251 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 11:32:06 +00:00
Jacopo Cappellato 6837cb8833 Moved ViewLog link to the main page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511243 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 09:08:11 +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
Alfred Maxwell Byers 13916e0671 Put a test on the "this.args" to prevent lookup_popup2 from blowing up if there are none.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510849 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 06:54:31 +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 48a2428618 default-request now gets included
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510736 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 00:54:02 +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 28e2ac3865 added some new styles
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510681 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 22:07:01 +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
Andrew Zeneski ca459744d6 added new object to request to keep the actual request processed; used when default request kicks in
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509877 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 03:36:22 +00:00
David E. Jones f297cffac8 Plugged a rather dangerous security hole: these entity import/export services only required auth to run and had no permission checking, they now require the ENTITY_MAINT permission
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509769 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 21:54:43 +00:00
David E. Jones 27375bcd89 Some visual and code cleanups, no functionality change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509766 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 21:45:27 +00:00
David E. Jones 2c2d161929 Added page for importing from readers; this is especially helpful when updating a server and you need to refresh the seed data, but of course there are many other uses
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509764 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 21:41:15 +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