Hi all..
Bit of a problem.. Here is my method in a controller form (I assume you can check the currentcontroller form as something separate from the controller form):
var v_current_form = history.getFormName()
if (v_current_form == dh_po || dh_purchase_order_print)
{
globals.po_logo = “media:///1.gif”
}
if (v_current_form == murderme_po || murderme_purchase_order_print)
{
globals.po_logo = “media:///2.gif”
}
if I execute this on onShow, I get the following error:
Can’t find method com.servoy.j2db.FormManager$History.js_getFormName().
Seems that this is a Servoy bug? or am I doing something wrong?
Thanks for any help you can give..