Commit Graph
5 Commits
Author SHA1 Message Date
Jacopo Cappellato 3c128ad8b8 OFBIZ-5896 This commits fixes a regression I introduced with rev. 1635232 (this actually reverts that commit) and provides a different and better fix for the error affecting the "Did you know?" screenlet.
ContentServicesComplex.getAssocAndContentAndDataResourceCacheMethod was not using the passed contentId in condition list, and also was not using the ContentAssocDataResourceViewFrom/To view entity to get the result. Thanks to Deepak Dixit for the patch.
Misc minor cleanups (removed commented out code) and some small formatting fixes.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643061 13f79535-47bb-0310-9956-ffa450edef68
2014-12-03 07:17:12 +00:00
Jacopo Cappellato 77e602dc99 Fixes for the "Did you know?" screenlet in ecommerce that was throwing errors after Scott's recent fix to a content related method (the fix has exposed the data issues).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1635232 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 18:02:51 +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 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
Hans Bakker fa458c9691 blog demo data moved from ecommerce to content, more likely the home of blog, this in preparation of having blog maintenance screens in content to
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@734298 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 01:57:06 +00:00