cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: Question about addition of "-input" to id of CForms widgets
Date Thu, 13 Oct 2005 15:13:55 GMT
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 and 
"Updating Cocoon, Chapter 2.1.7 -> 2.1.8" document.

Vadim

Mime
View raw message