Ok, that just shows the value.
I found something wrong in the view.html.php of that view.
In the view.html.php I have:
$lists['enum']['FOREIGN_TABLE.FIELD'] = MYCOMPONENTHelper::enumList('FOREIGN_TABLE', 'FIELD');
and in the view I have:
<?php echo JDom::_('html.fly.enum', array(
'dataKey' => '_DATABASE_LABEL_FOREIGN_FIELD',
'dataObject' => $this->ITEMVIEW,
'list' => $this->lists['enum']['THISTABLE.FOREIGN_TABLE_ID'],
'listKey' => 'value',
'labelKey' => 'text'
));
?>
the:
'list' => $this->lists['enum']['THISTABLE.FOREIGN_TABLE_ID']
it's wrong. it should be:
'list' => $lists['enum']['FOREIGN_TABLE.FIELD']