Hi Johan,
I think you might be interested in this:
http://www.nabble.com/New-feature-in-3.1-%3A-paragraph-renderers-
tf3571622.html
This is currently being tested on the trunk. With the current
FreemarkerParagraphRenderer, you can execute arbitrary logic and use
its result in your paragraph template. There are certainly missing
pieces to solve *your* puzzle, but it might be a good starting point,
and you might want to contribute missing features if relevant :)
Cheers,
greg
On Apr 18, 2007, at 14:19 , Johan Snyman wrote:
Sorry if the title may be misleading, but I have no idea how a better
subject line would read.
We are looking at using Magnolia as a CMS to manage content etc.,
but would
also like to add our own dynamically created content to it (created by
reading databases, adding business logic, struts...).
I've created my own paragraphs now, own dialogs. The next logical
question
is whether we can now set up a paragraph that will be dynamically
loaded
into the page.
I read on the wiki
(http://www.magnolia.info/wiki/Wiki.jsp?
page=BusinessLogicTemplateRenderer)
how to easily add business logic by creating a Java class that extends
JspTemplateRenderer. This does not seem to be the way to go when I
need to
integrate a Struts action into the page.
Any ideas or documentation that might be helpful?
Regards
Johan
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.5.1/765 - Release Date:
2007/04/17
05:20 PM
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------