velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@4quarters.com>
Subject Re: POLL: null context attribute values
Date Thu, 15 Jan 2004 23:51:49 GMT

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 :)

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...

>
> 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
>
>
-- 
Geir Magnusson Jr                                   203-247-1713(m)
geir@4quarters.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