Use the following code to create a basic inputEx ObjectField.
var f = new Y.inputEx.ObjectField({parentEl: 'container1', showMsg: true}); var el = Y.one('#container1')._node; var logDiv = Y.inputEx.cn('div', null, null, "Log :"); el.appendChild(logDiv); f.on("updated",function(value) { logDiv.innerHTML += "Updated at "+(new Date())+" with value: "+Y.JSON.stringify(value)+"<br />"; });