public function renderPlatformGenericFormAction()
    {
        $melisKey = $this->params()->fromRoute('melisKey', '');
        
        // declare the Tool service that we will be using to completely create our tool.
        $melisTool = $this->getServiceLocator()->get('MelisCoreTool');
        
        // tell the Tool what configuration in the app.tool.php that will be used.
        $melisTool->setMelisToolKey(self::TOOL_INDEX, self::TOOL_KEY);
        
        $platformForm = $melisTool->getForm('meliscore_platform_generic_form');
        
        $plfId = $this->params()->fromQuery('plf_id', '');
        
        if ($plfId)
        {
            $platformTable = $this->getServiceLocator()->get('MelisCoreTablePlatform');
            
            $platform = $platformTable->getEntryById($plfId)->current();
            
            if (!empty($platform))
            {
                $platformForm->bind($platform);
                
                if (getenv('MELIS_PLATFORM') == $platform->plf_name)
                {
                    // Deactivating the platform name if the current platform is same to the requested platform
                    $platformForm->get('plf_name')->setAttribute('disabled', true);
                }
            }
        }
        
        $view = new ViewModel();
        $view->meliscore_platform_generic_form = $platformForm;
        $view->melisKey = $melisKey;
        $view->platformId = $plfId;
        return $view;
    }