Bruno Busco
1664f3e90e
A patch from Blas Rodriguez Somoza
...
OFBIZ-3732 - XHTML validation errors round 2++ (framework excluding widgets)
https://issues.apache.org/jira/browse/OFBIZ-3732
geolocation.ftl
Script content need to be inside markup comment to avoid character encoding issues.
EntityImport.ftl
attributes without values
EntityImportDir.ftl
attributes without values
EntityImportReaders.ftl
attributes without values
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939757 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 17:46:49 +00:00
Scott Gray
28b1ea8962
Removed usage of deprecated methods
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938949 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 11:30:44 +00:00
Erwan de Ferrieres
72d261af4b
Buttons at the bottom of an list weren't working
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935891 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 12:22:25 +00:00
Bilgin Ismet Ibryam
1562b0a308
Added description field to TemporalExpression entity and related data plus forms. Part of https://issues.apache.org/jira/browse/OFBIZ-3521
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935387 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:41:20 +00:00
Bruno Busco
38c435ca8d
A slightly changed (tabs replaced with spaces) patch from Blas Rodriguez Somoza
...
OFBIZ-3681 - XHTML validation errors round 2+ (framework excluding widgets)
https://issues.apache.org/jira/browse/OFBIZ-3681
XHTML validation errors
* Unclosed tags
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
common/webcommon/includes/listVisualThemes.ftl
Line 19: style tag is not allowed here, style must be in the style attribute of the tag.
webtools/webapp/webtools/stats/StatBinsHistory.ftl
Line 29: duplicated id
webtools/webapp/webtools/tempexpr/tempExprMaint.ftl
Lin 32, 104: form must be outside table.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935311 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 07:52:08 +00:00
Bruno Busco
792f965046
A patch from Blas Rodriguez Somoza
...
OFBIZ-3643 - Error screen in webtools->Import Export -> Induce model from database (Ofbiz Demo)
https://issues.apache.org/jira/browse/OFBIZ-3643
Error screen when "induce model from database" option selected.
org.apache.jasper.JasperException: Unable to compile class for JSP:...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932737 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 14:53:12 +00:00
Bruno Busco
5d5e489598
A patch from Blas Rodriguez Somoza
...
OFBIZ-3637 - XHTML validation errors (framework excluding widget) round 2
https://issues.apache.org/jira/browse/OFBIZ-3637
XHTML validation errors
* Unclosed tags INPUT, IMG, BR...
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* required attributes not included (alt in img, type in style, type in script etc)
* Uppercase tags or attributes.
* Unencoded entities (ampersands).
Other changes:
selectall.js
line 333. ajaxAutoCompleter must work with unenconded or encoded ampersands.
EntityRefMain.ftl
line 176. <div> must be </div>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932733 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 14:35:07 +00:00
Scott Gray
90cc6d7794
Store the ArtifactInfo's Recently Viewed Artifacts list in the session as basic maps instead of ArtifactInfoBase objects that aren't serializable.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931222 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 17:00:05 +00:00
Adrian Crum
da42890638
A patch from Blas Rodriguez Somoza - XHTML validation errors (framework excluding widget) ( https://issues.apache.org/jira/browse/OFBIZ-3622 ).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930701 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 15:29:58 +00:00
Bilgin Ismet Ibryam
2a29d19bc0
Committed a patch from OFBIZ-3541 "Using Widgets html form templates in FTL files". This change will make autocompleter available also in ftl lookups.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930660 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 10:38:19 +00:00
Adam Heath
94604a3923
Last commit fixed the compile error, and allowed the test cases to pass.
...
However, there are no tests against the webtools webapp, and this change
finishes the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929849 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 05:42:11 +00:00
Adam Heath
6094c94ba2
Fix for buildbot failure, due to committing untested rebased code;
...
mea-culpa.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929847 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 05:21:21 +00:00
Adam Heath
1bc6324970
Remove SoftReferences automatically in the background. This is the
...
final step in removing all polling code patterns from UtilCache.
Because of this, all helper methods that were used to clear elements
programmatically are now officially deprecated.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929845 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 04:51:14 +00:00
Adam Heath
f530c596ed
Add a feature to request CacheLine metadata as a simple list of maps.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929837 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 04:46:14 +00:00
Adam Heath
b7acc2eb21
getMaxSize didn't actually do anything useful, and overlapped with
...
getMaxInMemory. Deprecate getMaxSize(it continues to call setLru
underneath everything), and provide a new getSizeLimit method. This
latter method still does nothing, but at least it no longer overlaps.
Also remove the maxSize parameter in webtools FindUtilCache page,
instead displaying and altering the maxInMemory setting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929813 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 04:31:37 +00:00
Adrian Crum
274cafd577
Removed obsolete template boundary comment.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929730 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 21:57:06 +00:00
Jacques Le Roux
0b8d1d026a
A patch from Atul Vani "typo mistakes in tempExprMacros.ftl" https://issues.apache.org/jira/browse/OFBIZ-3629 - OFBIZ-3629
...
Fix 2 C/P in tempExprMacros.ftl. Like in HourOfDayRange's dropdown field the selected value is set to 31 which it can't hold so it is restored to 0 when the page renders
path to regenerate affected page "webtools>Configuration>Temporal Expression>Create"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929582 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 15:12:42 +00:00
Jacopo Cappellato
505608a5b5
Updated groovy script broken after recent changes for multi tenant support.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929148 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 14:10:23 +00:00
David E. Jones
8e3edae07f
Merged multitenant20100310 branch into the trunk
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927271 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 04:42:26 +00:00
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