Custom layout should keep default class for each column
-------------------------------------------------------
Key: NXS-485
URL: https://jira.nuxeo.com/browse/NXS-485
Project: Nuxeo Studio
Issue Type: Bug
Components: Layouts
Affects Versions: 2.0.3
Reporter: Thierry Martins
Priority: Major
Fix For: 2.0.4
For example the label column doesn't have its default class: labelColumn
A default layout has
<td class="labelColumn">
<h:outputText value="#{messages[widget.label]}" />
</td>
but the one from Studio has no class for the TD tag
<td
colspan="#{nxu:test(widgetIndex==0,
labelRenderingColspan-renderingColspanMin, labelRenderingColspan)}">
<b>
<h:outputText value="#{messages[widget.label]}"
styleClass="#{nxu:test(widget.required and
isEditMode, 'required', '')}" />
</b>
</td>
As a consequence, the display for required fields is bad, with the star stuck
to the label.
Moreover, is it possible to remove the tag B and use the default class
labelColumn instead ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets