velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Bubna <nat...@esha.com>
Subject Re: POLL: null context attribute values
Date Fri, 16 Jan 2004 00:04:05 GMT
Geir Magnusson Jr said:
> On Jan 15, 2004, at 6:47 PM, Nathan Bubna wrote:
> > Serge Knystautas said:
> >> lloyd wrote:
> >>> Nathan Bubna wrote:
> >>>> personally, it might break the hacks i've used to get around this
> >>>> "feature" in
> >>>> the past.  that's ok with me, but i don't know about other people.
> >>>>
> >>>> again, i think it'd be best to have a velocity.properties setting 
> >>>> that
> >>>> toggles
> >>>> this behavior.  just set the default to the old behavior, and then 
> >>>> we
> >>>> needn't
> >>>> worry about BC.
> >>>
> >>> ...or just make it the toggle transitional - deprecate it for a
> >>> following release of velocity?
> >>>
> >>> i can't imagine why anyone would want the old (ie current) 
> >>> behavior...
> >>
> >> I would very much like $foo where foo is null to evaluate to "".  If
> >> it's a toggle to address backwards compatibility, great... I just care
> >> that I can do it. :)
> >
> > hey, no thread polluting/hijacking!  :)
> >
> > seriously, this is a separate issue (reference rendering as opposed to
> > reference setting) and one that has much less support (at least at the
> > moment), and it has a prescribed solution already:  just do $!foo all 
> > the
> > time.  if that's not reasonable to you, then feel free to bring it up 
> > in
> > another thread, just don't confuse the issue at hand please.  in my
> > experience, that seriously lowers the chances of any consensus being 
> > achieved
> > or any action taken.
> 
> Oh, pipe down :)

yeah, yeah, i hear you. :)

> I think there's 100% consensus on this one, and my fears of breakage 
> are solved w/ the switch that will go away in 2.0...
> 
> There are actually two solutions - one is $!foo, and the other is the 
> handler...

oh yeah, that's even better.

Nathan Bubna
nathan@esha.com

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


Mime
View raw message