TYPO3
7.6
|
Protected Attributes | |
$ajaxWidget = true | |
$controller | |
Protected Attributes inherited from AbstractWidgetViewHelper | |
$controller | |
$ajaxWidget = false | |
$objectManager | |
$extensionService | |
Protected Attributes inherited from AbstractViewHelper | |
$arguments | |
$templateVariableContainer | |
$controllerContext | |
$renderingContext | |
$renderChildrenClosure = null | |
$viewHelperVariableContainer | |
$objectManager | |
$escapingInterceptorEnabled = true | |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractViewHelper | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) |
Protected Member Functions inherited from AbstractWidgetViewHelper | |
getWidgetConfiguration () | |
initiateSubRequest () | |
Simple paginate widget Note: Make sure to include jQuery and jQuery UI in the HTML, like that: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js"></script> <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.3/themes/base/jquery-ui.css" type="text/css" media="all"> <link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all"> You can include the provided TS template that includes the above snippet to the pages headerData.
= Examples =
<input type="text" id="name"> <f:widget.autocomplete for="name" objects="{posts}" searchProperty="author">
<output> <input type="text" id="name"> the input field and the required JavaScript for the Ajax communication (see Resources/Private/Templates/ViewHelpers/Widget/Autocomplete/Index.html </output>
Definition at line 45 of file AutocompleteViewHelper.php.
render | ( | \TYPO3\CMS\Extbase\Persistence\Generic\QueryResult | $objects, |
$for, | |||
$searchProperty | |||
) |
\TYPO3\CMS\Extbase\Persistence\Generic\QueryResult | $objects | |
string | $for | |
string | $searchProperty |
Definition at line 64 of file AutocompleteViewHelper.php.
References AbstractWidgetViewHelper\initiateSubRequest().
|
protected |
Definition at line 50 of file AutocompleteViewHelper.php.
|
protected |
Definition at line 56 of file AutocompleteViewHelper.php.