fields icon indicating copy to clipboard operation
fields copied to clipboard

Documentation Theming of f:table is unclear/missleading

Open zbubric opened this issue 8 years ago • 1 comments

According f:table documentation page (http://grails-fields-plugin.github.io/grails-fields/snapshot/ref/Tags/table.html), f:table tag accepts 'theme' attribute as other tags.žHowever, it is quite unclear where _table template should be stored(docs mentioning that "When theme is specified, the _display template will be searched first in theme." which is quite unclear. Also, I suppose that further clarification of how to use themes for _list templates is also needed.

zbubric avatar Sep 13 '17 16:09 zbubric

As far as I understand from the code, table tempate path is hardcoded so I suppose that 'theme' attr is not chaning anything: https://github.com/grails-fields-plugin/grails-fields/blob/485fa774c2394ae067a467bfe4b4713a97b01bb6/grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy#L246

zbubric avatar Sep 13 '17 16:09 zbubric