<?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: Date Validation in Aikau widget in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287953#M241083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I provided links earlier in this thread... there's a &lt;A href="https://www.youtube.com/watch?v=LeU87i4jNzI" rel="nofollow noopener noreferrer"&gt;video&lt;/A&gt; and you can review the examples in the &lt;A href="https://github.com/Alfresco/Aikau/blob/4b3714b846fc34ac21ab4c661de7fce8c621d276/aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/lists/FilteredList.get.js" rel="nofollow noopener noreferrer"&gt;unit test application&lt;/A&gt;. The &lt;A _jive_internal="true" href="https://community.alfresco.com/community/ecm/blog/2016/09/21/aikau-1087-people-page-libraries" rel="nofollow noopener noreferrer"&gt;people page example&lt;/A&gt; I also provided uses it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Oct 2016 09:36:46 GMT</pubDate>
    <dc:creator>ddraper</dc:creator>
    <dc:date>2016-10-25T09:36:46Z</dc:date>
    <item>
      <title>Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287931#M241061</link>
      <description>Hello Guys,I have a very basic requirement for which I am using Aikau widgets to develop.The requirement is to have a form based selection of 'FROM' and 'To' dates. I am able to populate the Date textbox using "alfresco/forms/controls/DateTextBox" widget. However, I need to put a validation in which</description>
      <pubDate>Tue, 01 Mar 2016 08:01:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287931#M241061</guid>
      <dc:creator>anshu_kumar</dc:creator>
      <dc:date>2016-03-01T08:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287932#M241062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible to configure a variety of validation behaviours for form controls, but at the time of writing (when the latest release of Aikau is version 1.0.85) it is not possible to achieve what you require ... if you're reading this at any point onwards from Sept 15th 2016 then you might want to check what is available in later releases!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally we would actually have some kind of range picker available in Aikau out-of-the-box for you to use and in the future we may have one. However, for the time being I think that your best option is to extend the existing &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/DateTextBox.html" rel="nofollow noopener noreferrer"&gt;DateTextBox&lt;/A&gt; widget and add an additional validator function that you can reference in your "validationConfig" for each form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The approach I would take would be to extend the postMixInProperties function to create a subscription to the changes in value of the other date fields (I would make this a configurable option) to keep track of the value of that field and then add a validator function that ensures that the field is before or after the date value of the other field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This &lt;A href="https://github.com/Alfresco/Aikau/pull/1241/commits/3805064f3784dcbfef0ba96bc2dc2f646839cb1b" rel="nofollow noopener noreferrer"&gt;commit&lt;/A&gt; to the Password widget shows how this approach might be made (this commit added the ability to confirm that one password field matched another, in your case you'd want to confirm that one Date was before or after another).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully that makes, sense - please reply if you need more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 10:33:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287932#M241062</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-09-15T10:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287933#M241063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI: I've just implemented a DateRange widget which will be available from the 1.0.91 Aikau release... see this pull request: &lt;A href="https://github.com/Alfresco/Aikau/pull/1255" title="https://github.com/Alfresco/Aikau/pull/1255" rel="nofollow noopener noreferrer"&gt;AKU-1014: Added DateRange widget mapping by draperd · Pull Request #1255 · Alfresco/Aikau · GitHub&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 13:36:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287933#M241063</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-10-13T13:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287934#M241064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;Dave Draper&lt;/B&gt;​&lt;/P&gt;&lt;P&gt;I have some issue with DateTextBox. When i use chrome inspect code, i don't arrive to get value DateTexBox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, can you explain me, how i get value DateTextBox widget aikau?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 15:02:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287934#M241064</guid>
      <dc:creator>tansadio</dc:creator>
      <dc:date>2016-10-20T15:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287935#M241065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't quite understand the question... what exactly are you trying to do? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get the value of a DateBox programmatically then you can call the getValue() function, however you would normally expect to use the DateTextBox in a Form and it's value would automatically be included in the payload published when submitting the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're trying to find the code to get the value in the DateTextBox source then you won't it directly as all form controls inherit from the BaseFormControl widget so quite a lot of the form control functionality is defined there (or in the associated modules that are also mixed into it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're looking to find the source of DateTextBox itself in the Chrome inspector then you won't find it as a single resource because Surf aggregates all of the widgets source files together into a single resource to reduce HTTP handshaking. The fastest way to get to this source file is to use CTRL-P within the inspector and type "surf" - the first result is usually the Aikay source file - you'd be able to find the DateTextBox source within it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 15:26:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287935#M241065</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-10-20T15:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287936#M241066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. &lt;/P&gt;&lt;P&gt;For example, I have Two widgets DateTextBox and my question is how i get widget value filterDateFrom in filterDateTo ?&lt;/P&gt;&lt;P&gt;/* Found in pages folder*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var filterDateFrom = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; name: "alfresco/forms/controls/DateTextBox",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; config: {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; fieldId: "INVOICE_DATE_FROM",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "filterInvoiceDateFrom",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value: "2016-01-01",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label: "title.invoiceDateFrom",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; description: "label.description.from",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;var filterDateTo = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; name: "alfresco/forms/controls/DateTextBox",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; config: {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; fieldId: "INVOICE_DATE_TO",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "filterInvoiceDateTo",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value: "2016-12-31",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label: "title.invoiceDateTo",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; description: "label.description.to",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;model.jsonModel = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; services: [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Here module services&lt;/P&gt;&lt;P&gt;&amp;nbsp; ]&lt;/P&gt;&lt;P&gt; Widgets:[&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Here my widget&lt;/P&gt;&lt;P&gt; ]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Found in widget folder*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define(["dojo/_base/declare",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dijit/_WidgetBase",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/_base/lang",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "alfresco/core/Core",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "alfresco/core/CoreXhr",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "alfresco/core/CoreWidgetProcessing",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/dom-construct",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/dom",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/query",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "service/constants/Default"],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function(declare, _Widget, lang, Core, AlfCoreXhr, CoreWidgetProcessing, domConstruct, dom, query, AlfConstants) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; return declare([_Widget, Core, AlfCoreXhr, CoreWidgetProcessing], {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; constructor: function _constructor(args) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lang.mixin(this, args);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.alfSubscribe("_valueChangeOf_INVOICE_DATE_TO", lang.hitch(this, "_onPayloadReceiveInvoiceDateTO"));&lt;/P&gt;&lt;P&gt;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp; _onPayloadReceiveInvoiceDateTO: function gfp_services__getAllInvoice(payload) {&lt;/P&gt;&lt;P&gt;&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; var dateFrom= (dojo.query("input[name=\"filterInvoiceDateFrom\"]")[0]).value;//Content from DateFrom&lt;/P&gt;&lt;P&gt;&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; console.log(dateFrom); // I WANT TO SHOW THE VALUE FROM DATEFROM WIDGET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 16:27:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287936#M241066</guid>
      <dc:creator>tansadio</dc:creator>
      <dc:date>2016-10-20T16:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287937#M241067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not just use the &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/DateRange.html" rel="nofollow noopener noreferrer"&gt;DateRange&lt;/A&gt; widget (you'll need Aikau 1.0.91 onwards)? This single form control provides two &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/DateTextBox.html" rel="nofollow noopener noreferrer"&gt;DateTextBox&lt;/A&gt; widgets for selecting a date range (with validation to ensure that the "from" date is before the "to" date). A single value is returned with a custom delimiter to split the date values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 17:52:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287937#M241067</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-10-20T17:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287938#M241068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;Dave Draper&lt;/B&gt;​&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp; just coming to change my version Aikau to Aikau 1.0.91 and I have the same problem to access to the value widget in Dojo. I rephrase my question. How get value widget in another widget with aikau.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for my english.&lt;/P&gt;&lt;P&gt;Thanks for advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 09:11:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287938#M241068</guid>
      <dc:creator>tansadio</dc:creator>
      <dc:date>2016-10-21T09:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287939#M241069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK... I think you're approaching this problem incorrectly...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain to me where the bottom section of code is from exactly? You really shouldn't be trying to use dojo.query to find the widgets... to start with, it won't actually be returning the widgets at all (just fragments of the DOM) so you won't be able to call their functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I really need to see the full source (of both your model and your custom widget/service code) and to understand the use case that you're trying to solve in order to be able to help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 09:33:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287939#M241069</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-10-21T09:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287940#M241070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm wondering how i can get the value with dojo module Dom or Query in aikau module widget or sevice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the screenshot:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/10382_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 12:50:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287940#M241070</guid>
      <dc:creator>tansadio</dc:creator>
      <dc:date>2016-10-21T12:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287941#M241071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I understand that ... the point is you probably shouldn't be...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really want to take this approach (and I strongly don't recommend it) then you actually want to be using the &lt;A href="https://dojotoolkit.org/reference-guide/1.10/dijit/registry.html" rel="nofollow noopener noreferrer"&gt;Dijit registry&lt;/A&gt; as this will actually find you the widget on which you can call the getValue function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, as I say this is not a sensible approach to take. What I don't understand is why you don't have a reference to you the widgets and what you're hoping to do with the data when you get it. Like I said before, if you explain the use case (as in the steps that the user is going to go through to work with the UI that you're implementing) then I may be able to help guide you on a better implementation. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 12:54:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287941#M241071</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-10-21T12:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287942#M241072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my subject(summary):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, i have some widget to filter AlfListView( TextBox, Select, DateTextBox, etc...).&lt;/P&gt;&lt;P&gt;Then, When The widget TextBox change, I get he value with&amp;nbsp; PublishTopic and i want acces to the value Select or DateTextBox in function that catch PublishTopi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 13:18:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287942#M241072</guid>
      <dc:creator>tansadio</dc:creator>
      <dc:date>2016-10-21T13:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287943#M241073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have a difficult to get value widget TextBox and Select with Dojo module dom or query. But Impossible to make same way with DateTextBox. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have test with Dojo DatetextBox and that works perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 13:31:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287943#M241073</guid>
      <dc:creator>tansadio</dc:creator>
      <dc:date>2016-10-21T13:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287944#M241074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, so in that case why not use the &lt;A href="https://dev.alfresco.com/resource/docs/aikau-jsdoc/AlfFilteredList.html" rel="nofollow noopener noreferrer"&gt;AlfFilteredList&lt;/A&gt;​ to contain your AlfListView... this extends the basic list capabilities to allow you to provide form control widgets to indicate how the widget should be filtered (using the widget) attribute. This &lt;A href="https://www.youtube.com/watch?v=LeU87i4jNzI" rel="nofollow noopener noreferrer"&gt;video&lt;/A&gt; shows how you can used this widget for filtering (it is a demonstration of how to build up a page).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would probably be a better approach to filtering a list. There are further examples of using this in the Aikau unit test application - the controller can be found &lt;A href="https://github.com/Alfresco/Aikau/blob/4b3714b846fc34ac21ab4c661de7fce8c621d276/aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/lists/FilteredList.get.js" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 13:32:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287944#M241074</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-10-21T13:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287945#M241075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason for it not working with the DateTextBox is because of where the data is stored in the widget - as opposed to in the DOM with those other widgets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 13:33:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287945#M241075</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-10-21T13:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287946#M241076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;B&gt;Dave Draper&lt;/B&gt;​ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; I'm coming to get value Widget DateTextBox. Thanks for your help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 13:40:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287946#M241076</guid>
      <dc:creator>tansadio</dc:creator>
      <dc:date>2016-10-21T13:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287947#M241077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 13:41:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287947#M241077</guid>
      <dc:creator>tansadio</dc:creator>
      <dc:date>2016-10-21T13:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287948#M241078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;Dave Draper&lt;/B&gt;​,&lt;/P&gt;&lt;P&gt;I'll come back at you. I used AlfFilteredList to contain my AlfListView and I define some widget like (TextBox, FilteringSelect, DateRange) in property widgetsForFilters (ALfFilteredList) and evrything work perfectly about filter but when i add widget Paginator after AlfFilteredList that's give some problem during the click on button forwad paginator the request reload my page twice.&lt;/P&gt;&lt;P&gt;First when my page load this code run:&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "alfresco/lists/AlfFilteredList",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; config:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; loadDataPublishTopic: "ALF_CRUD_GET_ALL",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; loadDataPublishPayload: {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url: "ceri/supplierfolder",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemsProperty: "alldocument",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "alfresco/lists/Paginator",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; config: {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; documentsPerPage: 5,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pageSizes: [3, 5,10],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not understand why my page is twice reloaded. The red is call when i click on button forward paginator and answer realod page and call the blue request.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10404" alt="forward.PNG" class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/10404_forward.PNG" style="width: 620px; height: 154px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 08:04:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287948#M241078</guid>
      <dc:creator>tansadio</dc:creator>
      <dc:date>2016-10-25T08:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287949#M241079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of the main issues I encountered when developing Aikau is the inconsistency in the schema of the REST APIs that Alfresco had originally developed (this is subsequently being addressed with the new versionable APIs that are being developed). One of the issues is how pagination data is handled - for example, sometimes the API is expecting "pageSize" and "page" parameters, sometimes it is expecting "skipCount" and "maxItems", sometimes it's expecting "startIndex", etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is one of the reasons why Aikau has separate services for requesting data - because they can normalize the data into a consistent schema that the widgets expect. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would definitely be worth checking that the API you're using supports the pagination parameters that you're passing... it might be that you're not able to use the CrudService and that you need to have a custom service. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you calling a custom API that you've written or is it an Alfresco API? Does it definitely handle pagination? What parameters is it expecting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why you're getting an error I can't be sure - I'd usually recommend breaking on exceptions in the debugger and/or stepping through the loadData functon and subsequent function calls to understand what is happening.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 08:17:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287949#M241079</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-10-25T08:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Date Validation in Aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287950#M241080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont' know why i encountered this problem. I have a custom api that i call via&amp;nbsp; loadDataPublishTopic: "ALF_CRUD_GET_ALL" and the response of my api return Json data contain ("totalRecords": 6,&amp;nbsp; "startIndex": 0, &lt;SPAN style="color: #727174; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;alldocument: [...]&lt;/SPAN&gt;). &lt;/P&gt;&lt;P&gt;I don't know how i can resolve this today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need more help please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 09:23:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-validation-in-aikau-widget/m-p/287950#M241080</guid>
      <dc:creator>tansadio</dc:creator>
      <dc:date>2016-10-25T09:23:13Z</dc:date>
    </item>
  </channel>
</rss>

