joomla/joomla-cms — pull request #2193 by phproberto (2013-10-10 00:57:05+00:00)
Title: [imp] Fields layouts: convert JFormFieldList

This opens the way to follow to start using layouts to render fields. This would allow override fields in templates i.e.

You can customise the layouts specifically also for a field instance with the `layout` attribute. Example:

```xml

COM_CONFIG_FIELD_VALUE_CACHE_OFF

COM_CONFIG_FIELD_VALUE_CACHE_CONSERVATIVE

COM_CONFIG_FIELD_VALUE_CACHE_PROGRESSIVE

```

That will render a `list` field but instead of using the standard `joomla.form.field.list` it would use the layout `field.mylayout`. This is useful for example if we want to add some AJAX logic. Instead of creating our own field we just create a custom layout.

Also for the recent chosen issues this would allow us to add a class to every single select field (something not recommendable :D )