Current filter:
                                You should refresh the page.
                                0
                                  • I have created a radio control editor by running through some samples

                                    This editor creates a collection of a lookup editor's data source (from the helper class) and adds a radio edit for each object in that collection

                                    The issue I am having, is when a user clicks on one of the radio buttons and processes the form, I get an error on the page saying that the pendingcallbacks function isn't found

                                    I've attached the editor

                                    The lines where it errors out:

                                    function xafHasPendingCallbacks() {
                                     var hasPendingCallbacks = false;
                                     for(var i = 0; i < __pendingCallbacks.length; i++) {
                                      if(__pendingCallbacks[i]) {
                                       hasPendingCallbacks = true;
                                       break;
                                      }
                                     }
                                     return hasPendingCallbacks;
                                    }

                                    When it executes for(var i = 0; i < __pendingCallbacks.length; i++) {, the __pendingCallbacks returns null.

                                    Steps to Reproduce:

                                    Create an object with a persistent object as a property

                                    Set the editor for that property to be the RadioEditor

                                    Select a radio value, and hit Save, or any action.

                                    Actual Results:

                                    The lines where it errors out:

                                    function xafHasPendingCallbacks() {

                                     var hasPendingCallbacks = false;

                                     for(var i = 0; i < __pendingCallbacks.length; i++) {

                                      if(__pendingCallbacks[i]) {

                                       hasPendingCallbacks = true;

                                       break;

                                      }

                                     }

                                     return hasPendingCallbacks;

                                    }

                                    When it executes for(var i = 0; i < __pendingCallbacks.length; i++) {, the __pendingCallbacks returns null.

                                    Expected Results:

                                    Action is executed correctly and the value selected in the radio edit is set to the property.

                                CheckEditor.vb
                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.