Can't get this to work. I'm sure it's something very simple. Just trying to replace application.showFormInDialog with a version that works on web client.
my old method:
//application.showFormInDialog( forms.staff_view_show_team_results, -1, -1, 900, 400, 'my team', true, false, '', true)
new method:
var win = application.createWindow("staff_view_show_team_results",JSWindow.MODAL_DIALOG,"ca_listview")
win.setInitialBounds(-1, -1, 900, 400);
win.title = "How's my team doing?";
controller.show(win);
Thanks. K