On Wed, Mar 18, 2009 at 4:47 PM, Georg Ragaller <[email protected]> wrote: > Paul wrote: >> Maybe I'm totally out of sync, but you could borrow ideas/code from >> Confluence [1] or Maven [2] "snippet macros" that just does that. > > Cool, never heard about it yet. Like so often others have had the same idea > before :-). > Perhaps Niclas can evaluate if one fits the qi4j sites needs (e.g. the maven > thing is static as I understood).
Georg, it is quite fine. I would prefer not to try and create a SiteVision portlet (WS-RP or other), but it has a fairly cool ability to retrieve a resource at a URL and transform that with an XSLT, before sticking it into the rendered HTML. So, if you could create me a plain, standard HttpServlet that generates an XML or XHTML snippet, it is dead easy to mount the servlet and link that into the pages. I think it simplifies your testing too. I would appreciate a complete WAR capable of deployment in Tomcat, but I will manage without. If you could create a new module, for instance projects/qi4j/tools/codesnippet, so it can be collaborate upon. Cheers Niclas -- http://www.qi4j.org - New Energy for Java _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

