You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Ch...@dlr.de on 2003/11/03 10:25:08 UTC
Re: Feature request: allow for a property to make Quiet Reference
Notation the default
Hi,
Konstantin Priblouda wrote:
>[snip]
>>>in near future ( or at all ) .... Velocity team is
>>>small and not very active, and they do not like to
>>>make changes in the way velocity works...
please note that there is a *very* active person fixing
a lot of minor things from the bug list: Will Glass-Husain.
A great thanks for this silent "getting things rolling"...
Geir, are you keeping track on all those beautiful patches
flowing into bugzilla? Will these find their way into 1.5?
>[snip]
> And while we are at it some more issues:
>
> - context reference leaking from macro / #parse
> ( in short, i do not like references in context left
> behind by already executed macro. if I execute this
please check the #local directive in the contrib CVS area.
Give feedback if you see this as a solution embedding it
in all your macros to keep the context unpolluted.
I would recommend making #local part of the vel core.
> macro again, and #set can not set due to null value, I
> get wrong value. And my search result on web page
> suddently get new feature... )
this is a bug that needs addressing...
>[snip]
> - silent null reference passed as macro parameter
> bombs inside macro. Of course, I coule use silent
> inside macro, but having some control is nice.
with your example
> #macro ( tableCell $content )
> <fo:table-cell>$content</fo:table-cell>
> #end
>
> Assuming blurge was null:
>
> #tableCell( $blurge ) -> <fo:..>$blurge</>
> ( ok, I see blurge was null )
> #tableCell( $!blurge ) -> <fo:..>$blurge</>
> ( not what I would like , I knew that blurge could be
> null, but I still like to have table cell wothout
> content )
I agree with Konstantin that the bang in the macro call
and in the macro body should work as expected. But the
current macro implementation has some implications that
needs some deep analysis to see how it can be fixed BC.
--
:) Christoph Reck
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
Re: Feature request: allow for a property to make Quiet Reference Notation the default
Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On Monday, November 3, 2003, at 04:25 AM, Christoph.Reck@dlr.de wrote:
> Hi,
>
> Konstantin Priblouda wrote:
>> [snip]
>>>> in near future ( or at all ) .... Velocity team is
>>>> small and not very active, and they do not like to
>>>> make changes in the way velocity works...
>
> please note that there is a *very* active person fixing
> a lot of minor things from the bug list: Will Glass-Husain.
> A great thanks for this silent "getting things rolling"...
> Geir, are you keeping track on all those beautiful patches
> flowing into bugzilla? Will these find their way into 1.5?
I'm watching. Not agreeing with all, of course, but we're discussing
them one by one.
>
>> [snip]
>> And while we are at it some more issues: - context reference leaking
>> from macro / #parse
>> ( in short, i do not like references in context left
>> behind by already executed macro. if I execute this
>
> please check the #local directive in the contrib CVS area.
> Give feedback if you see this as a solution embedding it
> in all your macros to keep the context unpolluted.
>
> I would recommend making #local part of the vel core.
>
>> macro again, and #set can not set due to null value, I
>> get wrong value. And my search result on web page suddently get new
>> feature... )
>
> this is a bug that needs addressing...
>
>> [snip]
>> - silent null reference passed as macro parameter
>> bombs inside macro. Of course, I coule use silent
>> inside macro, but having some control is nice.
> with your example
>> #macro ( tableCell $content )
>> <fo:table-cell>$content</fo:table-cell>
>> #end
>> Assuming blurge was null:
>> #tableCell( $blurge ) -> <fo:..>$blurge</>
>> ( ok, I see blurge was null ) #tableCell( $!blurge ) ->
>> <fo:..>$blurge</>
>> ( not what I would like , I knew that blurge could be
>> null, but I still like to have table cell wothout
>> content )
>
> I agree with Konstantin that the bang in the macro call
> and in the macro body should work as expected. But the
> current macro implementation has some implications that
> needs some deep analysis to see how it can be fixed BC.
>
> --
> :) Christoph Reck
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>
>
--
Geir Magnusson Jr 203-247-1713(m)
geirm@optonline.net
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org