cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: dynamic macro junit test [was: jx : cocoon.request object ??]
Date Sun, 23 Jan 2005 11:57:58 GMT
Daniel Fagerstrom wrote:
> 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.

I checked it - works only when the pipeline is invoked from flow. Still 
I have no idea how that affects parsing ${tags.example} expression.

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
Project Manager                                    MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Mime
View raw message