Posts Tagged ‘Nette Framework 2.0-beta (revision d5b50dc released on 2011-06-03)’

Presenter lifecycle after form is submitted

Sunday, June 19th, 2011

Nette documentation doesn’t provide details about methods execution order in case of a submitted form. So hear hear, it is this:

  1. action<Action>
  2. createComponent<FormName>
  3. <FormName>Submitted
  4. render<Action>


Missing layout? Make sure you define block for content

Thursday, June 16th, 2011

I’ve had some troubles with a page that refused to be wrapped in a layout. It turned out I accidentally erased {block #content} in my presenter template. Read on for the background logic explanation.