Using getCurrentDetailTable() method

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
konfuzion
User
Posts: 378

Using getCurrentDetailTable() method

Post by konfuzion »

URL = /orderslist?showmaster=customers&fk_customer_id=1

//Server Event
//On Page Load

var_dump($this->getCurrentMasterTable());

Result = "customers" // Success!

var_dump($this->getCurrentDetailTable());

Result = "" // FAIL, empty string, I'm expecting "orders"

How do I get getCurrentDetailTable() to work correctly?


mobhar
User
Posts: 11660

Post by mobhar »

You should not call getCurrentDetailTable() method from Detail table. You should call it from Master table when it is displaying Master/Detail List page.


Post Reply