Add FormFactoryBuilderService to Service Locator

This commit is contained in:
Eric Espie
2026-01-27 13:34:47 +01:00
parent bfa7a209d6
commit f3fddfe54e
9 changed files with 72 additions and 28 deletions

View File

@@ -111,7 +111,7 @@ class DashboardController extends Controller
// Get the form block from the service (and the compiler)
$oRequest = $this->getRequest();
$oFormBlock = $this->oFormBlockService->GetFormBlockById('DashboardGrid', 'Dashboard');
$oBuilder = $this->GetFormBuilder($oFormBlock, $aViewData);
$oBuilder = $this->oFormFactoryBuilderService->GetFormBuilder($oFormBlock, $aViewData);
$oForm = $oBuilder->getForm();
$oForm->handleRequest($oRequest);
// We are in the submit action, so we submit the form with the provided values