So you see if you keep on looking what is happening you start to get some answers.
I had all my fields in the view set to be not updatable, this caused the cursorgetprop('tables') to return the empty string.
Yoy framework guys keep this in mind!!!!!!!!!!!!!!