To get things started, how about we port RequestUtils to Velocity Tools and refactor it there to handle for both Velocity and JSP (anything else?). Then once 1.1 ships, we can patch the Struts nightly build and deprecate the version in the Velocity-Tools CVS.

I wouldn't mind being able to use some of the Struts 1.1 features, like the Message queue right now.

-Ted.

Anthony Kay wrote:

Ted said:
...

The RequestUtils package is really the "JspRequestUtils" package,
and

probably should stay that way.
Nathan:
Hmm.  Then perhaps it should be so named. :)


The much better route, IMHO, is for other
presentation devices to do their own, optimized versions of
RequestUtils.

perhaps, but on the other hand, a more generalized and central
RequestUtils
would make it easier to keep all varying presentation layers in sync
as
Struts continues to evolve.  i could go either way.

This was really my main point. The code in the velocity tools
ends up being nearly identical to the RequestUtils code. A set of
methods, particularly those like computeURL(), that would centralize
the assembly of the internal struts mechanisms and data for the
presentation layer would save a lot of duplicated effort on
many fronts.


I do have a few tweaks of my own for the Velocity Tools package.
Should

I send you the patches to review, Anthony?

Sure, love to see them.
You can drop them into my mail at [EMAIL PROTECTED] if
you'd like. I have my own version working with modules for the features I use, but I haven't tested everything yet.
If you already have a port, I can find more useful things to do
with my spare time :-)
Anthony Kay


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Ted Husted,
Struts in Action <http://husted.com/struts/book.html>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to