[TYPO3-dev] IRRE reload onChange

Dan Osipov dosipov at phillyburbs.com
Wed Oct 15 21:07:15 CEST 2008


I filed a bug report for this feature:
http://bugs.typo3.org/view.php?id=9562

I will happily submit a patch, but I want to get your ideas first. What 
could be the downside of this? Any problems that can be foreseen?

Dan Osipov
Calkins Media
http://danosipov.com/blog/

Dan Osipov wrote:
> I have a table set up for use in IRRE. It has two fields that are 
> displayed, with the following TCA configuration:
>         "widget_id" => Array (
>             "label" => "Widget",
>             "config" => Array (
>                 "type" => "select",
>                 "foreign_table" => "tx_widget",
>                 "foreign_table_where" => " AND 
> tx_widget.type='###REC_FIELD_type###'",
>                 "maxitems" => 1,
>             )
>         ),
>         "type" => Array (
>             "exclude" => 1,
>             "label" => "Type",
>             "config" => Array(
>                 "type" => "select",
>                 "itemsProcFunc" => 
> "tx_widget_addFieldsToFlexForm->listWidgets",
>             )
>         ),
> 
> What I want to happen, is that upon selecting the "Type" from a list, 
> the "widget_id" field is updated with the results from the DB. Can that 
> be done - preferably using AJAX?
> 




More information about the TYPO3-dev mailing list