On Fri, 17 Dec 2004 15:55, Will Glass-Husain wrote: > There's no schedule. We're just getting going again with commits after a > long lull period. > > There's been a lot of discussion around this; I'd also like to see this > made more intuitive, though I'm not sure what the solution is.
The ideal for us is that when there is a null in the value being assigned that the variable being set is removed. I believe there is a patch for this: http://issues.apache.org/bugzilla/show_bug.cgi?id=20999 ie, In java: session.setAttribute( "bar", null ) in Velocity: #set( $foo = "Something" ) #set( $foo = $bar ) $foo In this circumstance the $foo variable should be no longer set to anything. On another related issue, if you have some method call in a loop, ie: #foreach ( $item in $itemlist ) $item.Price #end If the first iteration through this loop the getPrice method returns a null, then the method cache system will not properly cache the method, and subsequent items will also not display price, as even though they may have a valid price the method is not called. This is a separate issue - I'm not sure of the status of it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
