src/Easy/EasyForm.php
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());
    }
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());
    }
Popup a selection EasyForm in a dynamically generated WebPage

@param string $viewName
@param string $formName
@param string $elementName
@return void
@access remote