while creating custom approval container as descibed in "customize workspaceUI" doc, i m getting the below error.
ReferenceError: Error #1056: Cannot create property taskform on lc.procmgmt.ui.task.TaskRouteCommandBarModel. at MethodInfo-10361() at mx.binding.utils::BindingUtils$/bindProperty() at FormAreaModel/configureLoadForm at custApprovalContainer/returnWorkspaceSession()
at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at lc.procmgmt.ui.task.form::TaskSWFForm/fetchDataHandler()
so here one need to note that 2nd and 4th are differnet parameters, not the same, 2nd is taskRouteCommandBarModel object; property - taskForm and 4th is property u have defined in your custom class to which u r going to bound 2nd parameter.
now what i did is i thought them to be same and defined as same . so actually what i did that i have defined var as taskform:taskForm and so in the method and then i got stuck with the above error.
after a litle bit reading in actionscript ref., i got it.