Jacopo Cappellato
f5556274fc
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/specialpurpose@1643061 13f79535-47bb-0310-9956-ffa450edef68
2014-12-03 07:17:12 +00:00
Jacopo Cappellato
92bc7d9bc3
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/specialpurpose@1635232 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 18:02:51 +00:00
Ashish Vijaywargiya
c5bbc062b3
Applied the patch OFBIZ-4902_specialpurpose.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
...
Thanks http://ofbiz.us team for providing the patch work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Hans Bakker
5269893a25
inserted demo data to show the usage of screen widgets in cmssite
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@733410 13f79535-47bb-0310-9956-ffa450edef68
2009-01-11 02:26:26 +00:00
Jacopo Cappellato
b8c91c60a1
Improved template decorator resource: now it searches for the htmlHead/header/footer sub contents associated to the Content that is going to be decorated before using (if they are not found) the ones associated to the Content record of the decorator.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@685564 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 14:17:36 +00:00
David E. Jones
0bf17dd05b
Various cleanups in the cmsssite templates and data; implemented a change to support rendering the Content instead of the DataResource when it is decorated, which is necessary in order for the thisContent object to exist and function, which is necessary for including sub-content and such; also implemented the content map facade link element to get a link out of the context that the cms event puts in it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@516669 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 09:38:03 +00:00
David E. Jones
cf085177bd
A few cleanups and fixed the stuff related to using cms instead of control for the ControlServlet name
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@516594 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 22:45:06 +00:00
Andrew Zeneski
e80ef78bae
updated templates w/ dynamic content
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@516567 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 21:44:44 +00:00
David E. Jones
c00e031d29
Added skeleton cmssite component and webapp with a few example pages; plan is to flesh this out to make a little demo site
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@516537 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 20:13:31 +00:00