IMO most of the code in the ServletDispatcher init method should be moved to ApplicationLifecycleListener.contextInitialzed to ensure that it is called even if anothe dispatcher is used. I might be missing some reason for it beeing where it is. If so, please tell me.
/Fredrik Lindgren
On Fri, 12 Dec 2003 10:45:08 -0600, Jason Carreira <[EMAIL PROTECTED]> wrote:
What uses Velocity outside the templates?
-----Original Message----- From: Fredrik Lindgren [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 2:20 AM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] WebWorks without velocity how to
I looked through the code a bit last night with a special interest on the Velocity dependencies. As far as I can see it would be quite easy to refactor the current UI tags to avoid the hard coded velocity dependency and provide a plugable template handler. This would allow for a template handler based on JSP includes like in WW1 as well as the WW2 based on velocity templates. IMO this should not mean that webwork should provide a complete set of JSP based templates, just that they would be supported.
Another thing I discovered is that there are Velocity dependencies in the current code base that are not only related to the UI tags. This means that you currently need to include the velocity jar to be able to use webwork even without the UI tags.
If you are interested I would be glad to spend some time this weekend to make the necessary refactorings and submit them as patches for you approval (or dismissal).
Best Regards Fredrik Lindgren
On Thu, 11 Dec 2003 12:22:56 -0600, Jason Carreira <[EMAIL PROTECTED]> wrote:
> WW1 you can use without velocity, WW2 uses velocity for its UI tag > templates. If you don't plan to use the UI tags, you can remove it. > > -----Original Message----- > From: remigijus [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, > 2003 12:38 PM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] WebWorks without velocity how to > > > I know that. As it is stated in the doc it has nothing to do with > web, it can be used anywhere and is not linked with http in any way. > So maybe I got a wrong answer before. I want to make it clear, can I > user WebWork without velocity. Will it work without an errors after > I'm going to remove velocity.jar an enties from web.xml and other > places. Will I be able to ww tags without errors? > If somebody can give me sure answer you are welcome. > ----- Original Message ----- > > From: Patrick Lightbody <mailto:[EMAIL PROTECTED]> To: > [EMAIL PROTECTED] Sent: Thursday, December 11, > 2003 7:20 PM > Subject: RE: [OS-webwork] WebWorks without velocity how > to > > > > I think you're confused. XWork has almost zero dependencies. WebWork > has a dependency on XWork. It also depends on velocity if you wish to > use the JSP UI tags. > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > remigijus > Sent: Thursday, December 11, 2003 2:50 AM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] WebWorks without velocity how > to > > > > Very sad news. In this way I see no reason to separate xwork from > webwork. Somone has missed some basic idea. I'm little confused, why > to make separation and make dependency on anything else? Does someone > see any inconsistency here, or I'm only one so confused here? > > ----- Original Message ----- > > From: Patrick Lightbody > <mailto:[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Sent: Tuesday, December 09, 2003 5:57 PM > > Subject: RE: [OS-webwork] WebWorks without > velocity how to > > > > Remis, > > In 1.x, yes. In 2.0, no. > > > > -Pat > > > > -----Original Message----- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > remigijus > Sent: Thursday, December 04, 2003 8:23 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] WebWorks without velocity > how to > > > > Hi > > > > There is possibility to use ww ui tags without > using of velocity. If yes how can it be done. > > > > And how using of velocity influent overall > server performance. > > > > Remis > >
-- Fredrik Lindgren Software Architect, Appear Networks AB
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
-- Fredrik Lindgren
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork