Commit Graph
3942 Commits
Author SHA1 Message Date
Bilgin Ismet Ibryam 6b0a2fe97f Use getLocalName() instead of getNodeName() and getTagName() methods. This change will fix errors in soap call, where elements have namespace prefixes.
I didn't notice any error caused from these changes, but it would be great if someone with more xml knowledge takes a loot at it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894359 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 11:33:39 +00:00
Bruno Busco 1c0b238799 [OFBIZ-3274] - Using decorator sections to control the left-bar
The leftbar content is now defined using the "left-column" ApplicationDecorator section instead of setting the variables "leftbarScreenName", "leftbarScreenLocation" and "MainColumnStyle".
The logic that checks if the "left-column" section has content, and thus if a left column must be rendered, has been moved from the GlobalDecorator to the ApplicationDecorator.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894330 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 09:22:45 +00:00
Andrew Zeneski 92970a877d fixed bug in field lookup renderer which was preventing target2 (when using description-field-name); fixed bad method call in fieldlookup.js (cal_error) as well as a few typos in the error messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894277 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 23:41:21 +00:00
Scott Gray 80f029bd91 The sendMail service has a problem where any email addresses that fail a RCPT TO: SMTP check causes the message to not be sent to any of the valid recipients. Fixed by making use of the mail.smtp.sendpartial property which enables the message to still be delivered to valid recipients. I've made sendpartial = true the default but also made it configurable via general.properties. This is the first part of a fix for OFBIZ-3379
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894236 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 19:52:43 +00:00
Bilgin Ismet Ibryam dba0d2b021 Set ${paginate} string as default value for paginate attribute in form and screen widgets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894179 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 14:03:57 +00:00
Bilgin Ismet Ibryam bd19dc7e9f Applied a modified patch from jira issue OFBIZ-3211 - Ajaxifying lookup fields.
To add ajax support to a lookup screen, you have to add two fields: entityName and searchFields. As a reference please check LookupPartyName and LookupPerson screens in party manager. You can see ajaxed lookups in action in any screen using form widgets and the above lookup screens (findInvocies screen in accounting for example). 
This commit also fixes a bug in controls.js from scriptaculous library, but I reported it in its project list and I will track it further.
To hide the returned values (shown as [ID])from the autocompleter or change the number of items there, you have to modify widget.properties

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894149 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 11:30:40 +00:00
Adam Heath 93cc17b5b0 Remove a bunch of wildcard imports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894106 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 19:54:58 +00:00
Adam Heath 8f2bbb4de5 Remove duplicated common commponent build.xml inclusion, added when birt
was merged.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894104 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 19:51:52 +00:00
David E. Jones ef3571738a Small cleanup of a couple of warnings, still many others in this file to clean up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894047 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 07:58:16 +00:00
Adam Heath 276cc7b501 Add a default-javadoc presetdef.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894038 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 01:01:39 +00:00
Adam Heath 17e8d26105 Fix some javadoc warnings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894037 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 01:01:01 +00:00
Adam Heath 18d0ceeaf9 Remove most docs targets, they are all the same anyways.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894031 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:28:48 +00:00
Adam Heath 1c269fc012 Convert all javadoc calls to use fileset instead of sourcepath; this
allows excludes to be processed correctly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894030 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:24:20 +00:00
Adam Heath 05b3ea3230 Make use of the init target, to set excludes based on available
libraries, so that the common classes target can be used.  This also
sets src.exc.set correctly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894028 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:20:32 +00:00
Adam Heath a412eb1898 Normalize javadoc windowtitle.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894026 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:19:10 +00:00
Adam Heath 693c05aacd Fix javadoc calls.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894025 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:18:20 +00:00
Adam Heath 56dac0bf9e Add a classes target to common.xml, and switch most build.xml to use it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894024 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:16:56 +00:00
Adam Heath 47b0a876ed Switch all javac15 to javac16.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894022 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:12:04 +00:00
Jacques Le Roux 67eaa2997a Better French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893959 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 11:15:31 +00:00
Marco Risaliti 393081da93 Some missing translations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893894 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 22:12:17 +00:00
Scott Gray e1cbfb28ed Added the ability to include all tests from a given simple method document in a test suite by only specifying the location and not the method name. All simple methods with a method name beginning with "test" will be included and will be executed in the order present in the document. Example usage:
<test-case case-name="auto-accounting-transaction-tests">
        <simple-method-test location="component://accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml"/>
    </test-case>
Basically just mimics the behavior of the junit-test-suite tag but for simple method tests

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893662 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 00:40:19 +00:00
Adrian Crum 2b0d1e0c63 Improved converter tests.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893635 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 21:39:55 +00:00
Erwan de Ferrieres acb76c79d8 Corrected a wrong position of the ajax messages which were displayed in the menus. Now they are placed before the content-main-section
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893459 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 10:30:06 +00:00
Hans Bakker d9db84b8cb Add a section to the internal ofbiz document explaining the junit test facility in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893396 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 03:45:54 +00:00
Adam Heath 68278753f9 Pass the list of values to ModelConversion.convert().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893345 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 23:17:56 +00:00
Adam Heath 4693797bc2 Remove plurality in ModelConversion.convert().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893344 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 23:17:13 +00:00
Adam Heath f355b9e503 Don't test viewEntityCondition against null multiple times.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893342 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 23:16:38 +00:00
Adam Heath 1dc3aa9b0a Make the map passed to convert read-only.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893340 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 23:14:22 +00:00
Adrian Crum ca49d9bc66 First batch of converter tests.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893313 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 20:54:55 +00:00
Erwan de Ferrieres 5a07e94c83 Closing OFBIZ-3375 , adding description to checkboxes. When using an entity-options combined with <check>, the description wasn't displayed.
An example form is at <OFBiz instance>/example/control/FormWidgetExamples

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893282 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 19:33:06 +00:00
Erwan de Ferrieres 2c5f74bb7e Complement of rev 892579, adding geolocation by address. An example screen is visible at
<OFBiz instance>/example/control/ExampleGeoLocationAddress
This also closes JIRA-2930

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893277 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 19:11:53 +00:00
Erwan de Ferrieres 1f8dd4049b a container was forgotten in rev. 892982
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893115 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 09:08:15 +00:00
Hans Bakker a6f58e1d8c make the soap tests independent of the application component, contribution by chatree, suggestion by Scott
detail:
1. change from ProductCategory and Product entity to Testing and TestingNode entity in testSOAP service
2. insert login.username and login.password attribute document in message part of WSDL
3. change type of eepk- and eeval- element to map-Map and insert its document in WSDL
4. insert document for cus-obj element in WSDL

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893087 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:47:20 +00:00
Adam Heath dfc631e2ed Start actually doing real testing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893082 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:11:53 +00:00
Adam Heath 3aefa8e81f Use the alternate FieldValue when no table alias is used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893081 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:11:24 +00:00
Adam Heath 2392b1e5cc Make alias optional for function calls and math value field definitions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893080 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:11:00 +00:00
Adam Heath 0e7872abef It turns out that all current uses of this are actually with
StaticValues.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893079 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:10:33 +00:00
Adam Heath 8626985652 Start of visitor support.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893078 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:09:55 +00:00
Adam Heath dae44c3bd4 Some set helper methods.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893077 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:08:43 +00:00
Adam Heath cdec74a809 Fix alias-based fielddef parsing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893076 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:08:15 +00:00
Bruno Busco a9e90996c3 Birt webapp should not appear in the Application bar menu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892987 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 21:30:52 +00:00
Bruno Busco 48112d1bab Fixed Birt layout issue using bizzness theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892986 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 21:29:47 +00:00
Bruno Busco 6728682197 Fixed geoChart layout issue using bizzness theme.
Thank you Erwan for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892982 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 21:20:25 +00:00
Erwan de Ferrieres 5962b6efc4 Removed trailing spaces and a headerItem was forgotten, so the menu wasn't visually selected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892738 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 09:16:06 +00:00
Jacopo Cappellato 13a79db193 Upgrade to Derby 10.5.3.0
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892733 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 09:04:52 +00:00
Hans Bakker ea3a88e1a6 Upgrade Axis1 to Axis2. Ofbiz now supports complex parameters in webservices including WSDL generation. see OFBIZ-3363 for more info. A contribution of Antwebsystems employee Chatree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892712 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 07:31:58 +00:00
Adam Heath 3959e34c47 Bunch of sql stmts and other commands that provide for more coverage.
Still not actually testing the output, other than printing.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892706 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 06:05:21 +00:00
Adam Heath be3e008240 Support MathValue for field definitions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892705 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 06:04:47 +00:00
Adam Heath c66af181b1 MathValue now supports constants.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892704 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 06:04:09 +00:00
Adam Heath bed7885f78 StaticValues are constant.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892703 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 06:03:33 +00:00