Solution! After tearing the Javascript apart for both libraries, I found the
problem. Both libraries use a function called "defer", which basically just
delays performing that action until the interpreter's callstack is empty.
My solution then was to change the name of this function in Prototype and
then just change the name wherever Prototype references it also. None of the
Prototype plugins I have use the function, so it's seems like it's pretty
low-key.

Anyhow, it's not ideal to be modifying the source of a JS library I'm using,
but it -does- work, and I'm a happy camper now.

On Tue, Oct 28, 2008 at 2:46 PM, Charles Lewis <[EMAIL PROTECTED]>wrote:

> I wonder if I used the Ext "Prototype Adapter" if that would do anything?
> Thoughts on that?
>
>
> On Tue, Oct 28, 2008 at 2:32 PM, Phillip M. Vector <
> [EMAIL PROTECTED]> wrote:
>
>> I've had the same issue. All I can offer is not to use prototype on the
>> page your cfgrid is in.
>>
>> Charles Lewis wrote:
>> > Hello everyone, this is my first post here on the Cf-Talk mailing list.
>> Hoping you guys can help me work through a problem I'm having.
>> >
>> > Basically I have a page that contains a cfwindow. On a certain event, I
>> show the cfwindow, and navigate it to a url. On the code that's now inside
>> of the cfwindow, I've got a cfgrid inside of a cfform. When it loads the
>> grid, it throws a "this.refresh is not a function" javascript error in the
>> grid.js file of the EXT library included with ColdFusion. Then when I try to
>> edit an item in a row, it throws a "this.selModel is undefined" error in
>> edit-grid.js
>> >
>> > I isolated the problem to the fact that I'm using Prototype.js. The
>> calling page includes prototype and some other little prototype helpers to
>> do form validation, rounded corners, and a date picker.
>> >
>> > So the problem it appears is that prototype and extjs aren't playing
>> well together. I'm kinda scratching my head here trying to figure out the
>> best way to take care of this. Is there any way to solve this problem other
>> than not using cfgrid or switching to extjs instead of prototype?
>> >
>> > Thanks!
>> > -Charles
>> >
>> >
>>
>> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314556
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to