[TYPO3-core] RFC: Bug #16524: No inline relation to tables with tabs possible

Ernesto Baschny [cron IT] ernst at cron-it.de
Sat Jan 22 18:51:42 CET 2011


Hi Olly,

+1 by reading and testing (and chatting with Steffen K about it).
Strange stuff to do to get js/css from the pageRenderer, but I figure
this is the most stable way to do it with the current API.

Test-Ext from Georg and everything works fine again like it did in 4.4.
Thanks!!

Cheers,
Ernesto

Oliver Hader schrieb am 22.01.2011 18:11:

> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=16524
> 
> Branches: Trunk
> 
> Problem:
> (see the issue in the bugtracker for screenshots)
> It seems it is not possible anymore to create inline relations to tables
> which use tabs.
> At least the following bugs need to be solved:
> - Height is wrong
> - Tabs can not be switched, firebug says "DTM_mouseOver is not defined"
> - if record is saved, the related records are saved on the current page
> but are not selected in the parent record
> - if appearance => collapseAll => 1 is set, it is not possible to open
> the irre record. firebug says "DTM_array is not defined" + "$(element)
> is null"
> 
> Solution:
> In TYPO3 4.4 the tabmenu.js file was somehow added by default to the
> view. In TYPO3 4.5 this is missing, which is basically fine since
> loading something that is not required seems to be the correct way.
> However, if a IRRE children is now rendered during an AJAX request, this
> tabmenu.js file is not applied to the DOM of the current view.
> The solution is to extract JavaScript (and stylesheets) from
> t3lib_PageRenderer, parse it and transfer it with the response to the
> AJAX request back to the browser. The solutuon in this case is ugly
> since there is not a specific public method in the pageRenderer to
> access the JavaScript - besides that compressing/merging would still be
> missing then. Thus, the render() method is used with a simplified helper
> template to extract the accordant resources... phew...
> 
> Notes:
> Since this affects IRRE only, I could commit this directly to SVN. But I
> still wanted to have at least one comment on the patch. Thanks!
> 
> olly



More information about the TYPO3-team-core mailing list