[TYPO3-mvc] widget Identifier

KimPixel kimpixel+typo3v4mvc at googlemail.com
Fri Feb 11 16:20:38 CET 2011


2011/2/11 KimPixel <kimpixel+typo3v4mvc at googlemail.com>:
> Hallo DevTeam
>
> I need to modify the $widgetIdentifier.
> But there is no chance to do this because all functions an properties
> in the AbstractWidgetViewHelper are "private".
>
> is it possible to make the Property "$widgetContext" public or add a
> public setter to the abstract?
>
>
> Scenario:
>
> I have a simple Extension with a List action and a detail action. on
> the list action is a paginate widget. For a correct back link in the
> detail page i transport the widget parameters via _get to the detail
> page and back to the list.
>
> Example links:
>
> to detail page:
> detailpage.html?tx_extkey_pi1[showUid]=12&tx_extkey_pi1[__widget_0][currentPage]=2
>
> and the backlink:
> listpage.html?tx_extkey_pi1[__widget_0][currentPage]=2
>
>
> everything ok!!! but now i build a mini gallery with second a paginate
> widget in the detailpage. now i have a parameter conflict.
>
> The automatic generation of a identifier will not work here because
> its the only widget on this page an the $widgetCounter will be the
> same as the widget in the list page!
>
>
> Greetings
> KimPixel
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>


More information about the TYPO3-project-typo3v4mvc mailing list