cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Fagerstrom <>
Subject Re: dynamic macro junit test [was: jx : cocoon.request object ??]
Date Sun, 23 Jan 2005 09:49:14 GMT
Leszek Gawron wrote:
> Daniel Fagerstrom wrote:
>> Leszek Gawron wrote:
>>> Daniel Fagerstrom wrote:
>>>> Your (and others) work is needed, so that we can make the refactored 
>>>> JXTG stable enough for production use soon.
>>> I've been trying to trace down the problem with non working dynamic 
>>> macro test case. Funny thing is the same exception 
>>> (NumberFormatException) gets thrown for "old" JXTG.
>> That at least means that I haven't broke it ;) It might even be good 
>> that it doesn't work as that could mean that nobody use it and it 
>> would be easier to deprecate and replace with something better.
> I am using it in my projects - and it works! This is one of most common 
> technique of mine to write more advanced macros. Magic? I guess :)

Ok, then it would be good if you wrote a test case that works in the 
original JXTG so that we can check that it still work in the refactored 
version. I just took the example from the documentation and made a test 
case from it.

> Still we can kill it completely when I introduce jx:call 
> macro="something" because this construct is functionally equivalent and 
> more powerful.



View raw message