Is there an efficient way to call a Grails template from a string loaded from db?

Posted by Kimble on Stack Overflow See other posts from Stack Overflow or by Kimble
Published on 2010-04-04T06:25:59Z Indexed on 2010/04/04 6:33 UTC
Read the original article Hit count: 243

Filed under:
|

I store user editable articles in a database. Users can insert some simple widgets into the articles (graphs and so on). So far I've implemented this as a proof of concept by letting the user insert graphs like [graph-1] and than do a string search and replace.

I was wondering whether there are more efficient ways of calling templates from a string? Maybe involving Sitemesh?

© Stack Overflow or respective owner

Related posts about grails

Related posts about sitemesh