Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-485

Custom layout should keep default class for each column

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.4, 2.1
    • Component/s: Layouts & Widgets

      Description

      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 ?

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: