<?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: Get property value from AlflistView don't work in a widget Checkbox in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-property-value-from-alflistview-don-t-work-in-a-widget/m-p/311962#M265092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The CheckBox is a form control and usually not used for rendering data in a table-like structure. As such it does not support getting the value from the current list item on its own. For display purposes you may use the alfresco/renderers/Boolean widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Oct 2016 13:01:00 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2016-10-11T13:01:00Z</dc:date>
    <item>
      <title>Get property value from AlflistView don't work in a widget Checkbox</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-property-value-from-alflistview-don-t-work-in-a-widget/m-p/311961#M265091</link>
      <description>Hi, I would like to get property value form AlfListWiev in a widget Checkbox.Example: {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "alfresco/lists/views/AlfListView",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; config: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; currentData: {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; items: [ { value: "true"}, { value: "false"} ]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; additiona</description>
      <pubDate>Tue, 11 Oct 2016 09:06:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-property-value-from-alflistview-don-t-work-in-a-widget/m-p/311961#M265091</guid>
      <dc:creator>tansadio</dc:creator>
      <dc:date>2016-10-11T09:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get property value from AlflistView don't work in a widget Checkbox</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-property-value-from-alflistview-don-t-work-in-a-widget/m-p/311962#M265092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The CheckBox is a form control and usually not used for rendering data in a table-like structure. As such it does not support getting the value from the current list item on its own. For display purposes you may use the alfresco/renderers/Boolean widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 13:01:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-property-value-from-alflistview-don-t-work-in-a-widget/m-p/311962#M265092</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-10-11T13:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get property value from AlflistView don't work in a widget Checkbox</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-property-value-from-alflistview-don-t-work-in-a-widget/m-p/311963#M265093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just want to elaborate on &lt;B&gt;Axel Faust&lt;/B&gt;​'s answer which is correct... everything in the "alfresco/renderers" package is broadly for use within an &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/AlfListView.html" rel="nofollow noopener noreferrer"&gt;AlfListView&lt;/A&gt;​ widget. The idea is that the &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/AlfList.html" rel="nofollow noopener noreferrer"&gt;AlfList&lt;/A&gt;​ retrieves multiple items that are then iterated over and the model provided for the &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/AlfListView.html" rel="nofollow noopener noreferrer"&gt;AlfListView&lt;/A&gt;​ is re-rendered for each item. So as suggested the &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/Boolean.html" rel="nofollow noopener noreferrer"&gt;Boolean&lt;/A&gt;​ renderer is the best widget for showing true/false data (if you review the linked JSDoc you'll see example of how it can be configured to work with different data values). This &lt;A href="https://github.com/Alfresco/Aikau/blob/develop/tutorial/chapters/Tutorial6.md" rel="nofollow noopener noreferrer"&gt;tutorial chapter&lt;/A&gt; covers the basic concepts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/CheckBox.html" rel="nofollow noopener noreferrer"&gt;Checkbox&lt;/A&gt;​ widget is for rendering a single property of form data and is intended to be used within a &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/Form.html" rel="nofollow noopener noreferrer"&gt;Form&lt;/A&gt;​ widget. This &lt;A href="https://github.com/Alfresco/Aikau/blob/develop/tutorial/chapters/Tutorial7.md" rel="nofollow noopener noreferrer"&gt;tutorial chapter&lt;/A&gt; covers basic form configuration (within the context of a dialog)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cross-over between the list and form approaches meets with the &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/InlineEditProperty.html" rel="nofollow noopener noreferrer"&gt;InlineEditProperty&lt;/A&gt;​ - this is a renderer which has an edit mode that contains a form with a form control for the property being edited. The &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/InlineEditProperty.html" rel="nofollow noopener noreferrer"&gt;InlineEditProperty&lt;/A&gt; renders a &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/TextBox.html" rel="nofollow noopener noreferrer"&gt;TextBox&lt;/A&gt; and the &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/InlineEditSelect.html" rel="nofollow noopener noreferrer"&gt;InlineEditSelect&lt;/A&gt;​ (which extends it) renders a &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/Select.html" rel="nofollow noopener noreferrer"&gt;Select&lt;/A&gt;. You could create a custom widget that extends &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/InlineEditProperty.html" style="text-decoration: underline;" rel="nofollow noopener noreferrer"&gt;InlineEditProperty&lt;/A&gt; to render a &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/CheckBox.html" style="text-decoration: underline;" rel="nofollow noopener noreferrer"&gt;Checkbox&lt;/A&gt; form control (if you want to provide inline editing of boolean data).&lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/InlineEditProperty.html" rel="nofollow noopener noreferrer"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 13:37:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-property-value-from-alflistview-don-t-work-in-a-widget/m-p/311963#M265093</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-10-11T13:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get property value from AlflistView don't work in a widget Checkbox</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-property-value-from-alflistview-don-t-work-in-a-widget/m-p/311964#M265094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnks a lot&amp;nbsp; &lt;B&gt;Dave Draper&lt;/B&gt;&lt;B&gt;Axel Faust&lt;/B&gt;, Your answer was most helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 09:10:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-property-value-from-alflistview-don-t-work-in-a-widget/m-p/311964#M265094</guid>
      <dc:creator>tansadio</dc:creator>
      <dc:date>2016-10-12T09:10:49Z</dc:date>
    </item>
  </channel>
</rss>

