From: Sebastian K. <seb...@mu...> - 2004-10-01 17:40:34
|
Hai-Chen, Hai-Chen Tu wrote: > Without this problem, I think we can use a regular WM (i.e., not > initialized with a ServletBroker) as the base for WebMacro engine > in Spring. > And we can use WebContext inside WebMacroView for servlet > application and > regular Context for other usages (e.g., email templates). > right. We should come up with something to provide the handy WebMacro tools for people who want them to use and make it easy, to use WebMacro not only for the view layer, but also for other templating purposes. > Also, I think the main reasons for having > Servlet20Broker/Servlet22Broker are > to add few more places for locating property files, templates, and > other > resources and to use ServletContext.log(...) for logging purpose. > They probably > should be replaced by Spring-friendly ones, e.g., like the way > your have > implemented. yes, that's why I wrote a SpringBroker: to adapt to the Spring environment (that's what Broker's are for). Sebastian PS: Will be away until Tuesday |