cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: Using the same object model in forms and jxtg
Date Thu, 03 Feb 2005 15:33:06 GMT
Daniel Fagerstrom wrote:
> Carsten Ziegeler wrote:
> 
>> Currently we have two sitemap components, the jxtg and the forms 
>> transformer, that are able to evaluate dynamic expressions.
>> Today I found out, that even these two components use different 
>> identifiers: for example if you want to access the continuation id, 
>> you use "cocoon/continuation/id" in jxtg. But this doesn't work in the 
>> forms transformer. There you have to use "continuation/id". And the 
>> annoying part is that this last expression works in jxtg but is 
>> deprecated.
>> I think this is really confusing.
>>
>> So, anyone against using the same object model in these components? 
>> This means introducing the "cocoon" object in the forms transformer 
>> and at the same time deprecating the access without the cocoon object.
> 
> 
> +1
> 
> Another question is, why care about the FormsTransformer at all, does it 
> give us something that we can't get from JXTG + Sylvain's macros?

It's faster, that's one. It does not support lots of complex stuff jx allows, so 
your templates will have to be free of any logic, that's two. I'd prefer FormsT 
over jx anytime in the current state of things.

Vadim

Mime
View raw message