Commit Graph
3278 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 d185774026 Fix to make sure the ELI count handles distinct queries
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808824 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 09:13:01 +00:00
Scott Gray 12566c26b9 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +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
Scott Gray 712364816b Changes to the EntityListIterator to use a separate COUNT query to determine the result size plus a few other changes to help the ELI deal with TYPE_FORWARD_ONLY resultsets.
The changes to SQLProcessor are unrelated and contains no functional changes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808812 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:35:45 +00:00
Jacques Le Roux 47a23c8778 Fix a bug reported by Ján Valkovic on user ML about about service CreateLead informations in Webtools (actions is not the same as actionsAndSet)
in Webtools, in the ECA section of services info, the I have added a column for fields set.

In availableservices.ftl, I have also replaced
<td><b>${uiLabelMap.WebtoolsIsService}</b> ${condition.isService?default(uiLabelMap.CommonNA)}</td>
by
<#if condition.isService?has_content>
  <td><b>${uiLabelMap.WebtoolsIsService}</b> ${condition.isService}</td>
  <td colspan="2">&nbsp;</td>
</#if>

I think we don't need to show informations (actually always NA) about attributes not used. But as I was not sure everybody would agree, I only did this one as an example. So What do you think, should we do it for all occurrences ?



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808786 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 07:21:52 +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
Hans Bakker 0de880f3ef adding docbook dtd/xsd, templates to generate html/pdf and more. Approval was obtained by email to Norman Walsh with the question: Is there any objections in including Docbook dtd/xsl/xsl files in Apache OFBiz, his answer: None at all. Share and enjoy! (Tue, 25 Aug 2009 07:27:51 -0400 (18:27 ICT)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808410 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 13:29:07 +00:00
Jacopo Cappellato 3429865136 Created method that "creates a child element with the given namespace supportive name and appends it to the element child node list". Patch from Ashish Vijaywargiya
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808093 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 16:16:23 +00:00
Scott Gray 461296fd8c Applied patch from Ashish Vijaywargiya that allows adding namespace aware child elements via UtilXml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807938 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 09:22:09 +00:00
Anil Patel c482278b28 Hindi translation of common uilabels. Patch from OFBIZ-2829. Thanks Arpit, Sumit and others for help.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807921 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 08:21:22 +00:00
Scott Gray ef7663888d Switched FindGeneric.groovy back to using findCountByCondition rather than eli.getResultSizeAfterPartialList()
I found on my local machine that for every 100,000 rows in the result set getResultSizeAfterPartialList would take an additional 5-7 seconds to execute.
findCountByCondition was taking roughly 2 seconds at most to count 700,000 records

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807859 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 00:41:57 +00:00
Jacques Le Roux d56abcb7aa Font size was too big (in French it breaks the layer)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806841 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 11:26:54 +00:00
Scott Gray c7c375cecc Don't redirect https requests to http if the request map specifies https since it forces the client to repost data over an unsecure connection
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806552 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 13:49:07 +00:00
Adrian Crum 9a91f970f2 Fix JavaDoc comments in UelUtil.java - reported by Bob Morley, https://issues.apache.org/jira/browse/OFBIZ-2850.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806377 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 22:10:44 +00:00
Adrian Crum 2929bd3734 Fixed the package name in an Example entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806012 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 00:29:30 +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
Adrian Crum dbbab57c8a Fixed a problem in testtools - reported by Jacques on the mailing list.
Someone familiar with Selenium will have to figure out a way to get it to use the jar in build/lib.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@805642 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 00:40:42 +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 30e61ba8f8 Same error than in r763199 (and I knew that, sorry)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804896 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 08:23: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 c76137a4c7 several adjustments to the help system, now using contentId to select and use underscore in contentId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804881 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 07:15:41 +00:00
Hans Bakker 966b32d5af The 'new' help system
A new help system is implemented which is compatible with the current system which uses the ofboz.docs.org site to store the data.

The new help system has a number of advantages over the old version:
1. complete multilanguage without config xml files, using the locale.
2. Having an automatic multilevel index of all help pages using the ContentAssoc entity
3. Using the content manager for retrieval.
4. Template driven, aware of the different visual themes.
5. A first step towards the storage of OFBiz documentation within the OFBiz system itself.
6. Easy update via normal svn in seed data.
7. Aware of portlets on (userdefined) Portal pages.
8. Create awareness of the capabilities of the content component

The reason of this development was the requirement to provide user documents to the customers of Antwebsystems Co.Ltd

Some of the possible extensions could be:
1. a search function
2. print all or specific help files in PDF format
3. make the help screens work better with the business theme
4. Explain how help can be extended
5. In the help screen be able to send a message to the local support team
6. But most of all, create more help content!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804546 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16 02:04:17 +00:00
Jacques Le Roux 100c2e861c Remove some duplicates introduced by recent Chinese translation and a better French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804441 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 08:08:57 +00:00
Jacopo Cappellato d073d1db07 "admin" user is only in demo data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804131 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 08:54:01 +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
Hans Bakker fbaad86261 unwanted change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804075 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 04:24:25 +00:00
Hans Bakker 2d51096b6d Excellent contribution from Brett G. Palmer in issue: OFBIZ-2116
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804074 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 04:22:27 +00:00
Scott Gray 14baa87a47 Applied patch from Ashish Vijaywargiya, fixes a couple build issues with components created using ant create-component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804070 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 02:54: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
Scott Gray 25e7c97f50 Turn off the cross subdomain session valve by default, it creates too many unnecessary sessions and causes issues for other subdomain use cases
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803531 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 14:25:41 +00:00
Hans Bakker 63a818ab65 extended the help system so that help pages can also be used from within the content component when available. If not found, the page within ofbiz.apache.org will be displayed. as is the case now. See the my portal component for an example. Still need to extend the <content tag so that an override template can be specified.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803416 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 08:48:19 +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
Adrian Crum 38f8588dea Small code cleanup in DelegatorData.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802881 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 18:22:40 +00:00
Adrian Crum 22dc76f12f Fixed a bug in DelegatorData.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802877 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 18:09:07 +00:00
Hans Bakker 9cbf24468b better show edit screen to easy add comments by users.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802802 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 14:12:13 +00:00
Hans Bakker 07d61162a4 only show when porlet help screen if available, else show default my portal help screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802797 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 13:57:53 +00:00
Hans Bakker c57f235be9 added a special help for portal pages to provide help on portlets on that page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802724 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 10:25:15 +00:00
Adrian Crum 6786aa4dbc Refactored GenericDelegator:
1. Converted GenericDelegator to an interface. We already have DelegatorInterface, but it isn't being used anywhere. Removed DelegatorInterface.java.

2. Extracted the static, cached data from the GenericDelegator implementation and put it in its own class - DelegatorData. The GenericDelegator implementation holds a reference to the DelegatorData instance. This makes it possible to have per-thread instances of GenericDelegator.

3. Replaced the ThreadLocal variables with regular variables. ThreadLocal variables are no longer needed. Client code doesn't need to be concerned with pushing and popping the GenericDelegator state.

This commit paves the way for the forthcoming ExecutionContext.

User modifications will have to replace GenericDelegator.getGenericDelegator(...) with DelegatorFactory.getGenericDelegator(...). Also, replace the push code with the new setXxx methods, and remove the pop code. If modifications used DelegatorInterface, replace that with GenericDelegator.

Aside from those changes, this commit is backwards compatible.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802567 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 18:04:26 +00:00
Adrian Crum b96f551de7 Converted Security.java to an interface. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802563 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 17:20: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
Hans Bakker 2e0ee05f13 add the help button to the bizness theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802290 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 03:14:05 +00:00
Adrian Crum 7bc514f98d WebDavServlet.java now uses the cached ClassLoader.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802043 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 15:20:24 +00:00
Jacopo Cappellato 7c3554bf05 The context of the email is now logged only at verbose level.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801522 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 07:10:21 +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 9dbbcd1082 Fixed a bug in UtilDateTime.java - getWeekEnd() returned the wrong value.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801023 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 23:38:55 +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