<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to display subwidget&amp;apos;s label of a widget List when empty in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-display-subwidget-apos-s-label-of-a-widget-list-when/m-p/313999#M1000</link>
    <description>&lt;P&gt;Hi,
When there are no values to display in view mode, the widget will not show subwidget labels. You can always take example on the original xhtml template to reference a custom template changing the behaviour.
Depending on your target version, you can find the original file at &lt;A href="https://github.com/nuxeo/nuxeo/blob/release-8.10/nuxeo-jsf/nuxeo-platform-forms-layout-client/src/main/resources/web/nuxeo.war/widgets/js_list_widget_template.xhtml" target="test_blank"&gt;https://github.com/nuxeo/nuxeo/blob/release-8.10/nuxeo-jsf/nuxeo-platform-forms-layout-client/src/main/resources/web/nuxeo.war/widgets/js_list_widget_template.xhtml&lt;/A&gt;  for 8.10 for instance.
Note l.59:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;ui:fragment rendered="#{displaySubLabels and (isEditMode or not empty fieldOrValue)}"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I suggest that you rename the template to avoid overriding the behaviour of the widget in all cases.&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2017 17:07:46 GMT</pubDate>
    <dc:creator>Anahide_Tchertc</dc:creator>
    <dc:date>2017-05-11T17:07:46Z</dc:date>
    <item>
      <title>How to display subwidget&amp;apos;s label of a widget List when empty</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-display-subwidget-apos-s-label-of-a-widget-list-when/m-p/313998#M999</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I am trying to change the display of one widget. Here is my configuration on studio:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Widget type "List" - Display "Table" on a complex multivalued field. With "Hide Label" checked and "Hide subwidgets labels" at "No".&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Here is what I see when i log on to the plateform:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;View mode (all i can see is a bar, not showing the user there's tons of things to fill in here)
&lt;span class="lia-inline-image-display-wrapper" image-alt="View mode"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1979iF5E2231112D23C29/image-size/large?v=v2&amp;amp;px=999" role="button" title="View mode" alt="View mode" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Edit mode (here is what I would like to have on view mode! Well without the "Add" button of )
&lt;span class="lia-inline-image-display-wrapper" image-alt="Edit mode"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1982iD8D613FAF93452E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Edit mode" alt="Edit mode" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I would like to see on view mode, even when my field is empty, subwidgets labels.&lt;/P&gt;
&lt;P&gt;How can I achieve that ? Is there an existing "custom properties" for this ?&lt;/P&gt;
&lt;P&gt;Thank for your answer.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 16:26:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-display-subwidget-apos-s-label-of-a-widget-list-when/m-p/313998#M999</guid>
      <dc:creator>Mathilde_Viveri</dc:creator>
      <dc:date>2017-05-11T16:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to display subwidget&amp;apos;s label of a widget List when empty</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-display-subwidget-apos-s-label-of-a-widget-list-when/m-p/313999#M1000</link>
      <description>&lt;P&gt;Hi,
When there are no values to display in view mode, the widget will not show subwidget labels. You can always take example on the original xhtml template to reference a custom template changing the behaviour.
Depending on your target version, you can find the original file at &lt;A href="https://github.com/nuxeo/nuxeo/blob/release-8.10/nuxeo-jsf/nuxeo-platform-forms-layout-client/src/main/resources/web/nuxeo.war/widgets/js_list_widget_template.xhtml" target="test_blank"&gt;https://github.com/nuxeo/nuxeo/blob/release-8.10/nuxeo-jsf/nuxeo-platform-forms-layout-client/src/main/resources/web/nuxeo.war/widgets/js_list_widget_template.xhtml&lt;/A&gt;  for 8.10 for instance.
Note l.59:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;ui:fragment rendered="#{displaySubLabels and (isEditMode or not empty fieldOrValue)}"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I suggest that you rename the template to avoid overriding the behaviour of the widget in all cases.&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 17:07:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-display-subwidget-apos-s-label-of-a-widget-list-when/m-p/313999#M1000</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2017-05-11T17:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to display subwidget&amp;apos;s label of a widget List when empty</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-display-subwidget-apos-s-label-of-a-widget-list-when/m-p/314000#M1001</link>
      <description>&lt;P&gt;Thanks for your answer, I'll try that !&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 07:55:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-display-subwidget-apos-s-label-of-a-widget-list-when/m-p/314000#M1001</guid>
      <dc:creator>Mathilde_Viveri</dc:creator>
      <dc:date>2017-05-12T07:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to display subwidget&amp;apos;s label of a widget List when empty</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-display-subwidget-apos-s-label-of-a-widget-list-when/m-p/314001#M1002</link>
      <description>&lt;P&gt;Tried it and it's working, thanks !&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 10:02:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-display-subwidget-apos-s-label-of-a-widget-list-when/m-p/314001#M1002</guid>
      <dc:creator>Mathilde_Viveri</dc:creator>
      <dc:date>2017-05-12T10:02:11Z</dc:date>
    </item>
  </channel>
</rss>

