You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(68) |
Dec
(77) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(75) |
Feb
(84) |
Mar
(89) |
Apr
(96) |
May
(52) |
Jun
(73) |
Jul
(99) |
Aug
(46) |
Sep
(40) |
Oct
(46) |
Nov
(45) |
Dec
(25) |
2004 |
Jan
(13) |
Feb
(74) |
Mar
(40) |
Apr
(18) |
May
(31) |
Jun
(1) |
Jul
(16) |
Aug
(1) |
Sep
(21) |
Oct
(19) |
Nov
(10) |
Dec
(16) |
2005 |
Jan
(4) |
Feb
(12) |
Mar
(46) |
Apr
(33) |
May
(64) |
Jun
(1) |
Jul
(60) |
Aug
(31) |
Sep
(26) |
Oct
(24) |
Nov
(37) |
Dec
(10) |
2006 |
Jan
(3) |
Feb
(31) |
Mar
(122) |
Apr
(22) |
May
(4) |
Jun
|
Jul
|
Aug
(2) |
Sep
(4) |
Oct
(8) |
Nov
(3) |
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(8) |
From: Hai-Chen Tu <hc...@op...> - 2004-10-01 17:14:23
|
Lane, I used $CGI for debugging purpose (dump form parameters) but I can easily switch to $Request for the same result. Hai-Chen At 12:49 PM 10/1/2004, Lane Sharman wrote: >cgi impersonator is not a mainline class and could be deprecated to >support this initiative. > >-Lane > >Hai-Chen Tu wrote: > >>Sebastian, >> I searched all the ContextTools code and found that >> CGI_Impersonator is the only class that needs to >> access ServletContext and it also assumes that >> the broker is a ServletBroker (see code below). >> >> CGI_Impersonator(WebContext wc) { >> requst_ = wc.getRequest(); >> // this is not very nice, but I don't see any other >> // possibility to get the servlet context. We should >> // provide a method in WebContext to hide this from our users. >> sc_ = ((ServletBroker) >> wc.getBroker()).getServletContext(); >> } >> >> 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). >> >> 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. >> >> So the question now is how to address the CGI issue. Comments? >>Hai-Chen Tu >> >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >>Use IT products in your business? Tell us what you think of them. Give us >>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >>http://productguide.itmanagersjournal.com/guidepromo.tmpl >>_______________________________________________ >>Webmacro-user mailing list >>Web...@li... >>https://lists.sourceforge.net/lists/listinfo/webmacro-user > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user |
From: Hai-Chen Tu <hc...@op...> - 2004-10-01 17:11:41
|
Sebastian, Could you extend your WebMacro-Spring implementation so template.write(...) in WebMacroView will add encoding? I think you can either retrieve encoding from response or through bean configuration. I am not quite sure about Locale -- Locale is not an intrinsic part of WebMacro and we probably should just let developers to handle it in the application code. Hai-Chen |
From: Lane S. <la...@op...> - 2004-10-01 16:49:07
|
cgi impersonator is not a mainline class and could be deprecated to support this initiative. -Lane Hai-Chen Tu wrote: > Sebastian, > I searched all the ContextTools code and found that > CGI_Impersonator is the only class that needs to > access ServletContext and it also assumes that > the broker is a ServletBroker (see code below). > > CGI_Impersonator(WebContext wc) { > requst_ = wc.getRequest(); > // this is not very nice, but I don't see any other > // possibility to get the servlet context. We should > // provide a method in WebContext to hide this from our > users. > sc_ = ((ServletBroker) > wc.getBroker()).getServletContext(); > } > > 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). > > 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. > > So the question now is how to address the CGI issue. Comments? > Hai-Chen Tu > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: Hai-Chen Tu <hc...@op...> - 2004-10-01 16:15:34
|
Sebastian, I searched all the ContextTools code and found that CGI_Impersonator is the only class that needs to access ServletContext and it also assumes that the broker is a ServletBroker (see code below). CGI_Impersonator(WebContext wc) { requst_ = wc.getRequest(); // this is not very nice, but I don't see any other // possibility to get the servlet context. We should // provide a method in WebContext to hide this from our users. sc_ = ((ServletBroker) wc.getBroker()).getServletContext(); } 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). 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. So the question now is how to address the CGI issue. Comments? Hai-Chen Tu |
From: Lane S. <la...@op...> - 2004-10-01 00:01:39
|
Hi Hai, Sebastian, Couple of observations from experience. If you have read the new book, "Effective (or is it) Better Java", you will note that the author stresses the importance of decoupling dependencies. Therefore, I do not like either of the solutions below because you are subclassing WMServlet and WMBroker. What if they have side effects? Change? Are inadequate? WMBroker has a lot of implementation internals which could break a subclass. From experience, both WMServlet and WMBroker have issues. Rather, I would like to see a POJO whose containment of a WebMacro context and, consequently, a broker, plus a number of convenience methods, make it the place to create the bridge object between Spring and WM. Let's call it WMSpring. (See o.w.u.WMEval for a class which could be remade easily into WMSpring). Thus, in WMSpring, you provide the bridges to both Spring and WebMacro which can be used in both a Servlet context and a non-servlet context. There are convenience initializers for both kinds of environments and for web context tools as needed. see: http://www.webmacro.org/api/org/webmacro/util/WMEval.html (the docs are a bit out of date). I do not want to be tied to subclassing WMServlet. Generally, creation of an adapter is accomplished thru composition by a POJO. kindest, Lane Hai-Chen Tu wrote: > Hi, > I exchanged several email with Sebastian on WebMacro-Spring > integration > issues and here is a summary of our discussion. It happened that > we have different approaches to implement the integration and I will > first describe the key parts of our approaches and then present > some issues I have. You are all welcome to give your views and > suggestions. > Hopefully at the end of discussion we will have a version of > integration > that everyone is happy to use. > > Sebastian's approach: > * a CommonsLog class that implements WebMacro's Log interface > using apache's common log API. > * a SpringBroker class that extends WebMacro's Broker. It uses > CommonsLog as the logger and Spring's ResourceLoader > as the resource loader. > * The WebMacro engine is created using SpringBroker. > * rendering output is done through > template.write(response.getOutputStream(), context); > > My approach: > * ServletBroker: under the Spring MVC framework, I couldn't > find any API > to access the DispatchServletcan to create a ServletBroker. > So I wrote a utility that creates a > Servlet20Broker/Servlet22Broker > using the ServletContext retrieved from the Spring > application context. > (There is probably a way to use Sebastian's CommonsLog as > the logger for this ServletBroker but I don't know how to > do it.) > * The WebMacro engine is based on WMServlet (which is probably > a mistake but please read on). Since there is > no servlet available during init time, I wrap WMServlet > in a thin subclass and override its initWebMacro() and use > new WM(broker created from the above mechanism) > to create a WM. > * rendering output is done through > WMServlet.execute(Template, WebContext) > * I also recycle WebContext instances > > The reasons I want to use WMServlet are because > 1. I can use error.wm: > 2. I can use #param to set TEMPLATE_OUTPUT_ENCODING and > TEMPLATE_LOCALE > 3. I can use ContextTools, e.g., $CGI. > > About error.wm, I am not quite sure if it is important to use it. > I did, however, use it in my applications. > > Sebastian thinks that there is no need to use WMServlet and > one can still access ContextTools without WMServlet. I think he is > correct but I think a ServletBroker is still needed to be able to > create > CGI_Impersonator, and probably some other ContextTools. If this > is the case, we may need to consolidate his SpringBroker and > ServletBroker. > > On encoding/local setting, if we don't use WMServlet, then we > probably > want to allow developers to specify template encoding/locale > through Spring's configuration file per WebMacroView bean (each > template > has a one-one correspondence with a view), which is the mechanism > Spring-Velocity integration uses. > > Sebastian, > Could you describe the difference between Spring ResourcLoader > and default resource loading used by Servlet20Broker/Servlet22Broker? > > Hai-Chen Tu > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: Hai-Chen Tu <hc...@op...> - 2004-09-30 22:14:24
|
Hi, I exchanged several email with Sebastian on WebMacro-Spring integration issues and here is a summary of our discussion. It happened that we have different approaches to implement the integration and I will first describe the key parts of our approaches and then present some issues I have. You are all welcome to give your views and suggestions. Hopefully at the end of discussion we will have a version of integration that everyone is happy to use. Sebastian's approach: * a CommonsLog class that implements WebMacro's Log interface using apache's common log API. * a SpringBroker class that extends WebMacro's Broker. It uses CommonsLog as the logger and Spring's ResourceLoader as the resource loader. * The WebMacro engine is created using SpringBroker. * rendering output is done through template.write(response.getOutputStream(), context); My approach: * ServletBroker: under the Spring MVC framework, I couldn't find any API to access the DispatchServletcan to create a ServletBroker. So I wrote a utility that creates a Servlet20Broker/Servlet22Broker using the ServletContext retrieved from the Spring application context. (There is probably a way to use Sebastian's CommonsLog as the logger for this ServletBroker but I don't know how to do it.) * The WebMacro engine is based on WMServlet (which is probably a mistake but please read on). Since there is no servlet available during init time, I wrap WMServlet in a thin subclass and override its initWebMacro() and use new WM(broker created from the above mechanism) to create a WM. * rendering output is done through WMServlet.execute(Template, WebContext) * I also recycle WebContext instances The reasons I want to use WMServlet are because 1. I can use error.wm: 2. I can use #param to set TEMPLATE_OUTPUT_ENCODING and TEMPLATE_LOCALE 3. I can use ContextTools, e.g., $CGI. About error.wm, I am not quite sure if it is important to use it. I did, however, use it in my applications. Sebastian thinks that there is no need to use WMServlet and one can still access ContextTools without WMServlet. I think he is correct but I think a ServletBroker is still needed to be able to create CGI_Impersonator, and probably some other ContextTools. If this is the case, we may need to consolidate his SpringBroker and ServletBroker. On encoding/local setting, if we don't use WMServlet, then we probably want to allow developers to specify template encoding/locale through Spring's configuration file per WebMacroView bean (each template has a one-one correspondence with a view), which is the mechanism Spring-Velocity integration uses. Sebastian, Could you describe the difference between Spring ResourcLoader and default resource loading used by Servlet20Broker/Servlet22Broker? Hai-Chen Tu |
From: Hai-Chen Tu <hc...@op...> - 2004-09-29 17:00:50
|
Sebastian, I just sent my implementation to your email address (I don't want to clog everyone's email box with the attachment) with short description of the difference between our approaches. Please take a look. Thanks. Hai-Chen Tu At 02:04 AM 9/29/2004, Sebastian Kanthak wrote: >seb...@mu... |
From: Lane S. <la...@op...> - 2004-09-29 15:56:02
|
Hi Sebastian, Thanks so much. Spring seems like it would be an excellent way to showcase WebMacro and vice versa. I hope you and Hai make some headway. Please add a build script as soon as possible, even if it is just to create a jar. Kindest, Lane Sebastian Kanthak wrote: > Hi all, > > I just checked a first version of the WebMacro/Spring integration into > the contrib CVS (in the spring directory). > > It's nothing too sophisticated, but I'm using it on my current project > and it works just fine for me. A little bit more of how it works can > be found in the USAGE file and the javadocs of the classes. I haven't > provided an ant-file right now, because I just ripped it out of my > current project and don't have much time right now. > > Hai-Chen, I'd like to work with you on improving this integration. You > said you've developed your own version, perhaps you have > suggestions... Where did you take a different approach then I did and > which areas do need more work, you think. Once we have this in a > releasable state, we can ask the Spring people I guess. > > Sebastian > > PS: I'm having a small macro-library as well that I'm using in my > views to display error-messages from spring and so on. I'll clean this > up and check it in tomorrow. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Sebastian K. <seb...@mu...> - 2004-09-29 06:03:18
|
Hi all, I just checked a first version of the WebMacro/Spring integration into the contrib CVS (in the spring directory). It's nothing too sophisticated, but I'm using it on my current project and it works just fine for me. A little bit more of how it works can be found in the USAGE file and the javadocs of the classes. I haven't provided an ant-file right now, because I just ripped it out of my current project and don't have much time right now. Hai-Chen, I'd like to work with you on improving this integration. You said you've developed your own version, perhaps you have suggestions... Where did you take a different approach then I did and which areas do need more work, you think. Once we have this in a releasable state, we can ask the Spring people I guess. Sebastian PS: I'm having a small macro-library as well that I'm using in my views to display error-messages from spring and so on. I'll clean this up and check it in tomorrow. |
From: Lane S. <la...@op...> - 2004-09-28 16:30:44
|
Sebastian, Could you check your code in asap to cvs and write up a page on the WM site and, lastly, be sure to cc the Spring group? Many thanks, Lane Hai-Chen Tu wrote: > > This sounds wonderful. I also wrote a version of it last week but did > only > minimum testing. Anyway, I suppose we should use Sebastian's version > because it has been used already. > > Hai-Chen Tu > > > At 12:13 PM 9/27/2004, Lane Sharman wrote: > >> Hai and Others, >> >> Sebastian has finished a Sping integration. >> >> Perhaps he can post to both Spring and to WM and coordinate with the >> rest of us? >> >> Thanks, >> >> Lane >> >> Sebastian Kanthak wrote: >> >>> >>> Hi Lane, >>> >>> I can't access my e-mail currently. I sent this reply yesterday, but >>> it does not get to the list because of administraton issues. Could you >>> either make a list administrator accept my message or directly forward >>> this to the list? >>> >>> Sebastian >>> >>> >>> ---------- Forwarded message ---------- >>> From: Sebastian Kanthak <mailto:ska...@gm...><ska...@gm...> >>> Date: Tue, 21 Sep 2004 15:32:54 -0700 >>> Subject: Re: [WebMacro-user] WebMacro and Spring Framework >>> To: >>> <mailto:web...@li...>web...@li... >>> >>> >>> Hey, >>> >>> On Tue, 21 Sep 2004 15:11:50 -0700, Lane Sharman >>> <mailto:la...@op...><la...@op...> wrote: >>> >>>> >>>> If you give me a good contact at Spring, I will work to engage >>>> somebody >>>> to develop the hook. >>>> >>>> Generally, it is trivial to add a template system, once 2 or more are >>>> already supported. >>>> >>> >>> >>> I'm using WebMacro and Spring on my current project and it is working >>> fine together. I've already written the necessary code (pretty easy) >>> and will check it into the webmacro's CVS the next days, as some >>> people seem to be interested. Perhaps we should try to include this >>> code into Spring as well, once it has become stable. >>> >>> Sebastian >>> >>> >> >> >> -- >> Lane Sharman >> Providing Private and SPAM-Free Email >> <http://www.opendoors.com>http://www.opendoors.com >> 858-755-2868 > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Hai-Chen Tu <hc...@op...> - 2004-09-27 17:15:16
|
This sounds wonderful. I also wrote a version of it last week but did only minimum testing. Anyway, I suppose we should use Sebastian's version because it has been used already. Hai-Chen Tu At 12:13 PM 9/27/2004, Lane Sharman wrote: >Hai and Others, > >Sebastian has finished a Sping integration. > >Perhaps he can post to both Spring and to WM and coordinate with the rest >of us? > >Thanks, > >Lane > >Sebastian Kanthak wrote: >> >>Hi Lane, >> >>I can't access my e-mail currently. I sent this reply yesterday, but >>it does not get to the list because of administraton issues. Could you >>either make a list administrator accept my message or directly forward >>this to the list? >> >>Sebastian >> >> >>---------- Forwarded message ---------- >>From: Sebastian Kanthak <mailto:ska...@gm...><ska...@gm...> >>Date: Tue, 21 Sep 2004 15:32:54 -0700 >>Subject: Re: [WebMacro-user] WebMacro and Spring Framework >>To: >><mailto:web...@li...>web...@li... >> >>Hey, >> >>On Tue, 21 Sep 2004 15:11:50 -0700, Lane Sharman >><mailto:la...@op...><la...@op...> wrote: >> >>> >>>If you give me a good contact at Spring, I will work to engage somebody >>>to develop the hook. >>> >>>Generally, it is trivial to add a template system, once 2 or more are >>>already supported. >>> >> >> >>I'm using WebMacro and Spring on my current project and it is working >>fine together. I've already written the necessary code (pretty easy) >>and will check it into the webmacro's CVS the next days, as some >>people seem to be interested. Perhaps we should try to include this >>code into Spring as well, once it has become stable. >> >>Sebastian >> >> > > >-- >Lane Sharman >Providing Private and SPAM-Free Email ><http://www.opendoors.com>http://www.opendoors.com >858-755-2868 |
From: Lane S. <la...@op...> - 2004-09-27 16:02:04
|
Hai and Others, Sebastian has finished a Sping integration. Perhaps he can post to both Spring and to WM and coordinate with the rest of us? Thanks, Lane Sebastian Kanthak wrote: >Hi Lane, > >I can't access my e-mail currently. I sent this reply yesterday, but >it does not get to the list because of administraton issues. Could you >either make a list administrator accept my message or directly forward >this to the list? > >Sebastian > > >---------- Forwarded message ---------- >From: Sebastian Kanthak <ska...@gm...> >Date: Tue, 21 Sep 2004 15:32:54 -0700 >Subject: Re: [WebMacro-user] WebMacro and Spring Framework >To: web...@li... > >Hey, > >On Tue, 21 Sep 2004 15:11:50 -0700, Lane Sharman <la...@op...> wrote: > > >>If you give me a good contact at Spring, I will work to engage somebody >>to develop the hook. >> >>Generally, it is trivial to add a template system, once 2 or more are >>already supported. >> >> > >I'm using WebMacro and Spring on my current project and it is working >fine together. I've already written the necessary code (pretty easy) >and will check it into the webmacro's CVS the next days, as some >people seem to be interested. Perhaps we should try to include this >code into Spring as well, once it has become stable. > >Sebastian > > > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Lane S. <la...@op...> - 2004-09-27 16:00:33
|
Hai, This sounds excellent. Let me know if I can be a good sounding board. -Lane Hai-Chen Tu wrote: > Lane, > I think WebMacro has the best template syntax among all the > template solutions. > > To better understand Spring, I will try to implement needed > classes to integrate > WebMacro with Spring using its existing implementation as a > reference. I think > the basic implementation is straightforward, e.g., keep most > webmacro configuration > setup through webmacro.xml and not through Sprint's > configuration file. > > Hai-Chen Tu > > > At 12:21 PM 9/22/2004, Lane Sharman wrote: > >> Hi, >> >> WebMacro is a very solid, extensible API. Its syntax is actually >> cleaner than Velocity tho there are some sugarlets in Velo missing in >> WebMacro. >> >> WM does not have the glitz of Jakarta and Apache. It has the >> substance for making greating applications working with text but I am >> preaching the choir now, sorry! >> >> Can you, Ed (or Hai), consider looking into Spring and seeing if your >> code would be a propos. If so, I would be willng to work with you. I >> do not want to tackle this alone. >> >> thanks, >> >> Lane >> >> Ed Randall wrote: >> >>> You might find that the "TemplateSystem" adapter that I wrote >>> ages ago for using Webmacro (and Velocity) with Struts will also go >>> some way towards achieving what you need; >>> >>> I've not had time to look at Spring yet but since it hooks in to the >>> standard servlet "RequestDispatcher" API you might find it works >>> without modification (all caveats, YMMV though!) >>> >>> http://www.ingenotech.com/downloads/ >>> >>> Glad to see that the webmacro project hasn't died, I was seriously >>> concerned recently to see that http://www.webmacro.org had vanished >>> and http://webmacro.sourceforge.net also gave an empty page. >>> http://sourceforge.net/projects/webmacro/ is still there and >>> www.webmacro.org is back now though fortunately. >>> >>> Ed >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >>> Project Admins to receive an Apple iPod Mini FREE for your judgement on >>> who ports your project to Linux PPC the best. Sponsored by IBM. >>> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >>> _______________________________________________ >>> Webmacro-user mailing list >>> Web...@li... >>> https://lists.sourceforge.net/lists/listinfo/webmacro-user >>> >>> >> >> -- >> Lane Sharman >> Providing Private and SPAM-Free Email >> http://www.opendoors.com >> 858-755-2868 >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >> Project Admins to receive an Apple iPod Mini FREE for your judgement on >> who ports your project to Linux PPC the best. Sponsored by IBM. >> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >> _______________________________________________ >> Webmacro-user mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/webmacro-user > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Hai-Chen Tu <hc...@op...> - 2004-09-22 19:25:00
|
Lane, I think WebMacro has the best template syntax among all the template solutions. To better understand Spring, I will try to implement needed classes to integrate WebMacro with Spring using its existing implementation as a reference. I think the basic implementation is straightforward, e.g., keep most webmacro configuration setup through webmacro.xml and not through Sprint's configuration file. Hai-Chen Tu At 12:21 PM 9/22/2004, Lane Sharman wrote: >Hi, > >WebMacro is a very solid, extensible API. Its syntax is actually cleaner >than Velocity tho there are some sugarlets in Velo missing in WebMacro. > >WM does not have the glitz of Jakarta and Apache. It has the substance for >making greating applications working with text but I am preaching the >choir now, sorry! > >Can you, Ed (or Hai), consider looking into Spring and seeing if your code >would be a propos. If so, I would be willng to work with you. I do not >want to tackle this alone. > >thanks, > >Lane > >Ed Randall wrote: > >>You might find that the "TemplateSystem" adapter that I wrote >>ages ago for using Webmacro (and Velocity) with Struts will also go some >>way towards achieving what you need; >> >>I've not had time to look at Spring yet but since it hooks in to the >>standard servlet "RequestDispatcher" API you might find it works without >>modification (all caveats, YMMV though!) >> >>http://www.ingenotech.com/downloads/ >> >>Glad to see that the webmacro project hasn't died, I was seriously >>concerned recently to see that http://www.webmacro.org had vanished >>and http://webmacro.sourceforge.net also gave an empty page. >>http://sourceforge.net/projects/webmacro/ is still there and >>www.webmacro.org is back now though fortunately. >> >>Ed >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >>Project Admins to receive an Apple iPod Mini FREE for your judgement on >>who ports your project to Linux PPC the best. Sponsored by IBM. >>Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >>_______________________________________________ >>Webmacro-user mailing list >>Web...@li... >>https://lists.sourceforge.net/lists/listinfo/webmacro-user >> >> > >-- >Lane Sharman >Providing Private and SPAM-Free Email >http://www.opendoors.com >858-755-2868 > > > >------------------------------------------------------- >This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >Project Admins to receive an Apple iPod Mini FREE for your judgement on >who ports your project to Linux PPC the best. Sponsored by IBM. >Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user |
From: Lane S. <la...@op...> - 2004-09-22 16:10:39
|
Hi, WebMacro is a very solid, extensible API. Its syntax is actually cleaner than Velocity tho there are some sugarlets in Velo missing in WebMacro. WM does not have the glitz of Jakarta and Apache. It has the substance for making greating applications working with text but I am preaching the choir now, sorry! Can you, Ed (or Hai), consider looking into Spring and seeing if your code would be a propos. If so, I would be willng to work with you. I do not want to tackle this alone. thanks, Lane Ed Randall wrote: >You might find that the "TemplateSystem" adapter that I wrote >ages ago for using Webmacro (and Velocity) with Struts will also go some >way towards achieving what you need; > >I've not had time to look at Spring yet but since it hooks in to the >standard servlet "RequestDispatcher" API you might find it works >without modification (all caveats, YMMV though!) > >http://www.ingenotech.com/downloads/ > >Glad to see that the webmacro project hasn't died, I was seriously >concerned recently to see that http://www.webmacro.org had vanished >and http://webmacro.sourceforge.net also gave an empty page. >http://sourceforge.net/projects/webmacro/ is still there and >www.webmacro.org is back now though fortunately. > >Ed > > >------------------------------------------------------- >This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >Project Admins to receive an Apple iPod Mini FREE for your judgement on >who ports your project to Linux PPC the best. Sponsored by IBM. >Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user > > > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |
From: Tim P. <tpp...@pa...> - 2004-09-22 12:58:09
|
Hi, Webmacro TemplateProvider cannot find files unpacked in a directory with spaces in the directory path under Windows XP. This is obviously a problem as Tomcat is installed to C:\Program Files by default. I am using webmacro-classic-2.0b1 inside a .war file under a default install of Tomcat 5.0.25 and Tomcat 5.0.28. My templates are in the classpath, ie in WEB-INF/classes The problem (which I have solved so can't cut'n'paste) was: File not found C:/Program%20Files/Apache%20Group/Tomcat%205.0/webapps/melati/WEB-INF/classe s/org/melati/admin/Main.wm I have installed Tomcat under C:\Tomcat5 and all is OK. Thought you might need to know. cheers Tim Pizey |
From: Ed R. <ed....@in...> - 2004-09-22 10:30:30
|
You might find that the "TemplateSystem" adapter that I wrote ages ago for using Webmacro (and Velocity) with Struts will also go some way towards achieving what you need; I've not had time to look at Spring yet but since it hooks in to the standard servlet "RequestDispatcher" API you might find it works without modification (all caveats, YMMV though!) http://www.ingenotech.com/downloads/ Glad to see that the webmacro project hasn't died, I was seriously concerned recently to see that http://www.webmacro.org had vanished and http://webmacro.sourceforge.net also gave an empty page. http://sourceforge.net/projects/webmacro/ is still there and www.webmacro.org is back now though fortunately. Ed |
From: Hai-Chen Tu <hc...@op...> - 2004-09-21 23:08:59
|
Hi Lane, Two key Spring developers are Rod Johnson and Juergen Hoeller. I am reading Rod's book "Expert One-on-One J2EE Development without EJB" and it includes his contact address as "ex...@in...". You can also go http://forum.springframework.org to contact them through Spring's forum. You are correct saying that it is trivial to add WebMacro hook to Spring -- Spring JavaDoc shows just three Velocity-related files. I also believe that by adding a WebMacro hook to Spring will certainly increase WebMacro's popularity. This is also because the Spring download package includes jar files of many third-party open source packages that gives developers a one-stop-shopping experience. Bundling WebMacro with Spring will certainly give WebMacro a nice marketing push. (BTW, don't forget to ask them to add a section on WebMacro in Spring's reference manual. It will also be nice someone can put one good WebMacro-Spring example on their web site. Currently they only have a well-written step-by-step Web example using JSP w. Tomcat.) Hai-Chen Tu At 06:11 PM 9/21/2004, Lane Sharman wrote: >Hi Hai, > >If you give me a good contact at Spring, I will work to engage somebody to >develop the hook. > >Generally, it is trivial to add a template system, once 2 or more are >already supported. > >Regardless of the loss of popularity, WebMacro is a fine solution for >applications and, because Velocity is a copy-cat, you can always migrate >to Velocity if you feel there are not enough warm bodies in the WM bar. > >-Lane > >Hai-Chen Tu wrote: > >>Hi, >> I have been using WebMacro for three years already >> and have developed two ASP services using it. It goes >> without saying that I am a happy user of WebMacro. >> >> Lately I have been learning the Sping Framework and am >> quite impressed with its lightweight framework architecture. >> With Spring, one can hook it up with a long list of Open Source >> packages ranging from database layer to web layer. It also >> provides its own MVC structure as an alternative to Struts. >> Unfortunately, when I did a quick browse of what front-end >> packages it supports, I found it only supports JSP, Velocity, and >> Free Maker, but not WebMacro. I don't know enough about >> Spring to say how much effort it will take to add a WebMacro hook >> to Spring and my guess is that it should not be too difficult, >> especially it has done the hook with Velocity already. >> Anyway, I would like to suggest that the WebMacro team can >> evaluate such an effort and actively engage with the Sprint team >> to develop such a hook in Spring. >> >> I firmly believe that Spring is going to be a strong force reshaping >> how Java software to be developed and WebMacro should not miss >> the boat. >> >>Hai-Chen Tu >> >> >> >> >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >>Project Admins to receive an Apple iPod Mini FREE for your judgement on >>who ports your project to Linux PPC the best. Sponsored by IBM. >>Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >>_______________________________________________ >>Webmacro-user mailing list >>Web...@li... >>https://lists.sourceforge.net/lists/listinfo/webmacro-user |
From: Lane S. <la...@op...> - 2004-09-21 22:11:56
|
Hi Hai, If you give me a good contact at Spring, I will work to engage somebody to develop the hook. Generally, it is trivial to add a template system, once 2 or more are already supported. Regardless of the loss of popularity, WebMacro is a fine solution for applications and, because Velocity is a copy-cat, you can always migrate to Velocity if you feel there are not enough warm bodies in the WM bar. -Lane Hai-Chen Tu wrote: > Hi, > I have been using WebMacro for three years already > and have developed two ASP services using it. It goes > without saying that I am a happy user of WebMacro. > > Lately I have been learning the Sping Framework and am > quite impressed with its lightweight framework architecture. > With Spring, one can hook it up with a long list of Open Source > packages ranging from database layer to web layer. It also > provides its own MVC structure as an alternative to Struts. > Unfortunately, when I did a quick browse of what front-end > packages it supports, I found it only supports JSP, Velocity, and > Free Maker, but not WebMacro. I don't know enough about > Spring to say how much effort it will take to add a WebMacro hook > to Spring and my guess is that it should not be too difficult, > especially it has done the hook with Velocity already. > Anyway, I would like to suggest that the WebMacro team can > evaluate such an effort and actively engage with the Sprint team > to develop such a hook in Spring. > > I firmly believe that Spring is going to be a strong force reshaping > how Java software to be developed and WebMacro should not miss > the boat. > > Hai-Chen Tu > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: Hai-Chen Tu <hc...@op...> - 2004-09-20 18:03:29
|
Hi, I have been using WebMacro for three years already and have developed two ASP services using it. It goes without saying that I am a happy user of WebMacro. Lately I have been learning the Sping Framework and am quite impressed with its lightweight framework architecture. With Spring, one can hook it up with a long list of Open Source packages ranging from database layer to web layer. It also provides its own MVC structure as an alternative to Struts. Unfortunately, when I did a quick browse of what front-end packages it supports, I found it only supports JSP, Velocity, and Free Maker, but not WebMacro. I don't know enough about Spring to say how much effort it will take to add a WebMacro hook to Spring and my guess is that it should not be too difficult, especially it has done the hook with Velocity already. Anyway, I would like to suggest that the WebMacro team can evaluate such an effort and actively engage with the Sprint team to develop such a hook in Spring. I firmly believe that Spring is going to be a strong force reshaping how Java software to be developed and WebMacro should not miss the boat. Hai-Chen Tu |
From: Nikhil G. D. <ng...@ce...> - 2004-09-20 08:57:18
|
The WM site has been down for a long time now. I haven't been able to=20 access it since a month now. I always get redirected to some easydns page. Endre St=F8lsvik wrote: >I can't get to the webmacro site.. > >Anyone care to check this, and give the server a slight kick if it >actually is down? > >Thanks, >Endre > >(Btw: what about a 2.0 soon?) > > > >------------------------------------------------------- >This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >Project Admins to receive an Apple iPod Mini FREE for your judgement on >who ports your project to Linux PPC the best. Sponsored by IBM. >Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user > =20 > |
From: <Web...@St...> - 2004-09-20 08:47:38
|
I can't get to the webmacro site.. Anyone care to check this, and give the server a slight kick if it actually is down? Thanks, Endre (Btw: what about a 2.0 soon?) |
From: <Web...@St...> - 2004-09-17 07:51:54
|
On Tue, 14 Sep 2004, Brian Goetz wrote: | > | If you had paid attention, you'd see I actually did this in the last | > | major overhaul. And I was thinking of you when I did it. | | ...and I'll keep it to myself _what_ I was thinking... :) Oh, PLEASE tell me! Endre |
From: Brian G. <br...@qu...> - 2004-09-15 06:45:05
|
> | If you had paid attention, you'd see I actually did this in the last > | major overhaul. And I was thinking of you when I did it. ...and I'll keep it to myself _what_ I was thinking... :) |
From: <Web...@St...> - 2004-09-14 11:56:11
|
On Thu, 9 Sep 2004, Brian Goetz wrote: | > | However, one could add logic to only start this thread, if the functionality | > | to remove templates from the cache after some time is actually used (e.g. | > | ExpireTime is set to a positive value). | > | > YES! YES! YES!!! | | If you had paid attention, you'd see I actually did this in the last | major overhaul. And I was thinking of you when I did it. I obviously didn't pay attention, as I didn't notice this.. Thanks. (Anyone: 2.0 going rc soon?) Endre |