Commit Graph
1013 Commits
Author SHA1 Message Date
Erwan de Ferrieres 0b8998e9e1 Missing French uiLabel for FormFieldTitle_decoratorContentId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993401 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 15:51:54 +00:00
Erwan de Ferrieres cd78a16fba OFBIZ-3647 Create dataResource from content -- A patch from Nicolas Malin -- https://issues.apache.org/jira/browse/OFBIZ-3647
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993395 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 15:30:21 +00:00
Ashish Vijaywargiya 4607fdd36e Applied patch from jira issue - OFBIZ-3923 - Bug in updating local file content.
attachUploadToDataResource (member service of updateContentAndUploadedFile service group) service calls saveLocalFileDateResource simple method to save the local file and attach it to data resource. The case where updating a local file content but not uploading a new file is being handled but doesn't work since on finding DataResource object "isUpdate" flag is not set to "Y".

Here is the patch for the fix. Also fixed typo in simple method name, saveLocalFileDateResource => saveLocalFileDataResource.

Thanks Mridul for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993344 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 13:19:02 +00:00
Jacques Le Roux 2cc0283da6 <?xml version="1.0" encoding="iso-8859-1"?> allows to read accentuated characters in Docbook
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990539 13f79535-47bb-0310-9956-ffa450edef68
2010-08-29 10:53:28 +00:00
Hans Bakker 552ab71a62 make the access of productData and content use the cache. This wil result in a 20% speed increase of the ecommerce homepage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988893 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 08:45:08 +00:00
Adam Heath b273b52dad Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Scott Gray 4448c4a866 No functional changes, just removing a whole bunch of unused imports and reorganizing them along the way.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981019 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 08:28:34 +00:00
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Jacques Le Roux 9ef845d0ad A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Jacques Le Roux eddce15982 A patch from Willem Janssen "Dutch labels patch" (https://issues.apache.org/jira/browse/OFBIZ-3800) - OFBIZ-3800
Adds Dutch translations in various UiLabel files, thanks to Vikas Raikwar for reviewing and checking

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@951124 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 19:24:26 +00:00
Jacques Le Roux 705583b334 Oops, looks like I forgot this file in trunk at r950866, R10.04 at r950867, R9.04 at r950868 (related to OFBIZ-3782)
Bother :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@951005 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 14:18:25 +00:00
Jacques Le Roux e57c2599a9 A patch from Sumit Pandit "Issue in rendering Freemarker Template from String." (https://issues.apache.org/jira/browse/OFBIZ-3782) - OFBIZ-3782
With the help of Bob Morley (it was more a cache issue than what Sumit thought)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950866 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 04:11:32 +00:00
Jacques Le Roux 47b0020afe A patch from Ankit Jain, removes useless redundant <request-map uri="authview">, it's now in the common controller(https://issues.apache.org/jira/browse/OFBIZ-3469) - OFBIZ-3469
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949142 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 10:30:46 +00:00
Jacques Le Roux 6193dd4e53 <author>None</author> is totally useless and we don't need an author OOTB
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Jacques Le Roux 63fd94e778 Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00
Jacques Le Roux 2a1a5aee14 We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Erwan de Ferrieres bd82937abb XHTML validation errors round 2++ (content) OFBIZ-3755 https://issues.apache.org/jira/browse/OFBIZ-3755
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946322 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 18:15:46 +00:00
Jacques Le Roux 2e47e20efe This file was open in Eclipse and not saved for r946073/946075
(presentation="window")


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946080 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 08:05:00 +00:00
Jacques Le Roux fda988d301 Closes "Allow to open a layer lookup from a layer lookup recursively" (https://issues.apache.org/jira/browse/OFBIZ-3693) - OFBIZ-3693
This commit removes all remaining <presentation="window">

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946073 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 07:36:02 +00:00
Jacques Le Roux 12d712cd78 Bother, forgot to save this presentation="window" before committing r945010 and r945015
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945018 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 08:29:45 +00:00
Jacques Le Roux 9d67ff6cfe This presentation="window" were missing in r944647 and r944648. We still need them for recursive cases.
And I just found that when we use a popup lookup we can't call layered lookups from it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945010 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 08:14:14 +00:00
Jacques Le Roux 62976e36fb We still have a problem with the find button in recursive cases (ie LookupWorkEffort and LookupContent).
It's not related to previous patches committed but an issue which is remaining and we have to face now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:13:03 +00:00
Jacques Le Roux 578662ae4c Now that we have fixed the layered lookup inside layered lookup issue and the recursive call case we can get rid of all the useless remaining presentation="window".
I keep the example and beware LookupTimeDuration is a special case

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944623 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:13:00 +00:00
Scott Gray d233cd5675 The following deprecated classes, constructors or methods have been removed:
org.ofbiz.content.data.DataResourceWorker.getImageType(Delegator, String)
- Use getMimeType(GenericValue) instead

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944175 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 09:46:18 +00:00
Adam Heath aa053eb1ae Add some caching to a few delegator calls, a few cases during the
loading of survey data were always hitting the database.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941047 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 21:19:28 +00:00
Ashish Vijaywargiya db765efdd2 Reverting my commit r938446 based on the comments received on mailing list. For now I am keeping old email address in place (i.e ofbiztest@yahoo.com) keeping in mind that email will not go in spam folder. If others think test@example.com will also behave same then please go ahead commit the changes.
Very soon I will revert my changes on release10.04 branch.
Thanks to everybody who has provided their comments!  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940814 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 11:57:35 +00:00
Jacques Le Roux 8f11d470b9 Some other issues with layered lookups, bypassed for now using popups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939999 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 12:43:34 +00:00
Bruno Busco 968858b79a A patch from Blas Rodriguez Somoza
OFBIZ-3730 - XHTML validation errors round 2+ (content)
https://issues.apache.org/jira/browse/OFBIZ-3730
addSubSite.ftl
script without type attribute

CMSContentEdit.ftl
Attributes without value

CMSSites.ftl
Attributes without value

UserPermissions.ftl
Attributes without value

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939788 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 19:30:17 +00:00
Ashish Vijaywargiya 148318f7fd Changing email address ofbiztest@yahoo.com -> ofbiztesting@gmail.com - this was creating too much problem since long in development effort.
Following points were there in my mind before doing this change.

-- AFAIK ofbiztest@yahoo.com email doesn't exists.
-- Bounce email issue if you have enabled Javamail container. This drastically slow down your system performance. 
-- Now anyone can use ofbiztesting@gmail.com account settings for Sendmail, Javamail container etc.
-- Send mail service triggered again and again with failure message on console if any of the email not found bccAddress inside ProductStoreEmailSettings entity. Again slow speed of your development machine.
-- Please let me know where to share the password of this account? Dev list?


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938446 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 13:17:45 +00:00
Jacques Le Roux e714f96c66 Closes "Replace popup lookups by layer lookups" (https://issues.apache.org/jira/browse/OFBIZ-3442) - OFBIZ-3442
Not all cases have been resolved but this patch takes this into account and should not introduce any not known issues. These issues are identified at "Layer popup umbrella main task" (https://issues.apache.org/jira/browse/OFBIZ-3445). They will be resolved later and are actually bugs so will be committed later when fixed. They are
* "Allow to open a layer lookup from a layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3446) and its specific case "Allow to open a layer lookup from a layer lookup recursively" (https://issues.apache.org/jira/browse/OFBIZ-3693)
* "The minimize/enlarge buttons (+ -) blocks the layer" (https://issues.apache.org/jira/browse/OFBIZ-3692)
* "When you get disconnected (time out) from a layered lookup, you then get afterward ugly screens" (https://issues.apache.org/jira/browse/OFBIZ-3450)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@937852 13f79535-47bb-0310-9956-ffa450edef68
2010-04-25 18:49:01 +00:00
Ashish Vijaywargiya 9712434557 Applied patch from jira issue: OFBIZ-3719 - Include DOCTYPE at the begining of CMS driven html page.
Description of work:
Include DOCTYPE at the begining of html pages, that are render through cms.
Currently DOCTYPE is included in HtmlHead.ftl for cms.
By doing so the DOCT YPE is always included on the top of the page before rendering single HTML statement.

Thanks Deepak & Rishi for the contribution and Scott for the comments.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935886 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 12:03:21 +00:00
Bruno Busco 28e67b0349 A patch from Blas Rodriguez Somoza
OFBIZ-3688 - XHTML validation errors round 2 (content)
https://issues.apache.org/jira/browse/OFBIZ-3688
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:

ContentTreeLookupList.ftl
Line 20: tr with attribute colspan

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935263 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:02:54 +00:00
Scott Gray d4e34a244a Fixed a ton of pointless ServiceUtil.returnError(...) calls, I've left the ones that aren't inside services for now since they require a little more thought to fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935164 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 10:28:18 +00:00
Bruno Busco 0fbba1b188 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934178 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:22:04 +00:00
Jacques Le Roux 3c9ed4efd1 Fix a bug reported by Blas Rodriguez Somoza at https://issues.apache.org/jira/browse/OFBIZ-3673 "Error screen in Content Manager->CMS->Create new (Ofbiz Demo)" - OFBIZ-3673
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933258 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 14:52:00 +00:00
Jacques Le Roux 0fd584149d Fixes 2 wrong arguments names passed to htmlTemplate.lookupField macro. There are no others.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933145 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 08:47:24 +00:00
Scott Gray 80804f0931 Removed usage of the deprecated macro renderer constructors
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932174 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:23:33 +00:00
Scott Gray ffb067d933 Applied patch from Jacopo Cappellato, switched the content rendering logic over to using the macro renderers rather than the soon to be deprecated html renderers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932170 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:14:07 +00:00
Scott Gray 6a48871974 Remove an unnecessary null assignment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932169 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:14:02 +00:00
Scott Gray 6c4c6ce197 Remove some unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932168 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 23:13:58 +00:00
Jacques Le Roux 671756c121 This one was missing in r931854 ("Using Widgets html form templates in FTL file"). It's one of the 2 cases where the hidden field is shared (note the FIXME)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932005 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 16:58:42 +00:00
Jacques Le Roux c7b353d3e8 Closes "Using Widgets html form templates in FTL files" (https://issues.apache.org/jira/browse/OFBIZ-3541) - OFBIZ-3541
This concerns the lookups which are now rendered the same in ftl files and widget forms

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931854 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 10:19:38 +00:00
Scott Gray eb4e287b9e Switch some classpath style xml service locations to component style
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931776 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 04:08:53 +00:00
Scott Gray 8ff3d00360 Removed commented and ununsed code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931212 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 16:28:34 +00:00
Scott Gray c46617fed3 Generics markup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931210 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 16:26:06 +00:00
Scott Gray a75dd88034 Added support for generating content links by looking for an appropriate WebSitePathAlias to use, I skipped adding support for finding an alias via mapKey/contentId for now since quite a bit of processing would be required to find an appropriate match
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931174 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 15:02:32 +00:00
Scott Gray bde54f16ff In ContentWorker.renderContentAsText, I've moved the check for a dataResourceId down to the point where the DataResource record actually needs to be rendered. If a decorator content is present then it is quite possible that the content record is simply being used as a plcaeholder to render sub content records.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930968 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 21:42:28 +00:00
Scott Gray 25c3f11822 Improved the content rendering so that multiple levels of decoration are supported, previously you could have only one content and it's decorator, anything above that and the contents being decorated would get lost in the rendering logic.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930544 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 17:11:34 +00:00
Vikas Mayur c1a6159f64 Removed unnecessary occurrences of <or> tag enclosure in a singleton condition expression. in all of the lookup screens. Also removed few empty new lines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930252 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 12:05:17 +00:00
Erwan de Ferrieres bf0d08ad2d Adding entityLabels for WebSiteContentType
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930205 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 09:35:49 +00:00