On Tue, Apr 8, 2008 at 4:22 PM, Claude Brisson <[EMAIL PROTECTED]> wrote: > > Le mardi 08 avril 2008 à 15:15 -0700, Nathan Bubna a écrit : > > > On Tue, Apr 8, 2008 at 2:10 PM, Charles Harvey III <[EMAIL PROTECTED]> > > wrote: > > > Ok. I tried and tried and I cannot get the ServletConfig to where I > need it > > > so > > > I can create a new VelocityView. The best I can get is a > ServletContext. > > > > That is a bummer. Thank you! Seriously, this exposes a signficant > > shortcoming in the plans to make it easy to integrate Tools into other > > frameworks. It also made me realize that i didn't provide proper > > Filter support either. It needs to be easier to init() a VelocityView > > (whether with a ServletConfig, FilterConfig or neither). I'll try to > > set aside some time to fix that this week. It'll mean we need to do > > another beta, i'm sure, but i think it'll be well worth it. > > I noted this fact in http://issues.apache.org/jira/browse/VELTOOLS-94 > > :-) > > It's some code you left apart for some reason... > > > Claude
sorry, i don't think i read that issue carefully the first time, or at least i wasn't thinking straight. because i apparently didn't think through the fact that a filter can only get a FilterConfig, not a ServletConfig. i was in mexico at the time; guess i got a bit too much sun on Christmas. ;) anyway, i'll try to address some of these things this week. and please, feel free to help out. and if you can't, at least keep close tabs on me. obviously i haven't yet used this with a Filter, and it's always easier to over/under engineer when doing something you don't actually need at the moment. extra eyes are appreciated. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
