Commit Graph
315 Commits
Author SHA1 Message Date
Scott Gray a8b40ca086 xhtml fix: & -> &
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924958 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 19:12:55 +00:00
Scott Gray 8e07d410ca xhtml fixes, forms aren't allowed within p tags and an input tag wasn't closed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924573 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 00:56:30 +00:00
Scott Gray 2378dd3e91 Added missing input tag closes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924543 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 22:52:16 +00:00
Scott Gray 6109808c8a Tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:28:01 +00:00
Adam Heath 2eb1768f1d Fix lots of bad xhtml tags, need to have a space before the ending /.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56:41 +00:00
Scott Gray eb147d0326 Fix a problem reported by Hans Bakker, FreeMarker templates loaded using the Configuration object don't have access to the component:// notation reader and this causes them to fail because all templates now attempt to retrieve the html form macro library using that notation. This is a quick fix but we should really fix the FreeMarkerViewHandler to load templates via the FreeMarkerWorker.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@920589 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 00:27:19 +00:00
Bruno Busco 0366de6c62 Starting to use the widget macros in FTL files.
Part of OFBIZ-3541

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@920117 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07 21:17:54 +00:00
Jacopo Cappellato e31f3e84bb Added missing BigDecimal condition required to render the content of BigDecimal fields in the "view generic" screen. OFBIZ-3522
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916925 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 08:29:21 +00:00
Erwan de Ferrieres de2a2f0abb Corrected OFBIZ-3495 Removing a value from the webtools interface (https://issues.apache.org/jira/browse/OFBIZ-3495)
Thanks Olivier

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915044 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 20:07:57 +00:00
Scott Gray 1a31419fcd Removed all uses of deprecated method ModelEntity.getFieldsCopy()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912244 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 22:53:14 +00:00
Scott Gray a830f3f436 Removed all uses of deprecated method ModelEntity.getField(int)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912243 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 22:53:09 +00:00
Scott Gray 2c2da0e964 Removed all uses of deprecated method ModelEntity.getNopk(int)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912241 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 22:52:58 +00:00
Scott Gray 96a474870c Removed all uses of deprecated method ModelEntity.getPk(int)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912240 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 22:52:53 +00:00
Scott Gray bee57642b3 Removed use of deprecated EntityExpr constructors
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912209 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 20:19:18 +00:00
Bilgin Ismet Ibryam 9e016506aa Fixed calendar lookups in Temporal expressions screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911843 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 15:34:25 +00:00
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