cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: template.jx - up to date?
Date Sun, 26 Sep 2004 20:12:04 GMT
Leszek Gawron wrote:

> Sylvain Wallez wrote:
>
>> template.jx in its current state is designed to work speciffically 
>> with v2/Forms.js, as the relies on the fact that v2/Form.js publishes 
>> the form itself as the view's context object.
>>
>> I personally don't like this behaviour, as it prevents passing other 
>> data than the form to the view, which can be very restrictive. If you 
>> consider the "current" Form.js (not v2 nor v3), the prototype of 
>> Form.showForm is the same as cocoon.sendPageAndWait().
>
>
> Isn't that also true for v3? I mean that it allows to pass other 
> bizData along with he form?


Sorry, I wasn't clear: the "not v2 nor v3" was to disambiguate the 
"current Form.js" which has no version number attached.

Yes, v3/Form.js allows to send some view data.

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }


Mime
View raw message