TInvalidDataValueException

Description

TPanel.DefaultButton 'boutonContact' does not refer to an existing button control.

Source File

/var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/WebControls/TPanel.php (240)

0229:     {
0230:         parent::render($writer);
0231: 
0232:         if(($butt=$this->getDefaultButton())!=='')
0233:         {
0234:             $buttons = $this->findControlsByID($butt);
0235:             if (count($buttons)>0)
0236:                 $button = reset($buttons);
0237:             else
0238:                 $button = null;
0239:             if($button===null)
0240: throw new TInvalidDataValueException('panel_defaultbutton_invalid',$butt);
0241: else 0242: $this->getPage()->getClientScript()->registerDefaultButton($this, $button); 0243: } 0244: } 0245: } 0246:

Stack Trace

#0 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TControl.php(1550): TPanel->render(Object(THtmlWriter))
#1 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TControl.php(1581): TControl->renderControl(Object(THtmlWriter))
#2 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TControl.php(1563): TControl->renderChildren(Object(THtmlWriter))
#3 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TControl.php(1550): TControl->render(Object(THtmlWriter))
#4 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TControl.php(1581): TControl->renderControl(Object(THtmlWriter))
#5 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TForm.php(87): TControl->renderChildren(Object(THtmlWriter))
#6 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TControl.php(1550): TForm->render(Object(THtmlWriter))
#7 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TControl.php(1581): TControl->renderControl(Object(THtmlWriter))
#8 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TControl.php(1563): TControl->renderChildren(Object(THtmlWriter))
#9 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TControl.php(1550): TControl->render(Object(THtmlWriter))
#10 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TControl.php(1581): TControl->renderControl(Object(THtmlWriter))
#11 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TControl.php(1563): TControl->renderChildren(Object(THtmlWriter))
#12 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TControl.php(1550): TControl->render(Object(THtmlWriter))
#13 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TPage.php(237): TControl->renderControl(Object(THtmlWriter))
#14 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/UI/TPage.php(203): TPage->processNormalRequest(Object(THtmlWriter))
#15 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/Services/TPageService.php(524): TPage->run(Object(THtmlWriter))
#16 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/Web/Services/TPageService.php(470): TPageService->runPage(Object(Contact), Array)
#17 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/TApplication.php(1221): TPageService->run()
#18 /var/www/vhosts/veoliaeau/httpdocs/framework/prado-3.2/framework/TApplication.php(410): TApplication->runService()
#19 /var/www/vhosts/veoliaeau/httpdocs/index.php(90): TApplication->run()
#20 {main}
2016-12-02 23:52 Apache/2.2.22 (Debian) PRADO/3.2.3