Commit Graph
300 Commits
Author SHA1 Message Date
Adrian Crum 3a6737b186 Restored a temporal expression form that was lost during the recent work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903124 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 08:26:13 +00:00
Bruno Busco 2096cb4dda Borders should be added using CSS not HTML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902890 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 17:37:44 +00:00
Bruno Busco e36939e337 Added "create", "refresh", "collapse-all" and "expand-all" classes to the pertinent button-bar buttontext links.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902885 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 17:28:28 +00:00
Adrian Crum e3b9a60e28 A lot more work on the temporal expressions. The previous implementation would handle simple expressions just fine, but complicated expressions didn't work. I also added a pretty printer class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900662 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 05:57:10 +00:00
Scott Gray 6509797896 Removed or commented all references to the commonext component from the framework, this may will break some things but the dependency should never have been introduced in the first place and needs to be fixed. Inspired by OFBIZ-3329 but I don't believe it resolves that issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900497 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 18:27:35 +00:00
Scott Gray a467469eec Corrected call to UtilCache constructor, broken since most constructors were removed some time ago. Reported by Sam Hamilton, OFBIZ-3341
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900455 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 16:47:04 +00:00
Adrian Crum 377eecc699 Added a Substitution temporal expression. This solves Martin Fowler's conundrum - how to supply a substitute date for an excluded date.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900217 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 20:57:19 +00:00
Adrian Crum 2af56291a0 Temporal Expression bug fixes.
Internationalization note: this commit contains new UI labels.

Deprecated the time of day expression - it was a bad design. Replaced it with separate hour and minute expressions.

Fixed the createTemporalExpression service. It wouldn't allow user-specified expression IDs.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900024 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 20:59:37 +00:00
David E. Jones c2ee80ee52 A few improvements to the ArtifactInfo stuff to display more complete info, especially about services, and fix issue with controller request events that were not just plaing service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897387 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09 07:26:58 +00:00
Jacopo Cappellato 891ee60b18 Fixed bug that was preventing to edit sme numeric fields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890305 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 13:19:48 +00:00
Adam Heath 548b074859 Make cacheLineTable private and final.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885274 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 21:25:17 +00:00
Jacques Le Roux c72b29cb1f Use UtilValidate.isNotEmpty methods instead of (obj != null) || (obj.length > 0) and (obj != null) || (obj.size > 0)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883549 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 23:41:34 +00:00
Adam Heath e4718ddb62 Add a helper method, getUtilCacheTableKeySet, and use that in
FindUtilCache.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883227 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 03:04:50 +00:00
Scott Gray 062e85ac9e Added a screenlet to webtool's view value screen that shows an entity xml representation of the value, might be useful if you've got some xml data files to build by hand
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881139 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 03:29:44 +00:00
Bruno Busco e501b450c6 Changed nav-pager using the styles as defined in the widget renderNextPrev macro.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833652 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 08:32:28 +00:00
Jacques Le Roux 380198a8da A patch from Amit Sharma "Error rendering screen [component://webtools/widget/CommonScreens.xml#CommonImportExportDecorator]" (https://issues.apache.org/jira/browse/OFBIZ-3150) - OFBIZ-3150
Steps for generating error:
1) Hit URL https://localhost:8443/webtools/control/xmldsdump
2) Depress "Check All" button on Export section.
3) Fill following fields.
Output Directory : <Eport path>
Records Updated Before : <Current time> 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832776 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 15:51:31 +00:00
Jacques Le Roux e7e5273f34 Add a temporary comment in webtools to help use it for the moment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829672 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 22:36:05 +00:00
Jacques Le Roux aedeb6ca51 Changes method="POST" to method="post", from Scott's comment about XHTML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829660 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 21:38:47 +00:00
Bruno Busco c3ac175016 Part of OFBIZ-3067 - Menus and form widget files location
Ecommerce, Webtools and hhfacility components
Moved forms from webapp to widget folder
Removed empty folders

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829443 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 20:20:18 +00:00
Bruno Busco 6926457840 Added TabBars menus for the WebTools application. (OFBIZ-3020)
The WebTools main screen is still untouched so that all screens can be reached in the same way as before.
When we are OK with the new screens grouping under menus we will remove the main screen as it is now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823806 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 06:46:57 +00:00
Bruno Busco 907c48eae6 Fixed HTML markup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823558 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 14:07:28 +00:00
Bruno Busco a9635f3d73 Added missing "screenlet-body" tag
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823237 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 17:30:56 +00:00
Bruno Busco a2d935caa7 Fixed markup to the right screenlet pattern (all screenlet content should be contained in a screenlet-body tag)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822939 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 22:23:16 +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 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 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
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
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 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
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