cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Flow/Formsmodel Question
Date Tue, 11 Oct 2005 21:53:51 GMT
Mark Lundquist wrote:

>
> On Oct 11, 2005, at 12:37 PM, Bertrand Delacretaz wrote:
>
>> The last one in your list (plain "Forms.js" with no version number) 
>> is the current recommended one, the other were variants which have 
>> not been found better than this first version and will be abandoned.
>
>
> That's not quite accurate, I believe... :-)  v2 and v3 will be 
> abandoned, not because they "have not been found better" than the 
> standard one but because their salutary features will have been 
> incorporated into the standard version.  The standard version is the 
> generally recommend one, not because it is the best, but because for 
> those for whom it makes little or no difference, upgrading will be 
> easier later on when v2&3 are dropped.
>
> In particular, the feature the O.P. asked about — the ability to 
> address widgets as properties instead of by using lookupWidget() — is 
> not available in "v1" IIRC... it's a v2 thing (and maybe v3, not sure).


It's available in v1 using form.getModel() which I personally strongly 
dislike as it provides a value-only view of the widget hierarchy and 
forbids all but accessing the values.

> But v2 also has other, more essential features that v1 currently lacks.


Please elaborate on these features.

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://people.apache.org/~sylvain     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message