Commit Graph
3778 Commits
Author SHA1 Message Date
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
Jacopo Cappellato 4b3a82d577 Layout improvements to the Webtools main page from Adrian Crum (OFBIZ-722).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507858 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 08:53:42 +00:00
David E. Jones 8304484c86 Small improvements to the permission-service code to show service name in exception messages, and to throw a descriptive exception instead of an NPE with no hasPermission field is returned from a permission-service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507808 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 04:10:26 +00:00
Jacopo Cappellato f4d7f6a402 Added entity labels for simplified chinese.
Thanks to Yinghui Chen for the patch (OFBIZ-712): however I've committed a slightly different patch because I've removed all the labels that in the file contained an English value.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507568 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 15:12:33 +00:00
Si Chen e2facb2fac Applied patch from Andrew Sykes to run services synchronously in webtools (OFBIZ-677)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507567 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 15:12:32 +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 bda2f144e0 can now use this permission as a service call; enabled required parameters to be passed in through the definition as well as inline minilang
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507548 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 14:43:41 +00:00
Andrew Zeneski 1ca8d6d1c6 minor cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507547 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 14:42:59 +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
Andrew Zeneski a123a875a5 implemented blog rss feed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507366 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:57:07 +00:00
Andrew Zeneski 70ee48ef80 implemented RomeEventHandler; calls a service (should implement the rssFeedInterface which returns a WireFeed object) to generate a RSS feed; returns the feed to the browser
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507364 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:54:29 +00:00
Andrew Zeneski 3dad964b31 changed order so that event handlers can get access to the request handler from the servlet context
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507363 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:53:03 +00:00
Andrew Zeneski ef97324303 added JDOM and ROME libraries
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507362 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:52:29 +00:00
Hans Bakker e8f2b25cdd new PartyInvitation table causing display of entities fall over : fixed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@506293 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 05:36:20 +00:00
Hans Bakker 11e199ea42 update of fop jars to version 0.93
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@506261 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 03:55:22 +00:00
David E. Jones fa9bce7931 A few error message related changes; somehow the error messages here got dumbed down a LOT making it more difficult to use the entity data maintenance stuff
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@506219 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 02:05:08 +00:00
Andrew Zeneski 94cdc56267 updated common permision service to allow calling methods to set the mainAction
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@506211 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 01:40:55 +00:00
Jacopo Cappellato cd97b0dc8b Converted pt and px to em. Converted color names to hex values.
Thanks to Adrian Crum and Chris Howe for the patch (OFBIZ-666).
This is part of the effort of consolidating the css usage in the backend applications and widgets.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505905 13f79535-47bb-0310-9956-ffa450edef68
2007-02-11 11:57:35 +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
David E. Jones 3415c28553 Based on feedback from Anil Patel changed the max to unbounded for the include element so represent how it is actually implemented
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505674 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 11:12:59 +00:00
Jacopo Cappellato 9557289d93 If the include-user-login attribute for the minilang service call methods is not set or it is true, the user login is put in the context but only if in the context there is not already a user login.
Thanks to David Jones for the review and to Dave Napolitan for bringing this up to my attention.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505482 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 20:33:06 +00:00
David E. Jones ff924a279a Changed a number of places to use File.toURI().toURL() instead of just File.toURL(); thanks to Andras Robert for his research and comments on this; looking at the Java API docs it looks like this basically just escaped the characters in the eventual URL
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505358 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 16:37:05 +00:00
Alfred Maxwell Byers cf34240e6b Put a test for null result map, like in ServiceEventHandler.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504816 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 07:53:45 +00:00
Alfred Maxwell Byers 90701c5189 Made a simple fix in evalPermission.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504815 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 07:51:44 +00:00
Jacopo Cappellato 2774954be0 Added new screens and services to manage the AgreementGeoApplicability entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504496 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 11:03:37 +00:00
David E. Jones 1448999de0 Applied patch from Jacques, part of Jira #OFBIZ-571
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501760 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 08:13:52 +00:00
Alfred Maxwell Byers 9802d2fc81 Added require-new-transaction and transaction-timeout to minilang CallService class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501646 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 00:09:29 +00:00
David E. Jones 2be8a0ae02 Added formlet to remove a single table for an entity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501304 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 04:01:03 +00:00
David E. Jones 73b929523d Fixed to put error messages on different lines instead of one big block
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501225 13f79535-47bb-0310-9956-ffa450edef68
2007-01-29 23:13:01 +00:00
David E. Jones ac33a0009f Somes cleanups and fixes, wasn't working before; also added forms to create/remove a single primary key
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501221 13f79535-47bb-0310-9956-ffa450edef68
2007-01-29 23:02:52 +00:00
David E. Jones 1c475ea873 Some cleanups, especially to show stack traces to make it easier to track down problems, like the autoconnect setting problem which is a no-no when there is a transaction in place, should now work properly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501220 13f79535-47bb-0310-9956-ffa450edef68
2007-01-29 23:02:01 +00:00
Hans Bakker 9e55d383b9 anumber of xml format errors were introduced by adding documentation. I did remove them but are not sure if the resulting file is 100% ok now...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500807 13f79535-47bb-0310-9956-ffa450edef68
2007-01-28 15:19:00 +00:00
Jacques Le Roux c1539eac02 Some new simple-method (mini-lang) annotations/documentations. (https://issues.apache.org/jira/browse/OFBIZ-571)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500683 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 23:22:40 +00:00
Jacques Le Roux cc0d7633bd A patch from Adrian Crum "<textarea> bug in maincss.css file" (https://issues.apache.org/jira/browse/OFBIZ-664)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500646 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 22:35:57 +00:00
Jacques Le Roux dbae9f2088 A patch from Adrian Crum "maincss.css File Cleanup - first pass" (https://issues.apache.org/jira/browse/OFBIZ-661)
Remove redundant and unnecessary font property assignments

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500512 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 10:59:09 +00:00
Jacques Le Roux b1db971219 Some new simple-method (mini-lang) annotations/documentations. (https://issues.apache.org/jira/browse/OFBIZ-571)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500393 13f79535-47bb-0310-9956-ffa450edef68
2007-01-26 22:52:36 +00:00
Jacques Le Roux 62092b2152 I noticed an author reference in the Shark component this during review but forgot to make and commit the change.
This was part of https://issues.apache.org/jira/browse/OFBIZ-637 (already closed)

In the same time I looked for other author references and found non : there are no author references in all OFBiz. 
But I found a couple of OFBiz pre-Apache references in 2 jsp files. Not sure they are always used but I fixed them.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500328 13f79535-47bb-0310-9956-ffa450edef68
2007-01-26 20:24:07 +00:00
Si Chen fd701c1efa Fix issue with service error generation code. It doesn't do any validation of input, so it will crash if it gets fed an error list with null messages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500005 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 21:41:26 +00:00
Jacques Le Roux 2fb06cde7c Last remaining files with old ASL2 header. I believe there are now not anymore files.
So I will close the related Jira issue (https://issues.apache.org/jira/browse/OFBIZ-637)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499939 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 20:01:05 +00:00
Jacques Le Roux ee910a9f25 Revert shark enabling changes commited by error with update of ASL2 headers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499595 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 22:32:45 +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
Andrew Zeneski b835b341ff added view to show loaded components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499098 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 18:55:36 +00:00
Jacques Le Roux 6350c0dcc7 Some more annotations/documentation from minilang guide
(suppressed in minilang guide : http://docs.ofbiz.org/display/OFBIZ/Mini-Language+Guide)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499029 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 14:22:48 +00:00
David E. Jones c50b44ea31 Based on patch from Chris Howe in Jira #OFBIZ-400, added some entries for primitive types and a few more of the common java.lang objects; note that this is different as it doesn't have the .class extensions or any of the .TYPE entries
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498921 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 05:08:46 +00:00
Jacques Le Roux c8590f8379 Some more annotations/documentation from minilang guide
(suppressed in minilang guide : http://docs.ofbiz.org/display/OFBIZ/Mini-Language+Guide)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498826 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 22:11:03 +00:00
Andrew Zeneski 0470e6f112 implemented base set permission service - from Anil Patel & Co.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498789 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 20:37:39 +00:00
David E. Jones e1b2f822ef Added some Enumeration services; also refactored permissions for various of the common services to use the new permission-service pattern
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498540 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 06:07:21 +00:00
David E. Jones 7802b644ce Small cleanup, changed rather incomprehensible error message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498538 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 06:06:09 +00:00