My goal is to get an ajax website working with magnolia, so I'd like to know if somebody already tried something in this direction, Magnolia uses ajax for its backend, but I haven't found anything that can do, for instance, an asynchronous update of a paragraph within a template. The first quick and dirty solution I came at was to create a subtemplate containing the single paragraph I needed to update, and do an ajax call to that subtemplate. But this works well only if I have a few paragraphs to update, not as a general purpose. My next idea is to store somewhat (maybe in the "class" attribute?) the uuid of template and paragraphs in the generated html page, surround each paragraph with a identifiable div and then sending both uuid along the ajax request. On server side there will be a single template for those ajax request, that will load the page and paragraph corresponding to the uuid and renders the paragraph back. But this is just my first tought. Have you ever tried anything like this? Any suggestion?
Regards, Danilo. ---------------------------------------------------------------- for list details see http://www.magnolia-cms.com/home/community/mailing-lists.html ----------------------------------------------------------------
