assign existing form method to form created at runtime
Posted: Sat Jan 05, 2013 9:36 pm
I am creating a runtime form and want to use a method from an existing form in the onAction event of a button. I tried:
I get the error: method must be a solution method, foundset method or forms own method
Is there a way to do this?
- Code: Select all
_method = solutionModel.getForm(_formname).getMethod(_methodname)
_button = _jsForm.newButton("",_x,_y,_c_width_button,_height,_method)
I get the error: method must be a solution method, foundset method or forms own method
Is there a way to do this?