Recupere output parameters from StoredProcedure

hi guys, Im using my custom behavior for updating, deleting and inserting through a SP. I want to recupere output variables of my SP. Can I do this?? The output variables return me values they indicate some restrictions I use.

Best regards!

Sorry, but it is not clear, do you want to send back some data to client side based on result of stored procedure call ?

In such case you can use set_response_attributes method of DataAction object, which is accesible from custom behavior. All custom attributes which you will set will be sent to client side, where you can use code like next

dp.attachEvent("onAfterUpdate",function(sid, action, tid, tag){ var extra = response.getAttribute("extra"); scheduler.getEvent(tid).extra = extra; })

where “extra” name of event’s property which need to be altered by server side data.