Commit Graph
440 Commits
Author SHA1 Message Date
Adrian Crum 7fa08f9079 Replaced GenericDelegator.getGenericDelegator(...) calls with new factory method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821649 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 01:53:50 +00:00
Adrian Crum a4d68934c9 Converted GenericDelegator concrete class references to Delegator interface references.
This commit requires ant clean. Also, external libraries that reference GenericDelegator will need to be updated.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821643 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 00:08:27 +00:00
Hans Bakker 0fdf9568c8 added webtools/selenium to the help and corrected some problems
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818733 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 06:31:20 +00:00
Hans Bakker 77fc9fefef added a selenium option to webtools which partially tests if all settings have been done and will now automatically download the selenium server. Sponsored by Antwebsystems, programmed by employee Gan
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817493 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 04:00:22 +00:00
Jacques Le Roux b85c9a0179 Fix a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817445 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 22:27:56 +00:00
Christian Geisert 676be617f0 translation of LabelManager UiLabels into German (de)
Submitted by Carsten Schinzer
See https://issues.apache.org/jira/browse/OFBIZ-2911



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817335 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 17:33:17 +00:00
Jacques Le Roux b7a941d4f6 Revert r813307 on Adrian's request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813893 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 16:02:01 +00:00
Jacques Le Roux a7430a2fc2 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41:19 +00:00
Jacques Le Roux 6868eb386d I'm not exactly sure why, but I had to put this test to be able to see only French labels (actually I was only looking for missing labels)
And there is always this initialisation issue which compels you to choose a file first before being able to choose all files

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812708 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 21:51:03 +00:00
Adrian Crum 74ea95889c Reverted rev 802567.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812692 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 20:56:14 +00:00
Jacques Le Roux 5fb77a3d6d A part of a pathc from Carsten Schinzer "Extend webtools:LabelManager" (https://issues.apache.org/jira/browse/OFBIZ-2911) - OFBIZ-2911
This adds 3 labels counters 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812498 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 13:17:36 +00:00
Scott Gray 0fb74891c6 Missed switching a result set back to TYPE_SCROLL_INSENSITIVE, reported by Mridul
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809554 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 12:16:51 +00:00
Jacques Le Roux 73b17f973c I finally reverted this change, I did not look at all aspects and it was actually OK
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809141 13f79535-47bb-0310-9956-ffa450edef68
2009-08-29 14:57:39 +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
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
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
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
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 c13c47f919 Chinese translation for the framework folder, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2767.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798941 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 15:14:01 +00:00
Adrian Crum 8b4acdd137 Small fixup for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792297 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 20:30:44 +00:00
Adrian Crum 5c16b67075 Cleaned up cluttered and confusing FindGeneric screen in WebTools.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792295 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 20:28:01 +00:00
Jacopo Cappellato 6d28d63653 Fixed bug (wrong position of a <context-param> element) reported by Vadiraj Deshpande in OFBIZ-2704.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791436 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 10:49:23 +00:00
Scott Gray dec24b29f2 Sorry for the big commit, got a bit carried away.
Added override and deprecated annotations wherever they were missing
Removed the use of any deprecated classes/methods (except OutputFormat in UtilXml)
A few other random generics and misc. cleanups

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791212 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 10:01:19 +00:00
Jacques Le Roux 5aa6b34228 A patch from Marco Risaliti : "Cannot login to Webtools" (https://issues.apache.org/jira/browse/OFBIZ-2582) - OFBIZ-2582
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@785764 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 19:27:31 +00:00
David E. Jones 776d75659c Added divs since it looks like in the bizznesstime theme that h2 no longer causes a newline; also fixed serial warning in ServiceEcaRule
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@780597 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 08:51:12 +00:00
Adrian Crum c0333a71d9 Fixed a bug in Label Manager - reported by Jacques on dev ml.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777587 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 15:47:54 +00:00
Adrian Crum 17ca792c6f Improved UI label reference search in Label Manager.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777584 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 15:37:55 +00:00
Adrian Crum 67849c3edd Small fixup for previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777172 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 16:50:25 +00:00
Adrian Crum 02705185ea Refactored the Webtools Label Manager - due to a multitude of problems. Most notably:
1. Not thread safe.
2. Server files were being read/written without multi-user synchronization
3. Reads all UI labels into memory, then stores them in static memory, PLUS
4. Finds all references of those labels in project files and store those references in static memory (!!!)
5. Doesn't follow best practices for UI layout

It's amazing the original code worked. Even more amazing is the fact that this code made it into the project.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776988 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 07:26:22 +00:00
Jacques Le Roux 4a6c5cfd6c Revert r772941 at David's demand: <<The dynamic dates represented here do not copyright the files that the code is in, they copyright what the code produces, and that is constantly changing so the dynamic date is appropriate."
On my side, I tried to find legal informations but did not find anything clear.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773211 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 12:09:09 +00:00
Jacques Le Roux c1d75da437 See http://markmail.org/message/znytl2y4inpmxbdo (David Goodenough's advice on copyright update)
extract : "My understanding of the Berne Convention rules for Copyright (which covers most jurisdictions - even the USA now), is that the copyright period only gets extended when the copyrighted item gets updated."

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772941 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 11:15:08 +00:00
Jacques Le Roux 058d6aed57 A patch from Ashish Vijaywargiya "Change Copyright Year" (https://issues.apache.org/jira/browse/OFBIZ-2346) - OFBIZ-2346
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Jacques Le Roux 31c97bf343 A patch from BJ Freeman "Explaination of where the data is in ModelInduceFromDb.jsp" (https://issues.apache.org/jira/browse/OFBIZ-2432) - OFBIZ-2432
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772914 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:15:54 +00:00
Jacques Le Roux 1f5eb1e084 I missed some files in the 1st commit for BizznessTime theme.
I will do 2 commits to not push (backport) the new BizznessTime theme as default in R9.04 as long as we are not sure of its quality in trunk.
Putting it as default in trunk should help to strengthen it (hoping reports from users)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771073 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 16:19:04 +00:00
Adrian Crum 58e205ef4a Small fixup for previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768640 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 03:57:55 +00:00
Adrian Crum 2d44a4cec2 Cleaned up SaveLabelsToXmlFile.java code, converted to use new UtilXml methods.
This is an example of how to eliminate the use of the deprecated OutputFormat class.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768634 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 03:21:40 +00:00
Jacques Le Roux a35a032c3a A patch from Ritika Somani "Add Tiny Text Box for Entity Name Search" (https://issues.apache.org/jira/browse/OFBIZ-2273) - OFBIZ-2273
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768616 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 22:12:50 +00:00
Jacques Le Roux e9dc22fe91 Fix French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768517 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 11:53:05 +00:00
Adrian Crum 678db887db Eliminated unnecessary method by using Apache Commons.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768459 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 03:41:31 +00:00
Adrian Crum 14b462dc50 Fixed a bug in Label Manager where empty values were not saved properly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768123 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 02:02:40 +00:00
Jacques Le Roux 810944f2f5 Fix an issue with CommonEmptyHeader
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766516 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 21:01:01 +00:00
David E. Jones 6b6955adf0 Fixed bug reported by BJ Freeman in Jira issue #OFBIZ-2319 where export of view entities to a file (not to browser) was failing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766431 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 07:08:11 +00:00
David E. Jones 70f8da92bb Moved logo and icon images back to images component and removed from everywhere else; all references to these should be to there only now; fixes issue with logo in ecommerce and other little things
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766426 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 06:12:55 +00:00
Jacopo Cappellato 970b1d20b6 Small fixes to the menu item highlighted.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765659 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 15:01:53 +00:00
Jacques Le Roux 999bd7c577 Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux 771c3715f8 A patch from Divesh Dutta "Secure URLs in Freemarker templates files" https://issues.apache.org/jira/browse/OFBIZ-2260
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762863 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:36:29 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Jacques Le Roux 76f5ca6638 Secure URLs, we don't need to duplicate in from-field when param-name is the same
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762215 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:25:24 +00:00