cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Question about addition of "-input" to id of CForms widgets
Date Thu, 13 Oct 2005 15:55:29 GMT
Vadim Gritsenko wrote:

> Upayavira wrote:
>
>> Sylvain Wallez wrote:
>>
>>> Vadim Gritsenko wrote:
>>>
>>>> Same here. I think we should treat those XSLT files more like our
>>>> public API with forms users and keep an eye on backward compatibility.
>>>
>>>
>>> I agree. But the problem is that the switch to Ajax required more 
>>> ids in
>>> the page to identify "updatable units" which are bound to the form
>>> widgets while still also identifying inputs for labels.
>>>
>>> So we can consider that the current id scheme, although changed wrt
>>> 2.1.7, contains enough information to do some advanced Ajax stuff 
>>> and is
>>> not likely to change.
>>
>>
>> Could the Ajax code not look for <field>.container, and if it doesn't 
>> find it, use <field> instead? Would that get us back to the old style 
>> of ids and keep everyone happy?
>
>
> Either way - I think this change should be mentioned both in changes.xml


True.

> and "Updating Cocoon, Chapter 2.1.7 -> 2.1.8" document.


Uh, /me feeling dumb: where is that doc?

Sylvain

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


Mime
View raw message