Major Feature #8773

Implement support for Widgets

Added by Bastian Waidelich about 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-07-09
Priority:Should have Due date:
Assigned To:Sebastian Kurfuerst % Done:

100%

Category:-
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 12
Has patch:

Description

Considerations:

Widgets...
  • ...are a special implementation of a Fluid ViewHelper
  • ...behave like "Plugins in Plugins"
  • ...(can) implement their own Controller & Template
  • ...should be integratable without the need to modify the orignial Package/Plugin (e.g. add pagination to Blog posts by adding the widget to your custom template)

Possible widgets:

  • Pagination Widget: If put in the template like <f:widget.pagination items="{posts}" as="postsOfThisPage" /> (syntax is not clear yet) will fetch a subset of posts and make it available as "postsOfThisPage". To prevent, that all posts are loaded, we'll need some special lazy loading proxy (see related issue)
  • Autocompletion
  • Sortable grid
  • maps
  • ...

Related issues

related to Base Distribution - Story #8643: As a Developer I want a Plugin API Concept Resolved 2010-07-04
related to TYPO3.Flow - Feature #8774: Query::execute() should return a Proxy instead of array Resolved

Associated revisions

Revision c9226ecd
Added by Sebastian Kurfuerst almost 5 years ago

[+FEATURE] Fluid: Add Widget ViewHelpers

Widget ViewHelpers enable complex functionality like Paginators,
Sorters, Autocompleters to be inserted easily into the template.

In this patch, we ship the <f:widget.paginate> ViewHelper, to create a
pagination, and the <f:widget.autocomplete>-Widget, which does an
autocompletion.

Change-Id: I5b799bcd5e247e8cdb121add1af80dfad85a410c
Resolves: #8773

History

#1 Updated by Sebastian Kurfuerst almost 5 years ago

  • Assigned To set to Sebastian Kurfuerst
  • % Done changed from 0 to 20

Actually this is more a fluid thing, that's why I move it over to Fluid.

#2 Updated by Sebastian Kurfuerst almost 5 years ago

  • Project changed from TYPO3.Flow to TYPO3.Fluid
  • Category deleted (MVC)

#3 Updated by Sebastian Kurfuerst almost 5 years ago

  • Status changed from New to Accepted

http://github.com/skurfuerst/fluid/tree/widgets
http://github.com/skurfuerst/FLOW3

basically works, still needs quite some cleanup and API-thoughts, tough.

#4 Updated by Karsten Dambekalns almost 5 years ago

  • Target version set to 1.0 alpha 12

#5 Updated by Sebastian Kurfuerst almost 5 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 20 to 100

Also available in: Atom PDF