public function loadPicker($formName, $elementName = "")
    {
        // set the ParentFormName and ParentCtrlName of the popup form
        /* @var $pickerForm EasyForm */
        $pickerForm = Openbizx::getObject($formName);

        if ($elementName != "") {
            // set the picker map as well
            $element = $this->getElement($elementName);
            $pickerMap = $element->pickerMap;
        }
        $currentRecord = $this->readInputRecord();
        $pickerForm->setParentForm($this->objectName);
        $pickerForm->setParentFormData($this->objectName, $elementName, $pickerMap);
        $pickerForm->parentFormRecord = $currentRecord;
        Openbizx::$app->getClientProxy()->redrawForm("DIALOG", $pickerForm->render());
    }