velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Sidler <sid...@teamup.com>
Subject Re: summary table of velocity reflection?
Date Mon, 12 Aug 2002 13:53:52 GMT

Leos Literak wrote:

>>> public constructors, with args:
>>>  not available
>>>  workaround: add a public static method to the class or a helper class
>>
>>
>> Yep - the idea is to provide all the objects necessary for the 
>> designer, not
>> let them create them.
>>
> 
> Generally I agree. But see my example:
...

> So if there would be kind of nice way how to
> instantiate objects (with or without parameters),
> I would be very happy :-)


Leos,
Bill Boland contributed a tool loader tool to the mailing list a few
weeks ago. See
http://www.mail-archive.com/velocity-dev@jakarta.apache.org/msg06102.html

A simpler and less powerful tool loader is availalble in the
jakarta-velocity-tools project. See
http://cvs.apache.org/viewcvs/jakarta-velocity-tools/tools/src/java/org/apache/velocity/tools/tools/ToolLoader.java?rev=1.3&content-type=text/vnd.viewcvs-markup


Hope this helps
Gabe





> 
>     Leos
> 


-- 
--
Gabriel Sidler
Software Engineer, Eivycom GmbH, Zurich, Switzerland


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message