Michael Blake Day wrote:
How do you guys allow customers to modify velocity templates without mucking
with WAR files?

We have portlets which render pieces of pages, and a portlet have a map (string->object) as configuration. We typically have a "template" entry which contains the template to be used (defaulted to some .vm file in the WAR). Then the user can edit this template by editing the portlet which brings up a Swing editor with a textarea containing the template. It's really cool.


I've made a Flash demo with this which is available here:
http://dreambean.com/Scripting/Scripting.html

I've had to put a login on it though (we don't want certain competitors to see what kewlness we have), but simply email me off-list for login info.

/Rickard



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to