Skip to content

Instantly share code, notes, and snippets.

@matej21
Created August 2, 2014 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matej21/f5db736b0b7b084f5544 to your computer and use it in GitHub Desktop.
Save matej21/f5db736b0b7b084f5544 to your computer and use it in GitHub Desktop.
Invalidace formularovych prvku
{snippetArea form}
{form myForm}
{inlineSnippet name}
{input name}
{/inlineSnippet}
{input ok}
{/form}
{/snippetArea}
<a n:href="redraw!" class="ajax">prekresli</a>
<?php
public function handleRedraw()
{
$this->redrawControl('form');
$this->redrawControl('name');
$this['myForm']['name']->setValue('!!!!');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment