Hey everybody,
I am currently working on a project on which we use OFBiz (Apache Open for
Business) as a standard e-commerce platform. However, as OFBiz fails to
provide a decent cms, I am now trying to implement magnolia (v 3.7 compiled
through maven) into the system, whereas OFBiz serves as the main application
and Magnolia is integrated as a module…
I was capable of handling the integration of Magnolia by itself and ftl
files can already be shared between the two systems. One of the major
problems that remains tob e solved however ist he integration oft he
freemarker expression language used by magnolia into ofbiz. OFBiz itself
remains fairly simple when it comes to this and provides all necessary in a
single java class file (org/ofbiz/base/util/template/FreemarkerWorker.java )
in which it would load the expression processor one by one… e.g.:
ftlTransforms.put("ofbizUrl", loader.loadClass(
"org.ofbiz.webapp.ftl.OfbizUrlTransform").newInstance());
Where org.ofbiz.webapp.ftl.OfbizUrlTransform is of course the class that
handles the Transformation oft he expression itself. Now my question would
be:
If I was to have the ftl „content“ expression being handled by the magnolia
system (as said: the system itself is already running within the domains of
ofbiz and I do have access to the libs), which Classes would I need to
Initiate and through which functions would i set the correct node?
--
View this message in context:
http://www.nabble.com/Integrating-Magnolia-into-OFBiz-tp20359541p20359541.html
Sent from the Magnolia - User mailing list archive at Nabble.com.
----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------