----- Original Message ----- From: "Fredrik Lindgren" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 12, 2003 9:20 AM 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 > It's very nice to hear such answer. I'm not against velocity, I only little confused about some decisions was made for ww2. I truly believe that ww2 should be able to work even without presentation layer. But to provide full functionality it has already, it should have an additional presentation layer which can be plugged as required. It's always better to provide some options instead of forcing some opinion to others. At least we don't know what will come for presentation layer after one or two years. At the present moment ww2 I see as extension to velocity, because it has no meaning without it. I don't think it should be that way. Again thanks to Fredrik Lindgren for his response. I hope everyone will see the benefit if some modifications will be made. Best Regards Remigijus Bauzys > 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