Hi,
this is the first time i used WODirectConnect on our Testserver. 

Everything works fine but using a AjaxUpdateLink would give no result (clicking 
on a AjaxUpdateLink do just nothing). The Javascript-Console of my Chrome 
browser has the following Error-Report for me:


                • Uncaught TypeError: Cannot read property 'sub' of null 
wonder.js:350
                • AjaxUpdateLink._updatewonder.js:350
                • AjaxUpdateLink.updatewonder.js:345
                • onclick

The wonder.js on line 350 looks like this:

       _update: function(id, actionUrl, options, elementID, queryParams) {
                if (elementID) {
                        actionUrl = actionUrl.sub(/[^\/]+$/, elementID);       
//line nr 350
                }
                actionUrl = actionUrl.addQueryParameters(queryParams);
                if (options && options['_r']) {
                        actionUrl = actionUrl.addQueryParameters('_r='+ id);
                }
                else {
                        actionUrl = actionUrl.addQueryParameters('_u='+ id);
                }
                actionUrl = actionUrl.addQueryParameters(new Date().getTime());
                new Ajax.Updater(id, actionUrl, 
AjaxOptions.defaultOptions(options));
        }


The weird thing is: If I do not use WODirectConnect, the AjaxUpdateLink works. 
Also weird: All the other Ajax-Elements (like AjaxSubmitButton, 
AjaxUpdateContainer, AjaxObserveField etc.) works fine with or without 
WODirectConnect.

What did I miss?

Thomas





--
Thomas Grass, B.Sc. | 01SoftwareSolutions 
+49 (89) 41 41 41 03-0
[email protected] | www.01softwaresolutions.eu
Lichtenbergstraße 8 | D-85748 Garching b München


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to