Re: [Xsltforms-support] XSLTForms name conflict: Event
Brought to you by:
alain-couthures
From: Leigh L K. Jr <lei...@xe...> - 2011-02-03 00:27:52
|
On 01/16/2011 05:11 AM, COUTHURES Alain wrote: > > Le 11/01/2011 20:40, Leigh L Klotz Jr a écrit : > > XSLTForms defines a number of top-level variables, some of which have > > generic names. > > > > The Event object, in particular, conflicts with other libraries. > > > > It would be best to put all of XSLTForms in a single top-level object > > named XSLTForms. > > However, it may be OK for now to rename "var Event" to "var > XSLTFormsEvent". > > > > Otherwise, you can't use XSLTForms with external widget libraries. > > > > Leigh. > > > Thank you for pointing at this name conflict! > > I agree with you about use of a unique top-level object. A subforms > mechanism would also require this. > > Before that, I renamed "Event" into "XSLTFormsEvent" as you suggested. > > Can you give the name(s) of those external widget libraries you would > like to use? > > Thanks! > > -Alain > Thank you! I've tested this with prototype.js because it was handy. I understand recently that Claudius Teodorescu is testing with YUI. Leigh. |