Thanks much!


Charlie



Mike Kienenberger said the following on 3/15/2005 10:51 AM:

"Charles N. Harvey III" <[EMAIL PROTECTED]> wrote:


Quick question about some of the Velocity Tools. How come the Struts
Tools and View Tools implement ViewTool and have an "init()" method
but the generic tools do not? How do they actually get initialized?
Do I have to just do new DateTool() and it works? It seems like it, but
I just wanted to double check.



Yep. Tools are plain old java objects.

The view tools have to be init'd because they need to be set up with references to the servlet.

-Mike

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






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



Reply via email to