Re: Velocity, ByteBuffers and GatheringByteChannels

2009-04-22 Thread Byron Foster
On Apr 22, 2009, at 0:52 , Babak Farhang wrote: I'm not sure why you need to hack Velocity for this. You can create your own Writer that is wired up to do whatever you need, for example write to a ByteBuffer. Then pass your custom Writer to the merge. Is there any functionality that this

Re: Velocity page caching problem

2009-04-22 Thread Nathan Bubna
On Wed, Apr 22, 2009 at 11:33 AM, Doug Carter wrote: > > Nathan, > >> velosurf.properties?  was that a typo?  looks like it's using >> /WEB-INF/velocity.properties > > Typo. > >> anyway, it's difficult to guess what is happening, in part because >> your description varies.  first, it takes a few "

Re: Velocity page caching problem

2009-04-22 Thread Doug Carter
Nathan, > velosurf.properties? was that a typo? looks like it's using > /WEB-INF/velocity.properties Typo. > anyway, it's difficult to guess what is happening, in part because > your description varies. first, it takes a few "save out"s to get it > to refresh. is that because of the time it

Re: Facing Issues with velocity sortTool to sort Two java.util.Date Type

2009-04-22 Thread Nathan Bubna
Could you be more specific about what you mean by "not working"? What happens? The code sample looks like you are already implementing the search pattern you want. Why not just try: $sorter.sort(${campaign.notes}) On Mon, Apr 20, 2009 at 3:42 AM, Ranjeet wrote: > Hi All, > > I am using veloci

Re: Velocity page caching problem

2009-04-22 Thread Nathan Bubna
On Tue, Apr 21, 2009 at 5:47 AM, Doug Carter wrote: > On Mon, Apr 20, 2009 at 07:58:59PM -0700, Nathan Bubna wrote: >> On Mon, Apr 20, 2009 at 4:38 PM, Doug Carter wrote: >> > On Mon, Apr 20, 2009 at 02:33:50PM -0700, Nathan Bubna wrote: >> >> On Mon, Apr 20, 2009 at 1:09 PM, Doug Carter >> >>

Re: Velocity, ByteBuffers and GatheringByteChannels

2009-04-22 Thread Babak Farhang
> I'm not sure why you need to hack Velocity for this. You can create your > own Writer that is wired up to do whatever you need, for example write to a > ByteBuffer. Then pass your custom Writer to the merge. Is there any > functionality that this approach wouldn't accommodate? That approach i